"i18n-tools": Using MoManager without having Devx loaded

For efforts in internationalising Puppy and solving problems in this area
Message
Author
User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#21 Post by Bert »

This is really good news L18L!
I was about to give up on i18n-tools...

It is working just fine in Precise 5.7.1.
It seems your latest FFMM (131219) is needed though. Testing with an older FFMM gave me the Bad News error again, while trying to edit an existing mo file. So you must have done something clever to enable this!

At the moment I'm downloading as many devx's as I can, to compare the gettext-libraries. First impression was that it was going to be easy: create a new i18n-tools with the few needed libraries included in a one-size-fits-all package.

But then I saw this:

* libgettextlib-0.17.so for fd64: size: 1053K
* libgettextlib-0.17.so for Quirky: size: 951K
* libgettextlib-0.18.1.so for Slacko: size: 821K
* libgettextlib-0.18.1.so for Precise: size: 215K

* libgettextsrc-0.17.so for fd64: size: 200K
* libgettextsrc-0.17.so for Quirky: size: 173K
* libgettextsrc-0.18.1.so for Slacko: size: 249K
* libgettextsrc-0.18.1.so for Precise: size: 251K

So I will have to be careful and test every pup I can, before posting a new i18n-tools!
But it looks like we're close to a reliable solution, thanks to your help 8)
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

#22 Post by L18L »

From momanager's comments:
#120731 multiple scripts can have the same TEXTDOMAIN. these scripts can be anywhere. a single .pot will be created/edited.
#120926 want to accumulate many .desktop files (not just for installed pkgs), in /usr/share/applications.in.
#121124 edit script_strings.*, 'read -r' so backslash chars are not escapes.
#130502 L18L/BK: stay in a loop if there is an error converting .po to .mo.
#130503 test if .po file changed.
#130503 L18L: rename AppInfo.xml to AppInfo.xml.in for langpack
#130505 L18L: quick version: caching variables in CACHE/... from 2m to 2s
#130512 acknowledge new translators, deleting /tmp/momanager
#130519 L18L bug fix: instead of APKGNAME use ASCRIPT, DESKFILE, XMLFILE, ABIN; code for sss and menu categories unchanged
#130520 L18L bug fix: multiple scripts for 1 TEXTDOMAIN
#130521 L18L bug fix binaries, update NOCNT,YESCNT
#130522 L18L bug fix 1 line NOXML_XML and multiple scripts
#130525 L18L replace intltool-update by msgmerge
#all following updates by L18L
#130602 sort binaries, sort scripts case insensitive by basename

Before replace intltool-update by msgmerge there was
intltools-update
and
msgmerge as fallback on errors.

The idea was simply to always and only use fallback method msgmerge. realized 130525 and forgotten!

As for the different versions I think you can try to take just one for each of the architectures
-x32 (precise or slacko or.... should not matter, I hope)
-x64
-arm

Have a nice weekend

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

"i18n-tools": Using MoManager without having Devx loaded

#23 Post by L18L »

recent MoManager is also for Fatdog and Quirky, gettext and t12s, with and without devx.

I have used momanager in Quirky without devx, just installed package gettext from repo.

Maybe this could be the way for your i18n-tools:
find gettext package in repo of distribution (*ubu*, deb, slak)
and install it.

Gelukkig Nieuwjaar

User avatar
mariojrmatos
Posts: 12
Joined: Fri 03 Jan 2014, 18:32
Location: OFC: PT and NL | DMA: Worldwide
Contact:

i18n-tools

#24 Post by mariojrmatos »

:lol:

Great (and amazingly useful “little

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#25 Post by Bert »

Hi Mario,

Glad it is useful for you!

I hope however i18n-tools will have no future :shock: :D
and all Puppys will be able to use Momanager out of the box, without having to load/install devx!

L18L and Barry are showing the way forward :wink:

Regards.
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

User avatar
mariojrmatos
Posts: 12
Joined: Fri 03 Jan 2014, 18:32
Location: OFC: PT and NL | DMA: Worldwide
Contact:

#26 Post by mariojrmatos »

I hope however i18n-tools will have no future and all Puppys will be able to use Momanager out of the box, without having to load/install devx!
I certainly agree (and that will be a great step towards more easy porting of Puppy to other languages). I suspect that is due to having to load devx that I was recently hit with an error (“SFS-Load: fatal: fail to add '/initrd/pup_ro6' to unionfs

Post Reply