| Author |
Message |
L18L
Joined: 19 Jun 2010 Posts: 1723 Location: Burghaslach, Germany
|
Posted: Sat 20 Aug 2011, 07:31 Post subject:
ymount Subject description: translation of gtk buttons |
|
Iguleder,
thank you for your comment but ymount did not succed international quality control yet
rodin.s and Bert,
thank you for reporting.
I have corrected the language names in /usr/l0cal/ymount/lang_list
| Code: | ru Русский
nl Nederlands |
and added
for sc0ttmann
Now the gtk button texts:
Have you yad-NLS installed?
Please do it and/or confirm.
Of course there is no reason why you should do it (there are no translations to ru or nl in it) but this is the only difference in our systems I can see now.
yad-NLS is containing German translation
I have got everything correctly in other languages on my system while yad-NLS is installed and if I uninstall yad-NLS the button texts are English.
I cannot confuse the yad developer by using the term NLS. pet so please confirm that you have installed yad-NLS.pet
Thank you
| Description |
Russian with yad-NLS installed |
| Filesize |
30.25 KB |
| Viewed |
872 Time(s) |

|
|
|
Back to top
|
|
 |
Bert

Joined: 30 Jun 2006 Posts: 712
|
Posted: Sat 20 Aug 2011, 08:10 Post subject:
|
|
Hi L18L,
First off, thanks for all your efforts trying to help us!
I installed yad-NLS (from Barry's blog). It made no difference.
I then moved the german yad.mo to the nl-LC_Messages. Only "language" button becomes "Sprache"...
I then changed my locale settings to German. Still no luck..
The only difference I can see now is that you are running Wary and I (and maybe rodin.s too?) am using Lucid.
Could that be the reason?
Thanks!
_________________

|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1723 Location: Burghaslach, Germany
|
Posted: Sat 20 Aug 2011, 08:22 Post subject:
ymount Subject description: gtk button text |
|
| Bert wrote: | | ... I (and maybe rodin.s too?) am using Lucid. |
So I will test it in Lupu525 now (I have lang_packs converted to sfs)
Thank you Bert.
Now in lupu525 (not lupq)
No yad-NLS installed
working correct
-> yad-NLS is not required
---------------------------------
Edited 2011-08-29
Now in wary514
yad-NLS is required to show gtk button text localized
---------------------------------
Bert, rodin.s,
are you using lupq or lupu
| Description |
in lupu525 |
| Filesize |
25.87 KB |
| Viewed |
844 Time(s) |

|
Last edited by L18L on Mon 29 Aug 2011, 15:14; edited 1 time in total
|
|
Back to top
|
|
 |
Bert

Joined: 30 Jun 2006 Posts: 712
|
Posted: Sat 20 Aug 2011, 12:52 Post subject:
|
|
L18L, I'm using Lupu, in fact Three Headed Dog (5.2.9)
I just tested Ymount localization In Wary, with and without yad-NLS, with and without utf-8..
No luck
_________________

|
|
Back to top
|
|
 |
Bert

Joined: 30 Jun 2006 Posts: 712
|
Posted: Sat 20 Aug 2011, 12:54 Post subject:
|
|
Hi again L18L,
What's the gtk20.mo you are using, or rather where did you get it from?
Thanks
_________________

|
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 326 Location: Ukraine
|
Posted: Sat 20 Aug 2011, 15:13 Post subject:
yad_NLS |
|
I'm using Wary-5.1.3. And installation of yad_NLS-0.12.4-w5.pet from Barry's blog helped. On clean system it doesn't work but on localized one it does.
I have the same result as on the picture above.
I've noticed on another yad application - urxvtset that NLS-pet somehow allows localization. urxvtset calls gcolor2 and without yad_NLS pet installed it is in English but with it installed it's in Russian.
|
|
Back to top
|
|
 |
Bert

Joined: 30 Jun 2006 Posts: 712
|
Posted: Sat 20 Aug 2011, 15:51 Post subject:
Re: yad_NLS |
|
| rodin.s wrote: | I'm using Wary-5.1.3. And installation of yad_NLS-0.12.4-w5.pet from Barry's blog helped. On clean system it doesn't work but on localized one it does.
I have the same result as on the picture above. |
Thanks for your testing rodin.s!
So, the plot thickens..L18L is able to get full localization, without the need of yad-NLS and in your testing adding yad-NLS helped to get full translation of the buttons.
Did you add anything to /usr/share/locale/ru/LC_MESSAGES that wasn't part of the pristine Wary-5.1.3?
Thank you! I'm sure we'll find the solution. (What a great forum this is )
_________________

|
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 326 Location: Ukraine
|
Posted: Sat 20 Aug 2011, 16:18 Post subject:
Re: yad_NLS |
|
| Bert wrote: | | Did you add anything to /usr/share/locale/ru/LC_MESSAGES that wasn't part of the pristine Wary-5.1.3? |
I've added a lot of ru.mo files.
yad_NLS contains only mo-files so maybe yad.mo for different languages was already included in Lupu so no NLS-pet was needed.
|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1723 Location: Burghaslach, Germany
|
Posted: Sat 20 Aug 2011, 17:01 Post subject:
ymount Subject description: gtk button texts |
|
Hello Bert and rodin.s,
sorry, I cannot share Bert's hope
ru and de OK
nl not OK
yad has localization for de sk ru and uk.
That is what de and ru have in common.
The gtk button texts are translated by gtk20.mo (Bert, I have used what is in lang_pack)
Maybe a gtk guru can solve the problem.
And I will roll back to text only buttons to be on the safe side.
The new language switcher was just an experiment and I am thinking it is sufficient to use just plain text buttons which are always translated by ymount.mo
The icons on the buttons are really not necessary, we all can read and the language switcher is about text, not about pictures.
Another change will be to correct the following bad behavior:
Trying to mount /initrd/mnt/dev_save (open /mnt/home in rox) results in an error message. I have to change this and then it is version 1.0
Have a nice weekend and
thank you for your help
L
|
|
Back to top
|
|
 |
Bert

Joined: 30 Jun 2006 Posts: 712
|
Posted: Sat 20 Aug 2011, 18:06 Post subject:
|
|
Okay, one last try for today,
| L18L wrote: | sorry, I cannot share Bert's hope Sad
ru and de OK
nl not OK |
But how then did you arrive at this result, with all the buttons correctly localized :
| Description |
|
| Filesize |
25.87 KB |
| Viewed |
782 Time(s) |

|
_________________

|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1723 Location: Burghaslach, Germany
|
Posted: Sun 21 Aug 2011, 05:42 Post subject:
gtk button text Subject description: nl - Nederlands |
|
| Bert wrote: | Okay, one last try for today,
| L18L wrote: | sorry, I cannot share Bert's hope Sad
ru and de OK
nl not OK |
But how then did you arrive at this result, with all the buttons correctly localized : |
wary513
loaded lang_packs: de ru nl
yad-0.12.2-1
| Code: | # locale -a
C
de_DE@euro
de_DE.utf8
en_US
POSIX
# |
That is what we know so far:
- use of LANGUAGE shows languages other than my de !
- LANGUAGE is a list of languages separated by colon
- it is set in the script to: LANGUAGE:$LANG
- it is working with LANG=de and LANG=ru
Perhaps you might try changing your locale (Configure Puppy for your country) to Deutsch or Русский ?
Other lang_packs not needed, the buttons should always show Nederlandse (correct with e ?) language.
Last post for today
My regards
L
|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1723 Location: Burghaslach, Germany
|
Posted: Sat 27 Aug 2011, 13:39 Post subject:
ymount Subject description: maybe final version |
|
| L18L wrote: | | And I will roll back to text only buttons to be on the safe side. |
No roll back but something better now
In Preferences there is a button now
which toggles gtk buttons or text only buttons.
(some changes in translations needed)
Another improvement
/initrd/mnt/dev_save is showing as /mnt/home and can be opened in rox.
Note, no limit in partition numbering, see screenshot.
Separate NLS package to keep package size low.
There is just one language included so that the language switcher has something useful to do.
Have fun
L
Edited 2011-08-29
yad and yad-NLS required
Get NativeLanguageSupport ymount-NLS.pet from
Localization
Edited 2011-09-11
Link to latest version provided always here:
http://www.murga-linux.com/puppy/viewtopic.php?p=557739
| Description |
- |
| Filesize |
38.26 KB |
| Viewed |
1059 Time(s) |

|
| Description |
mount and unmount multiple partitions
|

Download |
| Filename |
ymount-0.9.1.pet |
| Filesize |
10.48 KB |
| Downloaded |
237 Time(s) |
Last edited by L18L on Sun 11 Sep 2011, 09:07; edited 3 times in total
|
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 326 Location: Ukraine
|
Posted: Mon 05 Sep 2011, 06:06 Post subject:
UTF-8 support. |
|
When I mount my USB-flash with ymount Russian characters displayed as '???????'. It's OK with pmount or event manager.
|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1723 Location: Burghaslach, Germany
|
Posted: Mon 05 Sep 2011, 10:14 Post subject:
Re: UTF-8 support. Subject description: Russian on usb-flash |
|
| rodin.s wrote: | | When I mount my USB-flash with ymount Russian characters displayed as '???????'. It's OK with pmount or event manager. |
Now in wary5141
I have tried to reproduce it. (täßt is misspelled for test)
But for me it is not clear where are the '????????'
Is your locale set to utf8 ?
| Description |
|
| Filesize |
41.33 KB |
| Viewed |
685 Time(s) |

|
|
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 326 Location: Ukraine
|
Posted: Mon 05 Sep 2011, 12:56 Post subject:
?????? mount |
|
I found out that this command mounts my USB-flash with no '??????'
| Code: | | # mount /dev/sdc1 /mnt/sdc1 -o shortname=mixed,quiet,utf8 |
I have fixed it. I have changed mount lines in /usr/local/ymount/functions.
| Description |
mounts utf-8
|

Download |
| Filename |
functions.gz |
| Filesize |
3.22 KB |
| Downloaded |
199 Time(s) |
|
|
Back to top
|
|
 |
|