Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] LINGUAS, L10N, and local-gen
Date: Fri, 24 Jun 2016 20:31:51
Message-Id: 576D98AC.9090909@gmail.com
In Reply to: Re: [gentoo-user] LINGUAS, L10N, and local-gen by Dale
1 On 24/06/2016 22:09, Dale wrote:
2 > allan gottlieb wrote:
3 >> On Fri, Jun 24 2016, Alan McKinnon wrote:
4 >>
5 >>> On 24/06/2016 16:06, allan gottlieb wrote:
6 >>>> Having read the latest news article and rereading parts of the
7 >>>> localization guide, it is not clear to me what action, if any, I need to
8 >>>> take.
9 >>>>
10 >>>> My systems are US English only
11 >>>>
12 >>>> /etc/portage/make.conf has
13 >>>> LINGUAS="en"
14 >>>>
15 >>>> /etc/local.gen has just comments plus
16 >>>> en_US ISO-8859-1
17 >>>> en_US.UTF-8 UTF-8
18 >>>>
19 >>>> Should I add
20 >>>> L10N="en-US"
21 >>>> to /etc/portage/make.conf ?
22 >>>>
23 >>>> Should I run local-gen ?
24 >>>>
25 >>>> Thanks
26 >>>> allan
27 >>>>
28 >>> Add
29 >>>
30 >>> L10N="en" to make.conf
31 >> Thanks. Done. Update world just generated
32 >>
33 >> [ebuild R ] app-text/texlive-2014 L10N="en*"
34 >>
35 >> all seems well. Thanks again.
36 >> allan
37 >>
38 >>
39 >
40 > While I added what Alan posted, I also had to leave the others. The
41 > relevant part of my make.conf looks like this:
42 >
43 > LANG="en_US"
44 > LC_ALL="en_US.UTF8"
45 > LINGUAS="en_US"
46 > L10N="en en_US"
47
48 L10N="en en-US"
49
50
51 local derivatives of languages like en_GB, en_za have been tweaked
52 according to the referenced new standard. Mostly it's little more than
53 s/_/-/g
54
55 LINGUAS and L10N must always logically match
56
57
58 >
59 > I tried to comment out the others but emerge always came back wanting to
60 > remove some language.
61 >
62 > YMMV
63 >
64 > Dale
65 >
66 > :-) :-)
67 >