1 |
2015-05-29 10:08 GMT+03:00 Volker Armin Hemmann <volkerarmin@××××××××××.com>: |
2 |
> just set LANGUAGE and LC_ALL. |
3 |
|
4 |
This does not work. Just tried to be sure. |
5 |
|
6 |
> 2015-05-29 6:35 GMT+02:00 Gevisz <gevisz@×××××.com>: |
7 |
>> |
8 |
>> On Thu, 28 May 2015 20:07:55 -0400 Mike Gilbert <floppym@g.o> |
9 |
>> wrote: |
10 |
>> |
11 |
>> > On Thu, May 28, 2015 at 6:41 PM, Volker Armin Hemmann |
12 |
>> > <volkerarmin@××××××××××.com> wrote: |
13 |
>> > > Am 28.05.2015 um 17:35 schrieb gevisz: |
14 |
>> > >> In my everyday work at the computer, I read |
15 |
>> > >> and type at three or even four different languages. |
16 |
>> > >> |
17 |
>> > >> However, I do want to have all program menues |
18 |
>> > >> and system messages only in English. |
19 |
>> > >> |
20 |
>> > >> So, when I found out that it can be achieved by |
21 |
>> > >> setting -nls USE flag at my make.conf file, I did |
22 |
>> > >> it, recompiled the system and for a few weeks |
23 |
>> > >> enjoyed the full control of my Gentoo system. |
24 |
>> > >> |
25 |
>> > >> (As far as I can remember the gettext package |
26 |
>> > >> was successfully depcleaned from my Gentoo |
27 |
>> > >> system just after that.) |
28 |
>> > >> |
29 |
>> > >> However, after those few weeks (and some system |
30 |
>> > >> updates), I have noticed that my system started |
31 |
>> > >> to translate some "system" messages into one of |
32 |
>> > >> the languages I use but which is not my native language. |
33 |
>> > >> |
34 |
>> > >> Moreover, running |
35 |
>> > >> $ equery depends gettext |
36 |
>> > >> I get about two fullscreens of packages that supposedly |
37 |
>> > >> depend on gettext. Nevertheless, in all of them the -nls |
38 |
>> > >> USE flag is either unset or absent. |
39 |
>> > >> |
40 |
>> > >> I have tried to depclean the gettext package from my |
41 |
>> > >> system once again but portage just ignored my |
42 |
>> > >> $ emerge --depclean gettext |
43 |
>> > >> command. |
44 |
>> > >> |
45 |
>> > >> I think that it is some kind of a bug in the portage tree: |
46 |
>> > >> when I set -nls USE flag globally, I do expect that the "system" |
47 |
>> > >> messages will appear in English only and will not be translated |
48 |
>> > >> in any other language, but the system understands that as |
49 |
>> > >> I would have asked for a "non-native" language support. |
50 |
>> > >> |
51 |
>> > >> Of course, this is not my main problem in this life, but every |
52 |
>> > >> time I get the "system" messages translated into my non-native |
53 |
>> > >> language, I feel as I get a reminder that I do not have a full |
54 |
>> > >> control of my Gentoo system. |
55 |
>> > >> |
56 |
>> > >> So, my questions are: |
57 |
>> > >> 1. Is it a bug? |
58 |
>> > >> 2. How can I get rid of those unwelcomed translations in the right |
59 |
>> > >> way. |
60 |
>> > >> |
61 |
>> > >> |
62 |
>> > > |
63 |
>> > > 1. if a package hard depends on gettext, you can fiddle around with |
64 |
>> > > useflags as much as you want, it won't change. Not a bug. Just the way |
65 |
>> > > it is. |
66 |
>> > |
67 |
>> > Sometimes it is a bug and the ebuild doesn't need gettext |
68 |
>> > unconditionally. It takes some expertise to figure that out, however. |
69 |
>> |
70 |
>> I also think so. |
71 |
>> |
72 |
>> > > 2. environment variables. Set them. LANG, LANGUAGE and of course |
73 |
>> > > LC_ALL |
74 |
>> > > |
75 |
>> > |
76 |
>> > I would suggest setting LANG=foo_BAR.UTF-8 and |
77 |
>> > LC_MESSAGES=en_US.UTF-8. Where foo and BAR are your native language |
78 |
>> > and locale. |
79 |
>> |
80 |
>> I have |
81 |
>> # set LC_MESSAGES=en_US.UTF-8 |
82 |
>> but it have not changed anything. |
83 |
>> |
84 |
>> Or shall I change it in some config files and reboot the system? |
85 |
>> |
86 |
>> |
87 |
> |