Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 02 Sep 2014, 08:32
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
"i18n-tools": Using MoManager without having Devx loaded
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [26 Posts]   Goto page: Previous 1, 2
Author Message
Bert


Joined: 30 Jun 2006
Posts: 927

PostPosted: Mon 11 Nov 2013, 07:16    Post subject:  

Thanks for reporting this vicmz.

When I tested this service (e-nautia), I always had good results, both uploading and downloading.

I will change to another file host immediately , if this happens to more people. For now, let's hope it was a momentary hiccup...

_________________


Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 927

PostPosted: Mon 11 Nov 2013, 08:55    Post subject:  

nilsonmorales wrote:
]test in puppy-es night rc

I had to add these libraries from the devx
libgettextlib-0.18.so
libgettextsrc-0.18.1.so

outdated devx maybe
everything looks good so far


[I copied the above to this thread, as it had arrived in a wrong one.]

Thank you for testing!
Do you know what Puppy-version puppy-es night rc is based on?

_________________


Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 927

PostPosted: Mon 11 Nov 2013, 13:29    Post subject:  

New version uploaded Smile

See first post.

_________________


Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 927

PostPosted: Sat 23 Nov 2013, 15:45    Post subject:  

Hi all,

I had to stop wagging my tail to announce an unexpected problem:

When I use i18n-tools for editing existing translations in Momanager (scripts in left column), I get the "bad news" error.

I tested i18n-tools only by making new translations and that went flawlessly. Should of course have tested editing existing translations too. Embarassed

As soon as I load devx, everything is back to normal again.
So it seems something is still missing from i18n-tools.

I've searched and searched, but it is beyond my understanding.

It could also be some corruption in my copy of Puppy (Precise), as it has probably seen too many risky experiments Wink

What would be really great is if someone(..s) would give editing existing translated scripts a quick try with i18n-tools loaded and, of course, devx unloaded.

Thank you!

_________________


Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Fri 20 Dec 2013, 13:48    Post subject: "i18n-tools": Using MoManager without having Devx loaded  

Bert wrote:
What would be really great is if someone(..s) would give editing existing translated scripts a quick try with i18n-tools loaded and, of course, devx unloaded.

Quick try in latest FFMM:
Code:
#131220 without complete devx

Code:
MISSINGFILE=""
#[ "`which intltool-update`" = "" ] && MISSINGFILE="intltool-update " #131220
[ "`which xgettext`" = "" ] && MISSINGFILE="${MISSINGFILE}xgettext "
[ "`which msginit`" = "" ] && MISSINGFILE="${MISSINGFILE}msginit "
[ "`which msgfmt`" = "" ] && MISSINGFILE="${MISSINGFILE}msgfmt "
[ "`which msgunfmt`" = "" ] && MISSINGFILE="${MISSINGFILE}msgunfmt "
[ "`which msgmerge`" = "" ] && MISSINGFILE="${MISSINGFILE}msgmerge "
[ "`which urxvt`" = "" ] && MISSINGFILE="${MISSINGFILE}urxvt " #130610

copied from devx:
/usr/bin/xgettext msginit msmerge msgfmt msgunfmt
and (the missing)
/usr/lib/libgettextsrc.so -> libgettextsrc-0.18.1.so (file and link)
and libgettextlib.so -> libgettextlib-0.18.1.so (file and link)

They need to be exactly the same as in devx (ARM and FAt64 also exist)
You could try to make a script that fetches these files from devx
for later use without devx Idea

Note, intltool* is used no more.
edit_mo_without_devx.png
 Description   
 Filesize   64.77 KB
 Viewed   230 Time(s)

edit_mo_without_devx.png

Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 927

PostPosted: Sat 21 Dec 2013, 10:37    Post subject:  

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 Cool

_________________


Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sat 21 Dec 2013, 12:23    Post subject:  

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
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sat 04 Jan 2014, 08:13    Post subject: "i18n-tools": Using MoManager without having Devx loaded
Subject description: recent MoManager
 

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
Back to top
View user's profile Send private message 
mariojrmatos


Joined: 03 Jan 2014
Posts: 7
Location: OFC: PT and NL | DMA: Worldwide

PostPosted: Tue 21 Jan 2014, 13:28    Post subject:  i18n-tools
Subject description: amazingly useful “little” tool
 

Laughing

Great (and amazingly useful “little”) tool!
i18n-tools helped me a lot recently and was quite an assistance.... (see why)

Now I can't see myself going back to the “old way” of mounting the sfs files.
Thank you, Bert!


(I used i18n-tools on Precise Puppy 5.7.1 with MoManager 20140104, Poedit 1.4.2.4 and gettext 0.7)


__________________
Puppy Linux em português de Portugal (pt_PT) | Puppy Linux em português do Brasil (pt_BR: brevemente)
Back to top
View user's profile Send private message Visit poster's website 
Bert


Joined: 30 Jun 2006
Posts: 927

PostPosted: Wed 22 Jan 2014, 07:34    Post subject:  

Hi Mario,

Glad it is useful for you!

I hope however i18n-tools will have no future Shocked Very Happy
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.

_________________


Back to top
View user's profile Send private message 
mariojrmatos


Joined: 03 Jan 2014
Posts: 7
Location: OFC: PT and NL | DMA: Worldwide

PostPosted: Wed 22 Jan 2014, 09:32    Post subject:  

Quote:

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”).
Wink

Quote:

L18L and Barry are showing the way forward

They are indeed. However, until that stage of maturity, i18n-tools will have a special place in the workflow of those working on Puppy's languages packages.
Laughing
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 2 [26 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

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
[ Time: 0.0783s ][ Queries: 12 (0.0045s) ][ GZIP on ]