PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 25, 2012, 08:10:07 PM


Login with username, password and session length


Pages: 1 2 [3] 4 5 6 7 8 9 10 ... 32   Go Down
  Print  
Author Topic: Localization Manager (addlocale)  (Read 101954 times)
dagsljos
Guest
« Reply #30 on: March 23, 2009, 02:51:14 AM »

changes in addlocale version 1.6:
- fix: the shortcut in /Desktop/Utilities/ to point to the correct location
- fix: remove old version /usr/bin/addlocale
- fix: kdeglobals could have more than one locale, now it has only one locale
- fix: new locale for kaffeine is now properly displayed

- new: log-files for each step. If an error should occur, the user will be informed and the corresponding log-file can be used to debug the problem
- new: detection and informing about an invalid Synaptic configuration
- new: more applications are checked for applying the new locale

regards,
-pinoc

Hi!

I tried this version. It changed the color of my window titelbars from black to the default blue. K9copy is still in english and American english is the only language available in "Switch application language...". Synaptic is still in english instead of swedish.

Regards
Uggla

can verify that synaptic is still in English while trying to make a Swedish remaster for friends ...that's using the addlocale 1.6-1 on the 2009.1 ........and tried all mentioned tricks..
Logged
pinoc
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2132



WWW
« Reply #31 on: March 23, 2009, 03:21:18 AM »

Hi Uggla & Scoundrel,

I just ran addlocale for Swedish. There are no problems, you will get the maximum possible  Grin
But please note point 1 in the OP, or more specific: the directory /usr/share/locale/sv/LC_MESSAGES contains all available translations for the programs currently installed on your system. Compared to for example German (/usr/share/locale/de/LC_MESSAGES), I can see that there is no Swedish translation available for Synaptic as well as k9copy (<=> there is no 'synaptic.mo' file) and for this reason they are still in English. Which makes me wonder how Antje managed to get Synaptic in Swedish...  Shocked

Uggla, the color change in the windows title bar has nothing to do with addlocale but is probably caused by an updated package which was pulled in when updating the system.

hope this helps,
-pinoc
Logged

Uggla
Full Member
***
Offline Offline

Posts: 206


« Reply #32 on: March 23, 2009, 04:16:17 AM »

Hi Uggla & Scoundrel,

I just ran addlocale for Swedish. There are no problems, you will get the maximum possible  Grin
But please note point 1 in the OP, or more specific: the directory /usr/share/locale/sv/LC_MESSAGES contains all available translations for the programs currently installed on your system. Compared to for example German (/usr/share/locale/de/LC_MESSAGES), I can see that there is no Swedish translation available for Synaptic as well as k9copy (<=> there is no 'synaptic.mo' file) and for this reason they are still in English. Which makes me wonder how Antje managed to get Synaptic in Swedish...  Shocked

Uggla, the color change in the windows title bar has nothing to do with addlocale but is probably caused by an updated package which was pulled in when updating the system.

hope this helps,
-pinoc
Thanks for your reply. I've run other distributions where Synaptic was in swedish so it should be possible also in PCLOS.

/Uggla
Logged
pinoc
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2132



WWW
« Reply #33 on: March 23, 2009, 04:22:40 AM »

Uggla, please let me know if you manage to get Synaptic in Swedish in PCLOS. I'd be most interested to understand how to accomplish this.

-pinoc
Logged

Uggla
Full Member
***
Offline Offline

Posts: 206


« Reply #34 on: March 23, 2009, 05:36:54 AM »

Uggla, please let me know if you manage to get Synaptic in Swedish in PCLOS. I'd be most interested to understand how to accomplish this.

-pinoc

mo-file can be downloaded from this page:
https://translations.launchpad.net/another distro/jaunty/+source/synaptic/+pots/synaptic/sv/+translate

You can choose to download a mo-file or a po-file. What is the difference? Do I need both?

Just tried the mo-file and it works fine!

/Uggla
Logged
dagsljos
Guest
« Reply #35 on: March 23, 2009, 05:47:38 AM »

having the same problem with the Icelandic locale
Logged
Uggla
Full Member
***
Offline Offline

Posts: 206


« Reply #36 on: March 23, 2009, 06:12:21 AM »

Swedish translation for k9copy seems available here:

https://translations.launchpad.net/ddtp-another distro/another distro/+pots/ddtp-another distro-multiverse/sv/593/+translate

The mo-file seems created for several apps though and I not sure how to best use it.

/Uggla
Logged
melodie
Hero Member
*****
Offline Offline

Posts: 6005


XMMP=Jabber, free instant messaging protocol !


WWW
« Reply #37 on: March 23, 2009, 07:33:13 AM »

Hi,

I discovered this thread too late, after I changed the locales the hard and old fashioned way, using the page instructions of the Documentation page, linked from the main page.

I just read this whole thread, and about Openoffice.org, I installed the locale with the l10n package  (my language is french). So as I see someone had problems with OOo not translated after running addlocale, I wanted to ask : does addlocale take the l10n-lang files too ?

Else : I installed firefox-fr and now firefox is in french.

Else : I reinstalled a lot of stuff, Synaptic, Draketool and so (Configuration center). Does it blow it up all if I start addlocale after a good upgrade now ?

Else : how come I get a list of upgrades when reloading Synaptic on the irish or the swiss mirror, and not from the texan (spoutl) mirror ?

