The time now is Wed 19 Jun 2013, 03:07
All times are UTC - 4 |
| Author |
Message |
droope

Joined: 31 Jul 2008 Posts: 814 Location: Uruguay, Mercedes
|
Posted: Wed 18 Mar 2009, 11:22 Post_subject:
|
|
Hi there. Fixed connect wizard. (wansn't working for es_ES).
Changed
| Quote: | mo=connectwizard.mo
lng=`echo $LANG | sed "s/\(..\).*/\1/"`
#echo $lng
. "/usr/share/locale/en/LC_MESSAGES/$mo"
if [ -f "/usr/share/locale/$lng/LC_MESSAGES/$mo" ];then
. "/usr/share/locale/$lng/LC_MESSAGES/$mo"
fi |
To:
| Quote: | mo=connectwizard.mo
lng=`echo $LANG | sed "s/\(..\).*/\1/"`
#echo $lng
. "/usr/share/locale/$lng/LC_MESSAGES/$mo"
if [ -f "/usr/share/locale/$lng/LC_MESSAGES/$mo" ];then
. "/usr/share/locale/$lng/LC_MESSAGES/$mo"
fi |
| Description |
Newer version, the correct one.
|

Download |
| Filename |
connectwizard-420Loc.tar.gz |
| Filesize |
3.06 KB |
| Downloaded |
439 Time(s) |
|
|
Back to top
|
|
 |
magerlab
Joined: 08 Jul 2007 Posts: 730
|
Posted: Wed 18 Mar 2009, 11:24 Post_subject:
|
|
i've already done this for puppy 3 and 4.1.2
so can for 4.2
as for menu directories translations( /usr/share/desktop-directories)
i've noticed that after installing a package they return to English so fix menus needs to run again
_________________ skype: desafimager
www.youtube.com/sagartem -videos of my band
|
|
Back to top
|
|
 |
droope

Joined: 31 Jul 2008 Posts: 814 Location: Uruguay, Mercedes
|
Posted: Wed 18 Mar 2009, 13:20 Post_subject:
|
|
| magerlab wrote: | i've already done this for puppy 3 and 4.1.2
so can for 4.2
as for menu directories translations( /usr/share/desktop-directories)
i've noticed that after installing a package they return to English so fix menus needs to run again |
Any help is welcome.
Hey, esmorguit, mark. Will any of you send the info to whodo?
Lots of progress here. We should send him that list i made.
|
|
Back to top
|
|
 |
droope

Joined: 31 Jul 2008 Posts: 814 Location: Uruguay, Mercedes
|
Posted: Wed 18 Mar 2009, 13:21 Post_subject:
|
|
Connect wizard (last esmorguit link).
Xwin
XorgWizard (Updated to Mu's corrected version)
Remasterpup2
Chooselocale
Bootmanager
Cups Shell
[http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=16271]Petget.[/url] (fixed).
Applications directory localized
Updated 19/03/09. This should be the list then.
Edited_time_total
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Wed 18 Mar 2009, 13:23 Post_subject:
|
|
droope, I would suggest, that you contact Whodoo.
I'm sooo tired...
Did hours of tests to get Genie+Glade working in Windows, and from tomorrow on, I must work on a Java project for 1 1/2 weeks.
It will need my full concentration, so I cannot follow all the messages in the Puppyforum.
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
droope

Joined: 31 Jul 2008 Posts: 814 Location: Uruguay, Mercedes
|
Posted: Wed 18 Mar 2009, 13:44 Post_subject:
|
|
| MU wrote: | droope, I would suggest, that you contact Whodoo.
I'm sooo tired...
Did hours of tests to get Genie+Glade working in Windows, and from tomorrow on, I must work on a Java project for 1 1/2 weeks.
It will need my full concentration, so I cannot follow all the messages in the Puppyforum.
Mark |
Ok no problem Life's too short mark!
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Wed 18 Mar 2009, 13:45 Post_subject:
|
|
thanks, muchas gracias
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
droope

Joined: 31 Jul 2008 Posts: 814 Location: Uruguay, Mercedes
|
Posted: Wed 18 Mar 2009, 14:18 Post_subject:
|
|
Hi. Petget has the same issues as connectwizard. My system is configured in es_ES, and "echo $lng" echoes "es", but the program attemps to fetch the mo file in /usr/share/locale/en/.
I changed the code the way i did it with connect wizard and got a pretty scary error. I can't solve this, sorry
Esmorguit maybe you can? Or mark?
Ty.
Droope
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Wed 18 Mar 2009, 14:29 Post_subject:
|
|
| Code: | mo=connectwizard.mo
lng=`echo $LANG | sed "s/\(..\).*/\1/"`
#echo $lng
. "/usr/share/locale/$lng/LC_MESSAGES/$mo"
if [ -f "/usr/share/locale/$lng/LC_MESSAGES/$mo" ];then
. "/usr/share/locale/$lng/LC_MESSAGES/$mo"
fi |
this will not work.
The first line MUST use "en", so that the script has a file to read the variables from, even if no localized .mo is available.
So it must be:
| Code: | mo=connectwizard.mo
lng=`echo $LANG | sed "s/\(..\).*/\1/"`
#echo $lng
. "/usr/share/locale/en/LC_MESSAGES/$mo"
if [ -f "/usr/share/locale/$lng/LC_MESSAGES/$mo" ];then
. "/usr/share/locale/$lng/LC_MESSAGES/$mo"
fi |
You did not include the spanish connectwizard.mo, please attach it, so that I can test it.
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
droope

Joined: 31 Jul 2008 Posts: 814 Location: Uruguay, Mercedes
|
Posted: Wed 18 Mar 2009, 14:34 Post_subject:
|
|
| MU wrote: | | Code: | mo=connectwizard.mo
lng=`echo $LANG | sed "s/\(..\).*/\1/"`
#echo $lng
. "/usr/share/locale/$lng/LC_MESSAGES/$mo"
if [ -f "/usr/share/locale/$lng/LC_MESSAGES/$mo" ];then
. "/usr/share/locale/$lng/LC_MESSAGES/$mo"
fi |
this will not work.
The first line MUST use "en", so that the script has a file to read the variables from, even if no localized .mo is available.
So it must be:
| Code: | mo=connectwizard.mo
lng=`echo $LANG | sed "s/\(..\).*/\1/"`
#echo $lng
. "/usr/share/locale/en/LC_MESSAGES/$mo"
if [ -f "/usr/share/locale/$lng/LC_MESSAGES/$mo" ];then
. "/usr/share/locale/$lng/LC_MESSAGES/$mo"
fi |
You did not include the spanish connectwizard.mo, please attach it, so that I can test it.
Mark |
That way it worked with connect wizard, tested only in es_ES.
The way I saw it, if no mo files were found, suicide would be a great choice
Here are the mo files for petget:
http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=15995
And here's connectwizard:
http://www.murga-linux.com/puppy/viewtopic.php?mode=attach&id=15179
I've been working on this for too long, perhaps. Sure hope not to make you work for nothing.
Thanks mark.
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Wed 18 Mar 2009, 15:02 Post_subject:
|
|
| Quote: | | The way I saw it, if no mo files were found, suicide would be a great choice |
hehe, but, no, sorry, this is a bad idea.
Like this you could not connect to internet, even if you speak english, but use french, german, or other settings.
We must keep english as fallback.
I tested your connectwizard with the spanish connectwizard.mo.
In Puppy 4.12.
Language first was set to en_US, then I switched to es_ES.
It works fine with "en", so in the way, before you modified it.
With your modification it crashes, if I use "de_DE" (german) as language, so connectwizard is not usable for non-US american or non-spanish users.
So I cannot reproduce your errors.
Maybe you might try it with a second, new savefile.
Maybe in your old savefile, something got broken by all the work you did for localization?
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
droope

Joined: 31 Jul 2008 Posts: 814 Location: Uruguay, Mercedes
|
Posted: Wed 18 Mar 2009, 17:31 Post_subject:
|
|
It should crash, of course, unless you hace a connectwizard.mo in /usr/share... de_DE or "en".
What you could do to test it is to place the spanish mo in /usr/share/locale/de_DE/LC_Messages/ that way you will see it will continue crashing because it can't find the file in "en".
For some reason, it always looks for en, even tho $lng is es in my case.
|
|
Back to top
|
|
 |
Aitch

Joined: 04 Apr 2007 Posts: 6825 Location: Chatham, Kent, UK
|
Posted: Wed 18 Mar 2009, 17:48 Post_subject:
|
|
| Quote: | | I would like to know if anyone knows of a program that'd let me to know the exact diferences between a file and another. It would save a lot of work for me. |
I know it was awhile ago, Droope, but I just spotted this, and thought it might be useful to you
http://murga-linux.com/puppy/viewtopic.php?t=39497&sid=5528868e24039b386be03f6714f82a57
Good effort, guys!
Aitch
|
|
Back to top
|
|
 |
magerlab
Joined: 08 Jul 2007 Posts: 730
|
Posted: Thu 19 Mar 2009, 02:37 Post_subject:
|
|
i've almost finished to add russian names for applications, so i'll put my archive back here this evening
_________________ skype: desafimager
www.youtube.com/sagartem -videos of my band
|
|
Back to top
|
|
 |
esmourguit
Joined: 17 Nov 2006 Posts: 1162 Location: Sur l'ile aux oiseaux.
|
Posted: Thu 19 Mar 2009, 03:28 Post_subject:
|
|
Bonjour,
Here a fixed /usr/sbin/petget localized.
Tested in RC3 instead of original. Can you test yourself?
What conclusion about the corrections made on the localized files ? Should we change and what version to use?
I have great difficulties with the forum. It takes considerable time to load a page when it wants to load.
Cordialement
| Description |
|

Download |
| Filename |
petget_loc_09-03-18.tar.gz |
| Filesize |
24.98 KB |
| Downloaded |
360 Time(s) |
_________________ Toutou Linux - Pets francisés
|
|
Back to top
|
|
 |
|
|
|
Rules_post_cannot Rules_reply_cannot Rules_edit_cannot Rules_delete_cannot Rules_vote_cannot You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|