Author Topic: Localization Manager (addlocale)  (Read 147828 times)

Offline loren

  • Full Member
  • ***
  • Posts: 138
Re: PCLinuxOS International: how to use addlocale
« Reply #210 on: December 03, 2009, 12:35:57 PM »
I'm a franch user ; I tried to apply addlocale, it worked, and after a moment, nothing.
And my computer was always english.

And now, Icann't add locale :
I Opened a console and entered "addlocale", and :
Quote
]# addlocale                                         
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_ALL to default locale: No such file or directory     
/root/.bash_profile: line 12: warning: setlocale: LC_CTYPE: cannot change locale (fr_FR.UTF-8): No such file or directory                                       
/root/.bash_profile: line 16: warning: setlocale: LC_COLLATE: cannot change locale (fr_FR.UTF-8): No such file or directory                                     
/root/.bash_profile: line 19: warning: setlocale: LC_NUMERIC: cannot change locale (fr_FR.UTF-8): No such file or directory                                     
/root/.bash_profile: line 23: warning: setlocale: LC_TIME: cannot change locale (fr_FR.UTF-8): No such file or directory                                       
/root/.bash_profile: line 26: warning: setlocale: LC_MESSAGES: cannot change locale (fr_FR.UTF-8): No such file or directory                                   
Warning: locale not supported by C library, locale unchanged                   
[root@netbook laurent]# 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_ALL to default locale: No such file or directory         
stdin: is not a tty                                                             
/root/.bash_profile: line 12: warning: setlocale: LC_CTYPE: cannot change locale (fr_FR.UTF-8): No such file or directory                                       
/root/.bash_profile: line 16: warning: setlocale: LC_COLLATE: cannot change locale (fr_FR.UTF-8): No such file or directory                                     
/root/.bash_profile: line 19: warning: setlocale: LC_NUMERIC: cannot change locale (fr_FR.UTF-8): No such file or directory                                     
/root/.bash_profile: line 23: warning: setlocale: LC_TIME: cannot change locale (fr_FR.UTF-8): No such file or directory                                       
/root/.bash_profile: line 26: warning: setlocale: LC_MESSAGES: cannot change locale (fr_FR.UTF-8): No such file or directory                                   
Warning: locale not supported by C library, locale unchanged                   

(process:6610): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.                           

Internet connection working

/var/cache/apt/archives/partial found
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "fr_FR.UTF-8:fr:en_US:en",         
        LC_ALL = "",                                 
        LC_PAPER = "fr_FR.UTF-8",                     
        LC_ADDRESS = "fr_FR.UTF-8",                   
        LC_MONETARY = "fr_FR.UTF-8",                 
        LC_SOURCED = "1",                             
        LC_NUMERIC = "fr_FR.UTF-8",                   
        LC_TELEPHONE = "fr_FR.UTF-8",                 
        LC_MESSAGES = "fr_FR.UTF-8",                 
        LC_COLLATE = "fr_FR.UTF-8",                   
        LC_IDENTIFICATION = "fr_FR.UTF-8",           
        LC_MEASUREMENT = "fr_FR.UTF-8",               
        LC_CTYPE = "fr_FR.UTF-8",                     
        LC_TIME = "fr_FR.UTF-8",                     
        LC_NAME = "fr_FR.UTF-8",                     
        LANG = "fr_FR.UTF-8"                         
    are supported and installed on your system.       
perl: warning: Falling back to the standard locale ("C").

(process:6692): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.                           

(process:6693): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.                           

(process:6694): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
Please help me ...  :(
PClinuxOS
desktop : asrock alivedual+ NVIDIA 7200 GS + M-audio 2496
laptop : Samsung NC10

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: PCLinuxOS International: how to use addlocale
« Reply #211 on: December 03, 2009, 01:25:40 PM »
Hi loren,

just ran addlocale this morning and everything worked perfectly fine so could it be that your system was not fully updated before running addlocale?
When you run addlocale now do you get the window where you can select a new locale? If yes, then keep the default setting English (US) and run addlocale to restore the default settings. Yet, from your output it seems that you do not get any addlocale information window anymore, is that true?

Could you please provide some more information:
- the first time you ran addlocale: do you remember the message of the last window before addlocale stopped? What exactly worked and what not?I'm almost certain that addlocale did not finish because of unmet dependencies in the system, which means your system was not fully updated before running addlcoale. 
- your system: what was the state of your system before you ran addlocale? Everything was working fine? Was it uptodate?
- Synaptic: which repo did you have configured in Synaptic? Did you use the 'testing' section?
- which version of PCLinuxOS did you install and which window manger did you use?

Either running addlocale and resetting to the default "en (US)" works, then update your system and run addlocale again. If this does not help, and because I will be out of town and without Internet access until next Monday, I would suggest to reinstall, then fully update, and only after a successful update run addlocale. In the latter case, a reinstall may be the fastest and easiest solution unless you can wait until next Monday.

sorry about that and good luck. Please let me know how things worked out,
-pinoc

Offline loren

  • Full Member
  • ***
  • Posts: 138
Re: PCLinuxOS International: how to use addlocale
« Reply #212 on: December 03, 2009, 01:48:51 PM »
Quote
keep the default setting English (US) and run addlocale to restore the default settings.

I did that, and redo with "french" ... It runs ... thank you, Pinoc. My connexion is slow, but it's on 70%  :D

I hope it will be complete this time.

I will say you what happen.

Thank you.
PClinuxOS
desktop : asrock alivedual+ NVIDIA 7200 GS + M-audio 2496
laptop : Samsung NC10

Offline pstranger

  • Full Member
  • ***
  • Posts: 160
Re: PCLinuxOS International: how to use addlocale
« Reply #213 on: December 06, 2009, 11:40:43 PM »
I couldn't test your advice because notebook was used for other tasks and I don't know when I'll get it back.
addlocale is designed to work with a stable and fully updated system

Full updated OS has solved localization problem.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: PCLinuxOS International: how to use addlocale
« Reply #214 on: December 23, 2009, 12:21:08 PM »
announcing addlocale 3.2 with these changes:
- fixed: addlocale crashed due to changes in localizations from thunderbird 2 to thinderbird 3
- added additional check for uninstallable packges

have fun,
-p.

Offline tanara

  • Jr. Member
  • **
  • Posts: 38
Re: PCLinuxOS International: how to use addlocale
« Reply #215 on: January 10, 2010, 08:53:50 AM »
Hi, pinoc
addlocale can change localization,
but not change time zone?

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: PCLinuxOS International: how to use addlocale
« Reply #216 on: January 10, 2010, 09:14:08 AM »
Hi, pinoc
addlocale can change localization,
but not change time zone?

hi tanara,
addlocale could also change the time-zone but I prefer to let the user do this because
- some countries have several time-zones
- some people like to use a different localization than the one of the country they live in

regards,
-p.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: PCLinuxOS International: how to use addlocale
« Reply #217 on: February 24, 2010, 03:35:07 AM »
Update on addlocale and only for those of you using the frozen repo of YouCanToo:

Please start Synaptic, press Reload, and you should now find an updated version of addlocale (3.3-3). Please use this updated version to add a new locale to your system.

Note on addlocale 3.3:
- is a customised version of addlocale which will only work with the frozen repo of YouCanToo, it does not work with any other repo!
- is the last version of addlocale which supports KDE3
- supports all window managers available in YouCanToo's frozen repo: KDE3/KDE4, Gnome, etc
- new feature only available when using KDE4: customise local settings upon first login after changing localisation of the system
- will use specific 'frozen' language archives now stored on YouCanToo's repo. This will ensure the functionality of addlocale and YouCanToo's frozen repo even after the upcoming release of 2010. When 2010 is out we will have a new addlocale 3.4 (without KDE3 support), working only with the new 2010 repo, and having different language archives.
- users wanting to stick with KDE3, and hence using YouCanToo's frozen repo, can now use addlocale as well as getopenoffice (both did not work before on YouCanToo's repo)
- a big THANK YOU to YouCanToo for making the necessary changes on the server!

have fun,
-p.
« Last Edit: March 05, 2010, 03:00:24 PM by pinoc »

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: PCLinuxOS International: how to use addlocale
« Reply #218 on: March 05, 2010, 11:06:18 AM »
announcing addlocale 3.4 with these changes:
- changed to work with the upcoming 2010 release
- will only work with the new 2010 repo
- updated URL-weblinks
- added e17 support
- removed KDE3 support
- KDE4 only: configure time-zone, country settings, keyboard layout and switch

have fun,
-p.

Important note for users running the e17 (Enlightenment) window manager:
after running addlocale the e17 user will have to manually set the locale to use either by
1) StartMenu -> Settings -> Settings Panel: top panel go to the right and select 'Language', then 'Language Settings', choose the language to use, press 'Apply', then 'Close' and again 'Close'; then logout/login  
2) in e17, open a terminal and enter:  
Code: [Select]
enlightenment_remote -lang-set de here 'de' is for German, other applicable language codes in e17 can be found using:
Code: [Select]
enlightenment_remote -lang-list and of course the new language must already be installed with addlocale; then logout/login


Important note for users wanting to stay with a pre-2010 release and KDE3 and using addlocale:
Your installation must only have packages from the frozen repo of YouCanToo and you must use the addlocale in YouCanToo's repo (version 3.3-3, see previous post) to add a localisation.
« Last Edit: March 05, 2010, 01:48:48 PM by pinoc »

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: PCLinuxOS International: how to use addlocale
« Reply #219 on: March 17, 2010, 03:39:44 AM »
update on addlocale 3.4 (already available in the 2010 repo and on 2010beta2):
- system time now set by drakclock
- removed remaining traces of KDE3 support
- fixed incomplete KDE localization when running gdm
- e17 localization switch and other info now in user's HOME instead of Desktop
- updated to work with any combination of PCLinuxOS available desktops (KDE4, LXDE, E17, Gnome & ZenMini, XFCE, OpenBox, Fluxbox, etc.)
- updated all 13 addlocale translations for the window information messages

have fun,
-p.

Offline rogaven

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 558
  • be patient, I'm German
Re: PCLinuxOS International: how to use addlocale
« Reply #220 on: March 19, 2010, 11:47:27 AM »
addlocale not working at the moment

http://distro.ibiblio.org/pub/linux/distributions/texstar/addlocale/ has no content
It takes longer?


salu2
Nothing is perfect, not even my english
3.4.25-pclos1.pae.bfs - KDE: 4.10.1 Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz - RAM: 8 GB - GeForce 8400 GS

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: PCLinuxOS International: how to use addlocale
« Reply #221 on: March 19, 2010, 12:12:56 PM »
addlocale not working at the moment

http://distro.ibiblio.org/pub/linux/distributions/texstar/addlocale/ has no content
It takes longer?


salu2



what is not working?? For which language?? The ibiblio folder you mentioned is not empty but on purpose set to be not visible, as are all other sections. The current addlocale version works fine for most languages only those requiring cyrillic fonts don't work. 3.5 is in the works and will go out when the necessary changes in the repo have been applied.
regards,
-p.
   

Offline rogaven

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 558
  • be patient, I'm German
Re: PCLinuxOS International: how to use addlocale
« Reply #222 on: March 19, 2010, 01:14:26 PM »
Während der Lokalisation hatten wir einen Stromausfall. Danach kam ich bis zur Auswahl der Sprache und dann gab es eine Fehlermeldung, das eine Datei nicht komplett runter geladen werden konnte, ich es später noch einmal versuchen solle und addlocale wurde beendet. Im Script habe ich solch eine Meldung nicht gefunden (was aber nicht heißen muss, das es diese nicht gibt).
Dadurch bin ich auf den "leeren" Link gestoßen. ;D
Ich habe es nun noch einmal probiert und es lief durch.
Also mal wieder viel Wind um nichts.

During the localization, we had a power outage. Then I got to the choice of language, and then there was an error that a file could not be loaded completely down, I would later try again and addlocale was terminated. In the script I did not find such a message (but not must mean that these do not exist).
Thus, I came across the "empty" link. , D
I have now tried again and it went through.
So again a lot of noise about nothing.
(Google translation without verification)


salu2 und sorry


Ich habe gerade in einem anderen Forum die genaue Fehlermeldung gelesen:
Quote
The download of the translation archive is incomplete.  This may indicate a temporary server failure or other network problem.
Please try running addlocale again a little later and we will continue from whatever could be downloaded.
also lag es doch nicht an mir ;)
« Last Edit: March 20, 2010, 05:20:36 AM by margarita »
Nothing is perfect, not even my english
3.4.25-pclos1.pae.bfs - KDE: 4.10.1 Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz - RAM: 8 GB - GeForce 8400 GS

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: PCLinuxOS International: how to use addlocale
« Reply #223 on: March 22, 2010, 04:11:46 AM »
announcing addlocale 3.5 with these changes:
- fixed: languages requiring cyrillic fonts (16 languages: Russian, Serbian, etc)
- fixed: Serbian now fully translated (well, more than before and as much as possible  ;) )
- added: droid-fonts for better display of languages requiring cyrillic fonts
- added: new Firefox translations for 8 languages
- added: better support for some Indian languages
- changed: on a KDE4 installed system (not in a live session) addlocale will now reboot instead of logout. This change was needed to properly apply some Indian languages
- temporarily disabled Maithili support until we get locales for this language.

have fun,
-p.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: PCLinuxOS International: how to use addlocale
« Reply #224 on: April 04, 2010, 06:35:43 PM »
New language archives are now available to be picked up by addlocale. They contain all language info available in the repo as of March 31, specifically updated translations from KDE4.4.2, and - due to a new trick  ;) - are now on average 20% larger than before, meaning some more stuff should appear localized.  Please let me know if you find any regression with respect to previous addlocale runs. The next update on language archives will be processed and uploaded when 2010 final is out,
regards,
-p.