build_gettext - a gettext utility

Miscellaneous tools
Post Reply
Message
Author
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

build_gettext - a gettext utility

#1 Post by don570 »

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 :cry:

Image

_____________________________
Attachments
build_gettext_NLS-0.4.pet
(1.22 KiB) Downloaded 736 times
build_gettext-0.7.pet
application
(2.07 KiB) Downloaded 977 times
Last edited by don570 on Mon 19 Aug 2013, 22:09, edited 5 times in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

for people without devx file

#2 Post by don570 »

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, 18:08, edited 1 time in total.

Speedyluck
Posts: 49
Joined: Sat 30 Jan 2010, 19:25

#3 Post by Speedyluck »

Thank, good.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#4 Post by don570 »

new version 0.4

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

_

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

#5 Post by Bert »

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 :lol: )

Thanks.
[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
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#6 Post by don570 »

I find it useful to take a quick look inside a mo file.
_____________________________________________
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: Select all

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

_______________________________________

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#7 Post by ASRI éducation »

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

R-S-H
Posts: 487
Joined: Mon 18 Feb 2013, 12:47

#8 Post by R-S-H »

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
[b][url=http://lazy-puppy.weebly.com]LazY Puppy Home
The new LazY Puppy Information Centre[/url][/b]

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#9 Post by ASRI éducation »

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:

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#10 Post by don570 »

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. ... 206#718206

_________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#11 Post by don570 »

version 0.7

Deleted the desktop file that accidently was installed in package :oops:

____________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#12 Post by don570 »

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

It is now without the troublesome desktop file.

_

User avatar
nilsonmorales
Posts: 972
Joined: Fri 15 Apr 2011, 14:39
Location: El Salvador

#13 Post by nilsonmorales »

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
[b][url=http://nilsonmorales.blogspot.com/]My blog |[/url][/b][b][url=https://github.com/woofshahenzup]| Github[/url][/b]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]

User avatar
nilsonmorales
Posts: 972
Joined: Fri 15 Apr 2011, 14:39
Location: El Salvador

#14 Post by nilsonmorales »

please sorry i put this in a wrong place
http://www.murga-linux.com/puppy/viewtopic.php?t=90134
[b][url=http://nilsonmorales.blogspot.com/]My blog |[/url][/b][b][url=https://github.com/woofshahenzup]| Github[/url][/b]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]

Post Reply