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 Thu 20 Jun 2013, 01:10
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 [6 Posts]  
Author Message
don570


Joined: 10 Mar 2010
Posts: 2533
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-0.4.pet
Description  right click utility
pet

 Download 
Filename  build_gettext-0.4.pet 
Filesize  2.46 KB 
Downloaded  95 Time(s) 
build_gettext_NLS-0.4.pet
Description  German and French foreign translations
pet

 Download 
Filename  build_gettext_NLS-0.4.pet 
Filesize  1.49 KB 
Downloaded  95 Time(s) 

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


Joined: 10 Mar 2010
Posts: 2533
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: 2533
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: 741

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: 2533
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 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 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.0500s ][ Queries: 13 (0.0042s) ][ GZIP on ]