Localizing scripts
- esmourguit
- Posts: 1410
- Joined: Fri 17 Nov 2006, 14:45
- Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie
Hey guys
I'm at it again....
droope, you may have seen this, I'm not sure, but with support from the likes of caneri, ttuuxxx & pizzasgood, as well as yourselves, of course, it looks like Internationalization is being taken seriously, at last
Other devs, please note!
Perhaps this link will become more useful in the longer run....
to stop everyone treading on each others toes, so to speak....
http://murga-linux.com/puppy/viewtopic.php?t=40152
Don't understand GIT, or it's implementation....?, speak to Pizzasgood
My feeling is that with the bling team & you, and the other devs sorting out the 'niggles', Puppy is on a one way journey to trouncing many bigger distros
Thanks again, guys
PS: reminder, Internationalized Dillo, here
http://www.freshports.org/www/dillo-i18n/
I note on the distrowatch Puppy page there is a section for Puppy's versions which has feature checkboxes;'Multilingual' & 'Asian Language Support'
After all the work done on the substantial '41 language thread',
http://www.murga-linux.com/puppy/viewtopic.php?t=27967
I hope this is recognised in future versions.....
[tell me to shut up, if you like ]
Aitch
I'm at it again....
droope, you may have seen this, I'm not sure, but with support from the likes of caneri, ttuuxxx & pizzasgood, as well as yourselves, of course, it looks like Internationalization is being taken seriously, at last
Other devs, please note!
Perhaps this link will become more useful in the longer run....
to stop everyone treading on each others toes, so to speak....
http://murga-linux.com/puppy/viewtopic.php?t=40152
Don't understand GIT, or it's implementation....?, speak to Pizzasgood
My feeling is that with the bling team & you, and the other devs sorting out the 'niggles', Puppy is on a one way journey to trouncing many bigger distros
Thanks again, guys
PS: reminder, Internationalized Dillo, here
http://www.freshports.org/www/dillo-i18n/
I note on the distrowatch Puppy page there is a section for Puppy's versions which has feature checkboxes;'Multilingual' & 'Asian Language Support'
After all the work done on the substantial '41 language thread',
http://www.murga-linux.com/puppy/viewtopic.php?t=27967
I hope this is recognised in future versions.....
[tell me to shut up, if you like ]
Aitch
- esmourguit
- Posts: 1410
- Joined: Fri 17 Nov 2006, 14:45
- Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie
Bonjour,
A small change in /usr/share/petget (line 803) resulted in the addition of the last line in the file petget.mo.
So here is the new localized petget.
Some change also in the directory /usr/share/applications.
I will upload soon.
Cordialement
A small change in /usr/share/petget (line 803) resulted in the addition of the last line in the file petget.mo.
So here is the new localized petget.
Some change also in the directory /usr/share/applications.
I will upload soon.
Cordialement
- Attachments
-
- petget_loc-09-03-25.tar.gz
- (25.21 KiB) Downloaded 835 times
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]
-
- Posts: 56
- Joined: Tue 16 Jan 2007, 00:44
Hello!
I do not speak English well. Web translator to translate.
Send you the files alsaconf and ayttmshell located, along with its archives of messages in English and Spanish.
Pay attention to small differences in the initial routine file search. "Mo."
The following script will do that is / usr / sbin / BootManager
Greetings.
I do not speak English well. Web translator to translate.
Send you the files alsaconf and ayttmshell located, along with its archives of messages in English and Spanish.
Pay attention to small differences in the initial routine file search. "Mo."
The following script will do that is / usr / sbin / BootManager
Greetings.
- Attachments
-
- ayttmshell.tar.gz
- (2.75 KiB) Downloaded 776 times
-
- alsaconf.tar.gz
- (12.91 KiB) Downloaded 776 times
-
- Posts: 56
- Joined: Tue 16 Jan 2007, 00:44
I send files Xwin localized in English and Spanish. I fixed the problems.
- Attachments
-
- xwin.tar.gz
- (8.54 KiB) Downloaded 760 times
droope/anyone
I posted to Irihapeti in the 41 language thread
http://www.murga-linux.com/puppy/viewto ... &start=540
This is her reply
If so, it may explain some people's frustration with Puppy at boot up?
Is this one for BarryK, since he's changed the boot up to include keyboard/locale, I believe?
Perhaps you could see if WhoDo is aware of that?
And if anything can/should be done?
Thanks
Aitch
I posted to Irihapeti in the 41 language thread
http://www.murga-linux.com/puppy/viewto ... &start=540
This is her reply
Why is puppy still short of fonts, & IS it compiled without non-latin character handling?Irihapeti wrote:I had a quick look at that, Aitch, but it's rather over my head. I'm not a developer; I only compile other people's programs.
One thing I believe still needs attention: that ordinary, unlocalised Puppy be able to display non-Latin characters in dialogue boxes and window title bars. (Assuming, of course, that the necessary fonts have been installed.) I have an idea that it has to do with the "C locale" - some programs can't use the locale files and use the default, and the default is not compiled to handle non-Latin characters. At least, that's what I think it is; a developer would be able to clarify that.
Irihapeti
If so, it may explain some people's frustration with Puppy at boot up?
Is this one for BarryK, since he's changed the boot up to include keyboard/locale, I believe?
Perhaps you could see if WhoDo is aware of that?
And if anything can/should be done?
Thanks
Aitch
Hi aitch,
I am unaware of that issue I really don't know. I think it might have something to do with what The Hamsters was attempting to do, something related with utf-8, and being able to imput greek characters into Dialogs and console windows.
(Not sure tho, and I think the issue needs to be solved, but is not really a big big deal, i think. Maybe for Chinese people, who need their titles in chinese, for example.)
But I think this has been attempted, don't know where though.
Cheers!
I am unaware of that issue I really don't know. I think it might have something to do with what The Hamsters was attempting to do, something related with utf-8, and being able to imput greek characters into Dialogs and console windows.
(Not sure tho, and I think the issue needs to be solved, but is not really a big big deal, i think. Maybe for Chinese people, who need their titles in chinese, for example.)
But I think this has been attempted, don't know where though.
Cheers!
how to use arab, chinese etc. in messageboxes using "gxmessage" instead of "xmessage":
http://murga-linux.com/puppy/viewtopic.php?t=25319
Replacing "yaf-splash":
http://www.murga-linux.com/puppy/viewtopic.php?t=25536
Mark
http://murga-linux.com/puppy/viewtopic.php?t=25319
Replacing "yaf-splash":
http://www.murga-linux.com/puppy/viewtopic.php?t=25536
Mark
Should this be done in default Puppy version? I think it would be a good idea to wait untill Puppy 4.2.x is totally bug-free and then grab it, and add all localizations, plus this.
Anyone up to it? I could make a pet of all english tar.gz s here. Someday. I think that'd be step 1. I would love to be able to do a script that would download only files that are attached in phpBB forums, and nothing else.
Wait, I can!!
I think i will.
Anyone up to it? I could make a pet of all english tar.gz s here. Someday. I think that'd be step 1. I would love to be able to do a script that would download only files that are attached in phpBB forums, and nothing else.
Wait, I can!!
I think i will.
hi droope
we are having an effect - keep pushing!
so here it is....http://en.wikibooks.org/wiki/Puppy_Linux
Spread the word
Aitch
we are having an effect - keep pushing!
raffy wrote:It's back to simple website for now, at least until the difficult recurring error at the site is solved. It will take some time.
Darreljon is making available a wikibook:
http://murga-linux.com/puppy/viewtopic.php?t=42755
It must be good to have the translations there, too.
so here it is....http://en.wikibooks.org/wiki/Puppy_Linux
Spread the word
me too, Jaypuppyluvr wrote:Puppies for You..,Puppies for Me...
Puppy is fun and Puppy is free...
Puppies from Ubuntu / Slackware / Debian too.
Puppy`s for Everyone...Puppy`s for You....
Puppy Linux..
Resistance is Futile......
I love this......
Aitch
- esmourguit
- Posts: 1410
- Joined: Fri 17 Nov 2006, 14:45
- Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie
Bonjour à tous,
I resume this post.
Here is an updated localized xorgwizard script from last Puppy 4.17.
To test in Puppy 4.16 or 4.17
If (when it'll be OK after tests) Barry Kauler could introduce it in future alpha and beta releases, it would be a great help for translators.
Cordialement
I resume this post.
Here is an updated localized xorgwizard script from last Puppy 4.17.
To test in Puppy 4.16 or 4.17
If (when it'll be OK after tests) Barry Kauler could introduce it in future alpha and beta releases, it would be a great help for translators.
Cordialement
- Attachments
-
- xorgwizard417-loc.pet
- Edited today july 20
- (23.23 KiB) Downloaded 697 times
Last edited by esmourguit on Mon 20 Jul 2009, 14:54, edited 1 time in total.
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]
Re: Three comments
good job, esmourguit.
i put 3 comments
i put 3 comments
- note that Barry add some code to 416.
#w482 allow switch between intel_drv.so and i810OLD_drv.so. - any of localisation on X failes because of the bug in /usr/bin/xwin.
see http://www.murga-linux.com/puppy/viewto ... 229#325229 - the localization scripts by MU can be improbed.
next code distinguishes zh_CN and zh_TW for example.
assumed default messages at ./C/*/*.mo instead of ./en/*/*.mo.Code: Select all
# set locale for LOCALE in C $(echo $LANGUAGE|cut -d':' -f1) $LC_ALL $LANG;do :;done # ex. ja_JP.UTF-8 # search locale file LOCALE1=$(echo $LOCALE|cut -d'.' -f1) # ex. ja_JP LOCALE2=$(echo $LOCALE|cut -d'_' -f1) # ex. ja LOCALEDIR=/usr/share/locale LOCALEFILE=$(basename $0).mo for D in C $LOCALE2 $LOCALE1 $LOCALE do F="$LOCALEDIR/$D/LC_MESSAGES/$LOCALEFILE" [ -f "$F" ] && . "$F" done
- esmourguit
- Posts: 1410
- Joined: Fri 17 Nov 2006, 14:45
- Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie
Bonjour à tous,
Many thanks shinobar for your help.
Post above new xorgwizard localized file. But without modifs from shinobar. I don't know where insert the modified script.
And here xwin localized file with modif from shinobar, line 517 newly 508 in localized file.
Hope it'll be ok.
Thank you for yours tests.
Cordialement
Many thanks shinobar for your help.
Post above new xorgwizard localized file. But without modifs from shinobar. I don't know where insert the modified script.
And here xwin localized file with modif from shinobar, line 517 newly 508 in localized file.
Hope it'll be ok.
Thank you for yours tests.
Cordialement
- Attachments
-
- xwin417-loc.pet
- (9.5 KiB) Downloaded 698 times
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]
xwin
tnx esmourguit.esmourguit wrote:And here xwin localized file with modif from shinobar, line 517 newly 508 in localized file.
but it seems wrong directory, missing /usr.
the last quotation mark was missing at line 68 in the mo files.
anyway, i think the default 'mo' shall be written in the script itself so that it can run by the single file, /usr/bin/xwin alone. it is more safe.
and i add my code searching the 'mo' file:
Code: Select all
#-- simple localization for scripts by Shinobar based on MU.
mo=xwin.mo
# set locale
for lng in C $(echo $LANGUAGE|cut -d':' -f1) $LC_ALL $LANG;do :;done # ex. ja_JP.UTF-8
# search locale file
lng1=$(echo $lng|cut -d'.' -f1) # ex. ja_JP
lng2=$(echo $lng|cut -d'_' -f1) # ex. ja
LOCALEDIR=/usr/share/locale
[ "$mo" ] || mo=$(basename $0).mo
for D in C en $lng2 $lng1 $lng
do
F="$LOCALEDIR/$D/LC_MESSAGES/$mo"
[ -f "$F" ] && . "$F"
done
- Attachments
-
- xwin417-loc1.pet
- (9.64 KiB) Downloaded 1099 times
- esmourguit
- Posts: 1410
- Joined: Fri 17 Nov 2006, 14:45
- Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie
Bonjour à tous,
@ shinobar,
You're great.
I Tested your xwin file and all works perfectly. I have tried also without the french locale file and all went ok.
And what about the xorgwizard localized file?
I hope Barry will include it in next release.
Cordialement
@ shinobar,
You're great.
I Tested your xwin file and all works perfectly. I have tried also without the french locale file and all went ok.
And what about the xorgwizard localized file?
I hope Barry will include it in next release.
Cordialement
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]