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 01 Oct 2014, 18:29
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 Posts_count   Goto page: Previous 1, 2, 3
Author Message
zigbert


Joined: 29 Mar 2006
Posts: 5729
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_website 
L18L

Joined: 19 Jun 2010
Posts: 2507
Location: Moved from Hosla to 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

Edited_time_total
Back to top
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5729
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_website 
vicmz


Joined: 15 Jan 2012
Posts: 1115

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

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
zigbert


Joined: 29 Mar 2006
Posts: 5729
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_website 
Display_posts:   Sort by:   
Page 3 of 3 Posts_count   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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0508s ][ Queries: 13 (0.0051s) ][ GZIP on ]