Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nur Fehlermeldungen auf Englisch
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1754

PostPosted: Wed Feb 20, 2013 9:20 am    Post subject: nur Fehlermeldungen auf Englisch Reply with quote

Hallo,

wie bekomme ich trotz deutscher Lokalisierungen die Fehler von Programmen und ebuilds auf Englisch ausgegeben. Habe bisher nur gefunden LC_all temporär auf Englisch umzustellen.

Ich hätte gerne eine permanente Lösung.
Back to top
View user's profile Send private message
mvaterlaus
Apprentice
Apprentice


Joined: 01 Oct 2010
Posts: 234
Location: Switzerland

PostPosted: Wed Feb 20, 2013 11:13 am    Post subject: Reply with quote

hi, versuch mal in der datei /etc/conf.d/02locale (erstellen, falls sie noch nicht existiert) folgende sachen zu definieren:
Code:

LANG=de_DE.UTF-8                   #alle LC_Variablen auf Deutsch setzen (fallback, wenn die LC_* einer sektion nicht definiert ist
LC_MESSAGES="en_US.UTF-8"  #sektion LC_MESSAGES auf english


wenn du dies in der oben angegebenen datei machst, änderst du die locales für jeden benutzer des systems.
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Thu Feb 21, 2013 9:09 pm    Post subject: Re: nur Fehlermeldungen auf Englisch Reply with quote

Tinitus wrote:
Hallo,
Ich hätte gerne eine permanente Lösung.


tux env.d # cat 02locale wrote:

LANG="de_DE.UTF-8"
GDM_LANG="de_DE.UTF-8"
LC_COLLATE="C"


das ergibt:
tux env.d # locale wrote:

LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE=C
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=


LC_ALL darf NICHT gesetzt sein.

Grüße
Ma
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1754

PostPosted: Fri Feb 22, 2013 6:56 pm    Post subject: Re: nur Fehlermeldungen auf Englisch Reply with quote

Marlo wrote:
Tinitus wrote:
Hallo,
Ich hätte gerne eine permanente Lösung.


tux env.d # cat 02locale wrote:

LANG="de_DE.UTF-8"
GDM_LANG="de_DE.UTF-8"
LC_COLLATE="C"


das ergibt:
tux env.d # locale wrote:

LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE=C
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=


LC_ALL darf NICHT gesetzt sein.

Grüße
Ma


Hallo,

kann Dir jetzt nicht folgen. Also Dein Beispiel würde die (Fehler)Meldungen auf Englisch bringen?
Theoretisch könnte ja auch alles auf Englisch sein. Die Gui -Programme sind ja dann Deutsch unter gnome, oder?
Back to top
View user's profile Send private message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1754

PostPosted: Wed Aug 14, 2013 1:10 pm    Post subject: Reply with quote

Hallo habe gerade gefunden:

nano /etc/portage/bashrc

Code:

export LC_ALL="C"
export LANG="C"


Nun scheint es zu klappen.
Back to top
View user's profile Send private message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2229
Location: My own world! I and Gentoo!

PostPosted: Wed Aug 14, 2013 2:46 pm    Post subject: Reply with quote

Wenn es nur um Portage gehen soll kannst du entweder wie Tinitus vorschlug vorgehn. oder aber LC_MESSAGE kann auch in der make.conf gesetzt werden ^^
_________________
mfg
Steel
___________________

Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2)
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2280
Location: Adendorf, Germany

PostPosted: Wed Aug 28, 2013 7:25 am    Post subject: Reply with quote

Dieses Problem zog weite Kreise. Daher nun:
eselect news read 18 wrote:
2013-08-23-emerge-language
Title Language of messages in emerge logs and output
Author Andreas K. Huettel <dilfridge@gentoo.org>
Posted 2013-08-23
Revision 1

As of today, messages and logs of emerge do not use the system
locale anymore but default to English. The intention behind this
is to ease the work of bug wranglers and package maintainers,
who may have a hard time reading build logs in foreign
languages. This change only affects the language of messages
in emerge output, nothing else.

If you really want to have e.g. localized compiler error messages
in your builds, set LC_MESSAGES in your /etc/portage/make.conf.
Note that submitting localized build logs to the Gentoo Bugzilla
is discouraged. If maintainers are unable to translate the
necessary information from the build log, your bug may be closed
as NEEDINFO and you may be asked to re-open it submitting an
English build log [1] before any further action can be taken.

For more details with respect to localization, see
https://wiki.gentoo.org/wiki/Localization/HOWTO

[1] LC_MESSAGES=C emerge ...
Das ist doch mal was, oder?
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum