More than one Interface Language in Sabayon 5

Installer Issues via Installer -- Not for global upgrades or upgrading individual packages -- ONLY ISSUES WITH INSTALLATION OF THE OS -- Can't get Sabayon installed, than post here, otherwise use correct forums

Moderator: Moderators

More than one Interface Language in Sabayon 5

Postby adXok » Fri Mar 26, 2010 0:55

Hi, there!

I just found Sabayon and gave it a try and I liked it very much so I made a fast install and choose my country (Bulgaria) and then US keyboard layout (because of the passwords and accounts to match my own) and when Sabayon desktop showed up it was in Bulgarian and every window dialog too. I was happy with that. Then i made a big mistake with messing up with the updates and decided to reinstall the whole Sabayon once again.

Unfortunatelly I just clicked Forward, Next, formated the partitions and all of a sudden Sabayon desktop and menus... all now is in English! i made succesful Update of Sabayon this time it went OK 'cause I read on the Internet how I should do it properly.

I tried everything, searched the forum, tried and downloaded some translaition archive ('gnome_bg.biz.tar' or something; bg stands for Bulgarian and I now see that in that archive there are many '.po' files translated into Bulgarian), tried load the session language when Login window comes out... but nothing happens!

It seems that only English is now available on my system (although I can rename icons and files with bulgarian names and letters). So my question is:

How can I install any other language to the interface? Do I have to re-install the whole Sabayon again?!

------------------------------------------

Sabayon 5.1-r1 updated after install Gnome Desktop (DVD .ISO release ≈ 1.6 GB) x32-bits
Intel Pentium IV, 2 GB RAM, nVidia 6200A Video Card, Creative Audigy 5.1

Everything is working fine, I just want to make Sabayon in Bulgarian language as before (the previous test install).
adXok
Baby Hen
 
Posts: 14
Joined: Thu Mar 25, 2010 17:46

Re: More than one Interface Language in Sabayon 5

Postby amoebios » Fri Mar 26, 2010 1:10

i installed german with the package manager (Sulfur) and made 2 accounts: one in english (for me) and one in german (for guests). But i also remember that i had some problems with the Gimp, for example. You may have to set language or locale for gimp or openoffice in a terminal. I hope others can help more on this subject.
User avatar
amoebios
Growing Hen
 
Posts: 168
Joined: Wed Dec 03, 2008 22:25

Re: More than one Interface Language in Sabayon 5

Postby adXok » Fri Mar 26, 2010 9:48

Thank you, amoebios

I do not know if when login-ing in I can put more languages and if I could does that mean it should be only for the login window and not for the session as a whole (onterface and so on). If I can install more language support and choose between them when login-ing in it would be nice.

I just do not want to reinstall once again... but after all that would be the final and general solution.
adXok
Baby Hen
 
Posts: 14
Joined: Thu Mar 25, 2010 17:46

Re: More than one Interface Language in Sabayon 5

Postby micia » Fri Mar 26, 2010 11:18

I once made a similar mistake, I solved it using this guide:
http://www.gentoo.org/doc/en/guide-localization.xml

(the section about "Keyboard layout for the X server" uses deprecated configuration of
the keyboard in the xorg.conf, it is better not to follow it)
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: More than one Interface Language in Sabayon 5

Postby adXok » Fri Mar 26, 2010 11:43

Ok, but there is a change from en_EN to de_De.

Where can I found list for the other languages, or should I guess by analogy: bg_BUL for bulgarian or bg_BG?!? :roll:
I change it to bg without _BG or _BUL. Nothing happens... gotta try more. :P

