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 Wed 20 Aug 2014, 20:42
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
build_gettext - a gettext utility
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [14 Posts]  
Author Message
don570


Joined: 10 Mar 2010
Posts: 3250
Location: Ontario

PostPosted: Sat 02 Feb 2013, 16:13    Post subject:  build_gettext - a gettext utility  

Here's a useful utility for translators.


Using code I got from forum member RSH
I have built a right click menu utility to convert
mo files to po, then convert them back after you have
edited the po file with your text editor. It seems to work
properly and is quite fast, but I'd like comments....

Instructions : Just rightclick on mo file, edit then rightclick on
po file to convert back to mo

Requirements: devx file for your distribution must be loaded.
There is a warning message if not loaded.( see image)

German and French translations are done. That's all I know Crying or Very sad



_____________________________
build_gettext_NLS-0.4.pet
Description 
pet

 Download 
Filename  build_gettext_NLS-0.4.pet 
Filesize  1.22 KB 
Downloaded  250 Time(s) 
build_gettext-0.7.pet
Description  application
pet

 Download 
Filename  build_gettext-0.7.pet 
Filesize  2.07 KB 
Downloaded  440 Time(s) 

Last edited by don570 on Mon 19 Aug 2013, 18:09; edited 5 times in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3250
Location: Ontario

PostPosted: Mon 04 Feb 2013, 16:51    Post subject: for people without devx file  

If people are frustrated that they must have the devx file loaded
to do translations.....

I have put the dependencies into the pet package so the
user doesn't have to have the devx file loaded...

....But it adds more size to pet package.
Upgraded to version 0.4


Available here: mydrive.ch

Username: porteus@don570
Password: porteus


_______________________________________________

Last edited by don570 on Sat 09 Feb 2013, 14:08; edited 1 time in total
Back to top
View user's profile Send private message 
Speedyluck

Joined: 30 Jan 2010
Posts: 48

PostPosted: Wed 06 Feb 2013, 05:47    Post subject:  

Thank, good.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3250
Location: Ontario

PostPosted: Sat 09 Feb 2013, 14:12    Post subject:  

new version 0.4

I didn't put the pot file for translations in the right folder Embarassed

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


Joined: 30 Jun 2006
Posts: 923

PostPosted: Thu 25 Apr 2013, 11:50    Post subject:  

Hi Don,

Just discovered your app late last night and briefly played with it.

It sure looks like a very nice and efficient tool. It doesn't have the 'omnipotence' of momanager, but then it also doesn't have momanager's quirkiness.

The way I see it now is that it compliments momanager very well.
Fast and ideal for quickly changing the mo-file text.

I have not yet tried it with devx unplugged. But that possibility is of course appealing...

Is it correct to conclude 'build-gettext' is kind of 'NoArch' and can be used in all flavours of Puppy?

I'm surprised you did not get more replies to this thread...
Wonder what the localisation experts here think about it.

Maybe they can see a conflict between your app and the way Barry has set up internationalisation? (I'm not aware of such conflict, but that doesn't say much Laughing )

Thanks.

_________________


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


Joined: 10 Mar 2010
Posts: 3250
Location: Ontario

PostPosted: Thu 25 Apr 2013, 14:52    Post subject:  

I find it useful to take a quick look inside a mo file.
_____________________________________________

Quote:
I have not yet tried it with devx unplugged. But that possibility is of course appealing...

Yes it's very useful Try it! Download the file from the second post from top.

_________________________________________________

There are some useful one line commands on this page.
The commands require the devx file to be loaded.


For instance to create a pot file from a script

Code:
xgettext -L shell script -o script.pot


Then I ask people to fill out the pot file with their translations.

By the way if you want a Dutch version of my right click package
then fill out the pot file HERE

_______________________________________
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 2403
Location: France

PostPosted: Sun 07 Jul 2013, 09:07    Post subject:  

@ Don570
I just tested build_gettext-plus-0.5.pet with Lucid528.
It works perfectly!
Congratulations and thank you.
Back to top
View user's profile Send private message Visit poster's website 
R-S-H

Joined: 18 Feb 2013
Posts: 490

PostPosted: Sun 07 Jul 2013, 09:59    Post subject:  

ASRI éducation wrote:
@ Don570
I just tested build_gettext-plus-0.5.pet with Lucid528.
It works perfectly!
Congratulations and thank you.

Hi, ASRI éducation.

This here application (just like the Puppy Online Updater) is another good example, that there is sometimes a need for a script to be taken over by another developer.

I wrote this script in November 2011 using a GUI at first stage.

In Sep 2012 I published this as a right click utility.

Both versions did need to have the devx loaded.

I was not able to work around this getting a version without the need to have the devx loaded, but don570 was able to do this.

So, sometimes there is a need for a script to be taken over by another developer, to bring the functionality of a script a step forward, maybe to its maximum.

Until today I did not notice that there is this here version available!

So, I have to say thank you to both of you, for developing now the build_gettext and the Puppy Online Updater!

RSH

_________________
LazY Puppy Home
The new LazY Puppy Information Centre

Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 2403
Location: France

PostPosted: Tue 09 Jul 2013, 07:02    Post subject:  

R-S-H wrote:
...
This here application (just like the Puppy Online Updater) is another good example, that there is sometimes a need for a script to be taken over by another developer.
...
So, sometimes there is a need for a script to be taken over by another developer, to bring the functionality of a script a step forward, maybe to its maximum.
...
So, I have to say thank you to both of you, for developing now the build_gettext and the Puppy Online Updater!
...

This is one of the benefits of free licence.
It is possible to explore several possibilities.

I would remind you that you're the first author of these scripts. Despite our modest variations, I hope you do not abandon your search (you are an exellent developer, we need you).

Together, if our participation can free yourself of free time, this will allow you to create new utilities.

We're better when we work together!
Wink
Back to top
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 3250
Location: Ontario

PostPosted: Sat 10 Aug 2013, 12:40    Post subject:  

build_gettext - New version 0.6


I made a fix so that Sinobar's SFS loader on- the-fly
can be used to load the devx file ---> very convenient Wink
This avoids the need to reboot and have a Pupsave file
_____________________________________

This is available in my right click utiilty for recent puppies

http://murga-linux.com/puppy/viewtopic.php?p=718206#718206

_________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3250
Location: Ontario

PostPosted: Sat 17 Aug 2013, 16:00    Post subject:  

version 0.7

Deleted the desktop file that accidently was installed in package Embarassed

____________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3250
Location: Ontario

PostPosted: Mon 19 Aug 2013, 18:10    Post subject:  

I didn't package build_gettext_NLS-0.4.pet correctly.

It is now without the troublesome desktop file.

_
Back to top
View user's profile Send private message 
nilsonmorales


Joined: 15 Apr 2011
Posts: 474
Location: El salvador

PostPosted: Sun 10 Nov 2013, 19:17    Post subject:  

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

_________________
My blog


Back to top
View user's profile Send private message MSN Messenger 
nilsonmorales


Joined: 15 Apr 2011
Posts: 474
Location: El salvador

PostPosted: Sun 10 Nov 2013, 21:38    Post subject:  

please sorry i put this in a wrong place
http://www.murga-linux.com/puppy/viewtopic.php?t=90134

_________________
My blog


Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [14 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
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.0816s ][ Queries: 13 (0.0037s) ][ GZIP on ]