Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] lokalisierung für einzelne packete ändern
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
merlin2k
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2006
Posts: 126
Location: Hamburg, Germany

PostPosted: Sat Apr 07, 2007 1:14 pm    Post subject: [SOLVED] lokalisierung für einzelne packete ändern Reply with quote

hallo zusammen,

ich habe mein system auf deutsch lokalisiert, und bin damit generell auch zufrieden.
ich möchte aber den gcc/g++ auf englisch haben, da z.B. eclipse cdt die konsolenausgaben parst und diese, wenn sie auf deutsch sind, falsch interpretiert.

wie bekomme ich den gcc auf englisch?

(kann man ähnlich wie für useflags in der package.use vielleicht irgendwo festlegen welche programme mit welchen locales emerged werden?)


Last edited by merlin2k on Sat Apr 07, 2007 2:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
Necoro
Veteran
Veteran


Joined: 18 Dec 2005
Posts: 1912
Location: Germany

PostPosted: Sat Apr 07, 2007 2:08 pm    Post subject: Reply with quote

für die meisten Pakete einfach das Useflag nls deaktivieren. (NLS = Native Language Support)

package.use wrote:
# no nls
sys-devel/gcc -nls
sys-devel/binutils -nls
sys-devel/make -nls
sys-fs/e2fsprogs -nls
sys-devel/flex -nls
sys-libs/timezone-data -nls

_________________
Inter Deum Et Diabolum Semper Musica Est.
Back to top
View user's profile Send private message
arzed
n00b
n00b


Joined: 25 Jan 2006
Posts: 25

PostPosted: Sat Apr 07, 2007 2:09 pm    Post subject: Reply with quote

hallo!

für die englischen konsolenausgaben brauchst du nicht extra neu kompilieren.
lass gcc einfach mit LC_ALL="C" gcc aufrufen, dann verwendet es nicht die deutsche übersetzung sondern die originalsprache.
wo du das in eclipse einstellst, weiß ich leider nicht.
Back to top
View user's profile Send private message
merlin2k
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2006
Posts: 126
Location: Hamburg, Germany

PostPosted: Sat Apr 07, 2007 2:31 pm    Post subject: Reply with quote

cool ihr seid die besten!

ich habe jetzt einfach unter den Projekt einstellungen das "build command" von "g++" auf "LC_ALL="C" g++" geändert.
jetzt kann er auch beim parsen der konsole wieder wörter wie "warning" und "error" finden ohne sich an "Warnung" oder "Fehler" zu stören...

edit: habe aber trotzdem für das nächste mal in meine /etc/portage/package.use ein "sys-devel/gcc -nls" eingetragen

thx
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