Localize Seamonkey 1.0.6

For efforts in internationalising Puppy and solving problems in this area
Post Reply
Message
Author
User avatar
slapshot
Posts: 270
Joined: Sun 02 Apr 2006, 13:21
Location: Italy

Localize Seamonkey 1.0.6

#1 Post by slapshot »

Hi guys,

I'm continuing localizing an italian puppy ;-). Now, a silly question. I downloaded and installed seamonkey 106 italian lang pack. Instructions say to open Edit - Preferences - Appearance - Language/Contents to change the language but I cannot find this menu and I cannot localize it. In Navigator menu there is a Languages voice but it is referred to webpage languages, not at user interface to localize.

Anyone can help me, please ?

Thanks.
Bye
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

I think you must install a localized version, for the interface there are no languagepacks for Seamonkey and Firefox as far as I know.
For this reason I use english versions by default in the "dual-language" Muppy.

That reminds me I have to offer a german firefox as dotpup :?

If someone can prove me wrong, I'd be happy :)

Mark

User avatar
slapshot
Posts: 270
Joined: Sun 02 Apr 2006, 13:21
Location: Italy

#3 Post by slapshot »

Well, I don't know Mark. I cannot prove it yet but I believe there is a chance to localize user interface. On the mozillaitalia.it web site they explicitally talk about download the lang package and install it but they also refer Edit - Preferences - Appeareance - Languages/Contents that I cannot found in Puppy Seamonkey 1.0.6. . But also international community talk about this chance: http://www.mozilla.org/projects/l10n/po ... /sm10.html . I have just to find that menu :)

Btw I prefer english one of all but I would try to spread Puppy also in my country and so many people cannot speak english ... ;-)

Thanks.
Bye
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/

User avatar
slapshot
Posts: 270
Joined: Sun 02 Apr 2006, 13:21
Location: Italy

#4 Post by slapshot »

Mark, here is a partial solution, now I got an italian interface. Try to start seamonkey with:

/usr/lib/mozilla/mozilla-bin -UILocale it-IT -contentLocale IT

and you will have it !! Of course change your locale.

Now, it remains to manage this solution into the puppy defaultbrowser and mozstart scripts but I'm having some difficulties, well I'm not so evolved yet ;-).

Thanks.
Bye
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/

User avatar
slapshot
Posts: 270
Joined: Sun 02 Apr 2006, 13:21
Location: Italy

#5 Post by slapshot »

It is enough to add to /usr/local/bin/mozstart script this options to exec command to run mozilla: -UILocale it-IT -contentLocale IT

I tried to replace it-IT with $LANG but it is not working because $LANG=it_IT and mozilla does not start. In this way we have translated all the suite, also email and contacts. Now it remains calendar but I don't know if it is mozilla suite part.

Antonio
Bye
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#6 Post by MU »

maybe it_IT ?

So _ instead -.

German locales are usually called
de_DE or
de_CH

And do not use "$" in an assignment.
Not:
$LANG=
but:
LANG=


Syntax usually is:
export LANG=de_DE


Mark

User avatar
slapshot
Posts: 270
Joined: Sun 02 Apr 2006, 13:21
Location: Italy

#7 Post by slapshot »

Well, from a terminal locale command give me all the correct results I believe. $LANG is it_IT, just like your german localization. The problem is that mozilla-bin wants it-IT and not it_IT. I was trying to generalize the script but until now I didn't find any solution. Try with your locale, maybe for de is different.
Bye
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#8 Post by wow »

slapshot wrote:Now, it remains to manage this solution into the puppy defaultbrowser and mozstart scripts but I'm having some difficulties, well I'm not so evolved yet ;-).
I have no problems :wink: follow these instructions: That's all, you don't need to change the system language or edit any script, and you'll have seamonkey COMPLETLY translated. To restore the english version type: seamonkey -UILocale en-US
Tested in Puppy-1.09CE, Puppy-2.13(frugal install and RAM mode)
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

User avatar
slapshot
Posts: 270
Joined: Sun 02 Apr 2006, 13:21
Location: Italy

#9 Post by slapshot »

Thanks wow,

I will try as soon as possible your solution. Mine was modyfing mozstart script in this way:

Code: Select all

if [ $? -eq 0 ];then #=0 if found.
 exec /usr/lib/mozilla/mozilla-bin -remote "openURL($COMTAIL,new-tab)" -UILocale it-IT -contentLocale IT
else
 exec /usr/lib/mozilla/mozilla-bin $COMTAIL -UILocale it-IT -contentLocale IT
fi
I was trying to generalize but $LANG variable contains it_IT and not it-IT and Seamonkey seems to do nothing to start.
In this way, when you change your locale don't have to run any command or modify the script as I made but, simply, running again your Seamonkey suite program to have it translated.
Bye
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/

yiakan
Posts: 3
Joined: Wed 25 Oct 2006, 08:57

#10 Post by yiakan »

what about using sed command to get needed string
I tried with ja_JP.UTF-8 locale and got ja-JP with following command

Code: Select all

echo $LANG | sed -e 's/_/-/g' | sed -e 's/\..*//g'
and got just JP with following

Code: Select all

echo $LANG | sed -e 's/^...//g' | sed -e 's/\..*//g'
This is the first time I script with sed, so it might have error or inefficiency.
Please try it yourself and test what happens in your locale first.

brad_chuck
Posts: 286
Joined: Tue 16 Aug 2005, 03:47
Location: Appalachian Mountains

#11 Post by brad_chuck »

1.0.8 is in the next Puppy. Did not know if you where aware.

http://puppyos.net/news/

Skipper
Posts: 23
Joined: Sun 22 Apr 2007, 06:31

#12 Post by Skipper »

wow wrote:I have no problems Wink follow these instructions:

- Install a langpack(e.g. es-ES): http://www.mozilla.org/projects/seamonk ... 1.0.6.html
- For es-ES run this command: seamonkey -UILocale es-ES
(ignore the warnings)
- Now start seamonkey with: 'mozstart' or click the Internet icon on the desktop.


That's all, you don't need to change the system language or edit any script, and you'll have seamonkey COMPLETLY translated.
THIS WORKS. Forget the strange solutions.
You can change the version number, instead of 1.0.6, for your Seamonkey (see in Help, About Seamonkey.)
And, obviously, the same for "es-ES", with your language code.

Post Reply