Thanks for all. The improvements, and the way done till now. Smiley

Logged

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode
samuelbh
Guest
« Reply #38 on: March 23, 2009, 07:53:56 AM »

Hi samuelbh,

thanks for the help but as said in the original post, addlocale supports 73 different locales and Brazilian Portuguese surely has always been included there.  You probably used the outdated old version under /usr/bin/. Please follow the instructions outlined in the original post, install the latest version of addlocale using Synaptic, and then run addlocale from the menu: Start -> System -> Configuration -> Add Locale. You can then choose 'Portuguese (Brazil)'.  Addlocale 1.6 will also apply the fixes outlined in the changelog, so please always use the latest version.

good luck,
-pinoc
Sorry pinoc, I started with the edition of the script without seeing the details in the original post.

But anyway, thanks for your efforts bringing PCLinuxOS to other languages. You have no idea on how grateful we are with this script.
Logged
pinoc
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2132



WWW
« Reply #39 on: March 23, 2009, 08:45:34 AM »

@Uggla, I can't download because I'm not registered there, but is it correct to simply put the missing synaptic.mo file into the directory /usr/share/locale/sv/LC_MESSAGES and then restarting Synaptic shows it in Swedish? I believe that should be it, right?  If so, then this could be the solution to get other applications showing in the new locale. Yet, I will not go through 73 languages and browse the net for potential missing mo-files for all kind of applications  Grin

@ scoundrel: as said, the amount of translations strongly depends on the chosen locale, some of them are virtually 100% (German (KDE homeland), French, Spanish,...), some of them medium, and some only marginal. Addlocale only applies what is there already. You can get a rough idea on the degree of translatability here: http://l10n.kde.org/stats/gui/stable/team/

@samuelbh: thanks for the reply. For addlocale I have the following hopes, it should
- provide an easy solution to switch the desktop & system locale (obvious)
- help spreading PCLOS into the non-English community
- easily make available what has been there all the time because addlocale only applies already existing translations
- honor, and hopefully stimulate further, the fantastic work of all the translators
- serve as a starter for a localized remaster by always downloading the very latest localized programs and without the need to provide all kind of additional files on the CD/DVD, which after some time would be outdated anyway.
- finally, get your feedback in order to improve the script and make it better for the good of all the above  Wink

@melody: Just install addlocale via Synaptic and run it, it can only get better...  Wink  OO and much more will be in French. If you are in Europe please use the European mirror servers, the Irish, Dutch, and Swiss servers are very fast.

Logged

Was_Just19
Hero Member
*****
Offline Offline

Posts: 6885


MLU


« Reply #40 on: March 23, 2009, 08:56:41 AM »


Else : how come I get a list of upgrades when reloading Synaptic on the irish or the swiss mirror, and not from the texan (spoutl) mirror ?

Thanks for all. The improvements, and the way done till now. Smiley




http://www.pclinuxos.com/forum/index.php?topic=54836.msg441959#msg441959

Quote
http://spout.ussg.indiana.edu/linux/pclinuxos/pclinuxos/apt/ the primary file source in Synaptic appears to be dead as no updated packaged have arrived on this mirror since March 6th.
Logged
Uggla
Full Member
***
Offline Offline

Posts: 206


« Reply #41 on: March 23, 2009, 03:25:46 PM »

@Uggla, I can't download because I'm not registered there
 

It is free to register, but if you still don't want to register you can download all another distro translation files in a pack here:
https://translations.launchpad.net/another distro/jaunty/+language-packs

Quote
but is it correct to simply put the missing synaptic.mo file into the directory /usr/share/locale/sv/LC_MESSAGES and then restarting Synaptic shows it in Swedish? I believe that should be it, right?  If so, then this could be the solution to get other applications showing in the new locale.

The Synaptic mo-file I downloaded was named sv_LC_MESSAGES_synaptic.mo. I renamed it synaptic.mo and copied it to /usr/share/locale/sv/LC_MESSAGES. When I then started Synaptic it was in swedish!

Quote
Yet, I will not go through 73 languages and browse the net for potential missing mo-files for all kind of applications  Grin

Why not take advantage of the translation work done by the another distro guys? Just download the another distro language pack above. It includes mo-files for a lot of applications and languages, and it is updated regularily.

/Uggla
Logged
pinoc
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2132



WWW
« Reply #42 on: March 23, 2009, 03:34:04 PM »

Hi Uggla,

thanks a lot for this info! I will look into this and see what I can do.

best regards,
-pinoc
Logged

dagsljos
Guest
« Reply #43 on: March 24, 2009, 04:38:14 AM »

Quote
The Synaptic mo-file I downloaded was named sv_LC_MESSAGES_synaptic.mo. I renamed it synaptic.mo and copied it to /usr/share/locale/sv/LC_MESSAGES. When I then started Synaptic it was in swedish!

thanks Uggla ..  will make a run down Helsingborg today and install my Swedish remaster on 3 puters ...guys are going to love it..  Grin
Logged
pinoc
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2132



WWW
« Reply #44 on: March 24, 2009, 05:03:14 AM »

Scoundrel & Uggla,

just figured out how to do and apply all missing mo-files to get Synaptic, k9copy, etc into Swedish or other languages. Now I need to think about a smart solution to provide all these files  Roll Eyes
this is fun...

-pinoc
Logged

Pages: 1 2 [3] 4 5 6 7 8 9 10 ... 32   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM