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 Sat 20 Dec 2014, 23:23
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
pProcess language support
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 3 [36 Posts]   Goto page: Previous 1, 2, 3
Author Message
zigbert


Joined: 29 Mar 2006
Posts: 5813
Location: Valåmoen, Norway

PostPosted: Tue 28 Aug 2012, 01:12    Post subject:  

should I include *.po and *.pot files into the NLS package or does these belong another place?


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 2619
Location: www.eussenheim.de/

PostPosted: Tue 28 Aug 2012, 03:51    Post subject:  

zigbert wrote:
should I include *.po and *.pot files into the NLS package..


Short answer: No.

Long answer: Just the .mo file is sufficient for running the script in the native language.

Thanks to BarryK who invented momanager which automagically creates -
- .pot (tool: xgettext) and
- .po (tools: msginit, msgmerge)
- lets .po translate in poeditor (if installed) or defaulttexteditor
- generates new .mo after closing of editor
- creates a .tgz of this translation countaining just the .mo in the correct path Cool

Thus storing and distributing .pot and .po is not necessary. for scripted applications(!).

Some exceptions from this:
- Somehow buggy scripts (alsaconf)
- Translations for C programs (example: retrovol)
need .pot file because they are not automatically created by momanager.
- ???

updated momanager HOWTO

---
edited: msgmerge added

Last edited by L18L on Tue 28 Aug 2012, 08:09; edited 1 time in total
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5813
Location: Valåmoen, Norway

PostPosted: Tue 28 Aug 2012, 04:43    Post subject:  

L18L wrote:
- Translations for C programs (example: retrovol)
need .pot file because they are not automatically created by momanager.
Now I get it.... Some guys never seem to learn.


Thank you
Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
vicmz


Joined: 15 Jan 2012
Posts: 1154

PostPosted: Tue 28 Aug 2012, 11:13    Post subject:  

zigbert wrote:
Now I get it.... Some guys never seem to learn.

My bad(?) Laughing
I should stop posting after midnight Laughing
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5813
Location: Valåmoen, Norway

PostPosted: Tue 28 Aug 2012, 14:51    Post subject:  

Quote:
My bad(?) Laughing

I was talking about the dude I meet every morning in the mirror Very Happy

_________________
Stardust resources

Last edited by zigbert on Wed 29 Aug 2012, 11:18; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5813
Location: Valåmoen, Norway

PostPosted: Wed 29 Aug 2012, 11:17    Post subject:  

I forgot to mention that Spanish is included in the main NLS-pack.
See first post.


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 3 of 3 [36 Posts]   Goto page: Previous 1, 2, 3
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.0513s ][ Queries: 13 (0.0046s) ][ GZIP on ]