Code: Select all
sh: warning: setlocale: LC_ALL: cannot change locale (bg_BUL.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (bg_BUL.UTF-8)
>>> Regenerating /etc/ld.so.cache...
sh: warning: setlocale: LC_ALL: cannot change locale (bg_BUL.UTF-8)
bash: warning: setlocale: LC_ALL: cannot change locale (bg_BG.UTF-8): Няма такъв файл или директория
sabayon adxok # env-update && source /etc/profile
sh: warning: setlocale: LC_ALL: cannot change locale (bg_BG.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (bg_BG.UTF-8)
>>> Regenerating /etc/ld.so.cache...
sh: warning: setlocale: LC_ALL: cannot change locale (bg_BG.UTF-8)
bash: warning: setlocale: LC_ALL: cannot change locale (bg.UTF-8)


Still Nothing... :cry:
Last edited by adXok on Fri Mar 26, 2010 11:56, edited 1 time in total.
adXok
Baby Hen
 
Posts: 14
Joined: Thu Mar 25, 2010 17:46

Re: More than one Interface Language in Sabayon 5

Postby micia » Fri Mar 26, 2010 11:47

I would check wikipedia, however I tried:

Code: Select all
[email protected] ~ $ locale -a | grep bg
bg_BG
bg_BG.cp1251
bg_BG.utf8
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: More than one Interface Language in Sabayon 5

Postby adXok » Fri Mar 26, 2010 12:12

Code: Select all
sabayon adxok # locale-gen
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (bg.UTF-8)
* Generating 4 locales (this might take a while) with 1 jobs
*  (1/4) Generating bg_BG.UTF-8...                                                     [ ok ]
*  (2/4) Generating bg_BG.ISO-8859-1...
/usr/share/i18n/locales/bg_BG:161: LC_MONETARY: unknown character in field `currency_symbol'
/usr/share/i18n/locales/bg_BG:196: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/bg_BG:197: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/bg_BG:198: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/bg_BG:199: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/bg_BG:200: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/bg_BG:201: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/bg_BG:202: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/bg_BG:203: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/bg_BG:204: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/bg_BG:205: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/bg_BG:206: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/bg_BG:207: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/bg_BG:208: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/bg_BG:209: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/bg_BG:210: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:211: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:212: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:213: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:214: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:215: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:216: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:217: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:218: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:219: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:220: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:221: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:222: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:223: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:224: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:225: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:226: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:227: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:228: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:229: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:230: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:231: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:232: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:233: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:238: LC_MESSAGES: unknown character in field `yesexpr'
/usr/share/i18n/locales/bg_BG:239: LC_MESSAGES: unknown character in field `noexpr'
/usr/share/i18n/locales/bg_BG:250: LC_NAME: unknown character in field `name_mr'
/usr/share/i18n/locales/bg_BG:251: LC_NAME: unknown character in field `name_ms'
/usr/share/i18n/locales/bg_BG:252: LC_NAME: unknown character in field `name_mrs'
/usr/share/i18n/locales/bg_BG:253: LC_NAME: unknown character in field `name_miss'
LC_MESSAGES: value for field `yesexpr' must not be an empty string
LC_MESSAGES: value for field `noexpr' must not be an empty string                      [ !! ]
*  (3/4) Generating bg_BG.UTF-8...                                                     [ ok ]
*  (4/4) Generating bg_BG.ISO-8859-1...
/usr/share/i18n/locales/bg_BG:161: LC_MONETARY: unknown character in field `currency_symbol'
/usr/share/i18n/locales/bg_BG:196: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/bg_BG:197: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/bg_BG:198: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/bg_BG:199: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/bg_BG:200: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/bg_BG:201: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/bg_BG:202: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/bg_BG:203: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/bg_BG:204: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/bg_BG:205: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/bg_BG:206: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/bg_BG:207: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/bg_BG:208: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/bg_BG:209: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/bg_BG:210: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:211: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:212: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:213: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:214: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:215: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:216: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:217: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:218: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:219: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:220: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:221: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/bg_BG:222: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:223: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:224: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:225: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:226: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:227: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:228: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:229: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:230: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:231: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:232: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:233: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/bg_BG:238: LC_MESSAGES: unknown character in field `yesexpr'
/usr/share/i18n/locales/bg_BG:239: LC_MESSAGES: unknown character in field `noexpr'
/usr/share/i18n/locales/bg_BG:250: LC_NAME: unknown character in field `name_mr'
/usr/share/i18n/locales/bg_BG:251: LC_NAME: unknown character in field `name_ms'
/usr/share/i18n/locales/bg_BG:252: LC_NAME: unknown character in field `name_mrs'
/usr/share/i18n/locales/bg_BG:253: LC_NAME: unknown character in field `name_miss'
LC_MESSAGES: value for field `yesexpr' must not be an empty string
LC_MESSAGES: value for field `noexpr' must not be an empty string                      [ !! ]
* Generation complete



Hm-m... yes, seems it has done something but I had to edit:
/etc/env.d/02locale
~/.bashrc
/etc/locale.gen
/etc/make.conf

so then all say: bg_BG when needed in the fields... lets see... restart.
adXok
Baby Hen
 
Posts: 14
Joined: Thu Mar 25, 2010 17:46

Re: More than one Interface Language in Sabayon 5

Postby micia » Fri Mar 26, 2010 12:16

Don't use locale-gen, just follow the standard procedure if the needed locales are already there, available Bulgarian locales are the ones listed in my post:
Code: Select all
[email protected] ~ $ locale -a | grep bg
bg_BG
bg_BG.cp1251
bg_BG.utf8


notice the lowercase utf8, as you can see locale-gen is giving errors about that:
Code: Select all
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (bg.UTF-8)


Try to use:
bg_BG.utf8
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: More than one Interface Language in Sabayon 5

Postby adXok » Fri Mar 26, 2010 12:27

Code: Select all
sabayon adxok # locale -a | grep bg
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
bg_BG
bg_BG.iso88591
bg_BG.utf8


Something is wrong...
should I restart


------------------------------------------------------------

Oh, man... after restart the Login menu I had the iption of Bulgarian so I choose it. So the login menu now is in Bulgarian... mhm-m happy BUT:
when Saboyon loaded the desktop some of the menus were in Bulgarian and some still in English. From what I recall in my memory all of them should be in Bulgarian. Strange... but I get progress after all... funy linux.
Last edited by adXok on Fri Mar 26, 2010 12:34, edited 1 time in total.
adXok
Baby Hen
 
Posts: 14
Joined: Thu Mar 25, 2010 17:46

Re: More than one Interface Language in Sabayon 5

Postby micia » Fri Mar 26, 2010 12:33

It is wrong because probably you edited your files to set the wrong locale generated previously.
Edit the files as indicated in the article from the Gentoo wiki, then restart.
You have to provide the correct locale, when the localization is incorrect all the applications that rely on localization (any application) will give you that warning.

Which is your current locale?
Use this command to know that
Code: Select all
locale
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Next

Return to Installer Issues - Calamares **Not for Package Manager Stuff**

Who is online

Users browsing this forum: No registered users and 2 guests