Page 4 of 6

ymount

Posted: Sat 20 Aug 2011, 11:31
by L18L
Iguleder,
thank you for your comment but ymount did not succed international quality control yet :lol:

rodin.s and Bert,
thank you for reporting.
I have corrected the language names in /usr/l0cal/ymount/lang_list

Code: Select all

ru Ру

Posted: Sat 20 Aug 2011, 12:10
by Bert
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!

ymount

Posted: Sat 20 Aug 2011, 12:22
by L18L
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 :?:

Posted: Sat 20 Aug 2011, 16:52
by Bert
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 :(

Posted: Sat 20 Aug 2011, 16:54
by Bert
Hi again L18L,

What's the gtk20.mo you are using, or rather where did you get it from?
Thanks

yad_NLS

Posted: Sat 20 Aug 2011, 19:13
by rodin.s
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.

Re: yad_NLS

Posted: Sat 20 Aug 2011, 19:51
by Bert
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 8) )

Re: yad_NLS

Posted: Sat 20 Aug 2011, 20:18
by rodin.s
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.

ymount

Posted: Sat 20 Aug 2011, 21:01
by L18L
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. :lol:

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

Posted: Sat 20 Aug 2011, 22:06
by Bert
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 :

gtk button text

Posted: Sun 21 Aug 2011, 09:42
by L18L
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: Select all

# 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 Ру

ymount

Posted: Sat 27 Aug 2011, 17:39
by L18L
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

UTF-8 support.

Posted: Mon 05 Sep 2011, 10:06
by rodin.s
When I mount my USB-flash with ymount Russian characters displayed as '???????'. It's OK with pmount or event manager.

Re: UTF-8 support.

Posted: Mon 05 Sep 2011, 14:14
by L18L
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 ?

?????? mount

Posted: Mon 05 Sep 2011, 16:56
by rodin.s
I found out that this command mounts my USB-flash with no '??????'

Code: Select all

# mount /dev/sdc1 /mnt/sdc1 -o shortname=mixed,quiet,utf8
I have fixed it. I have changed mount lines in /usr/local/ymount/functions.

Re: ?????? mount

Posted: Mon 05 Sep 2011, 19:14
by L18L
rodin.s wrote:I found out that this command mounts my USB-flash with no '??????'

Code: Select all

# mount /dev/sdc1 /mnt/sdc1 -o shortname=mixed,quiet,utf8
I have fixed it. I have changed mount lines in /usr/local/ymount/functions.
Our international quality controlling is working well :D

I think version 1.0 has to come out soon.

Thank you very much.

ymount

Posted: Sun 11 Sep 2011, 12:18
by L18L
Here is version 1.0 of ymount, mount or unmount multiple partitions.

New:
Sizes (Gig, Meg or K) can be set in preferences now.
G might be useful for owners of T devices
K is still useful for floppies :)

fixes might be of interest for non-English users only:
rodin.s's fix applied for fs type unknown
no more dependent of yad-NLS if latest version of ymount_NLS.pet
is installed

Have fun
L

Edited 2011-09-15
Do NOT use this version.
Link to latest stable version provided always here:
http://www.murga-linux.com/puppy/viewtopic.php?p=557739

Posted: Sun 11 Sep 2011, 12:40
by Bert
Thank you L18L!

Wow, version 1.0 Congrats!


No problems to report :wink:

ymount

Posted: Sun 11 Sep 2011, 13:55
by L18L
Bert wrote:Thank you L18L!

Wow, version 1.0 Congrats!


No problems to report :wink:
Glad you are happy :)
Let us hope that rodin.s is happy, too :wink:

Testers of CD/DVD and floppies ?

I have questions, ymount.mo

Posted: Sun 11 Sep 2011, 16:28
by rodin.s
I have questions in file names but I guess I know how to fix it. And also ru.mo in NLS pet should be renamed to ymount.mo.