The time now is Thu 26 Apr 2018, 13:53
All times are UTC - 4 |
Author |
Message |
droope

Joined: 31 Jul 2008 Posts: 811 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 |
833 Time(s) |
|
Back to top
|
|
 |
magerlab
Joined: 08 Jul 2007 Posts: 737
|
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
|
Back to top
|
|
 |
droope

Joined: 31 Jul 2008 Posts: 811 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: 811 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.
Last edited by droope on Thu 19 Mar 2009, 14:29; edited 1 time in total
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13648 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: 811 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: 13648 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: 811 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: 13648 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: 811 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: 13648 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: 811 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: 6815 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: 737
|
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
|
Back to top
|
|
 |
esmourguit

Joined: 17 Nov 2006 Posts: 1393 Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie
|
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 |
1016 Time(s) |
_________________ Toutou Linux - Pets francisés
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|