The time now is Wed 19 Jun 2013, 06:08
All times are UTC - 4 |
|
Page 3 of 3 Posts_count |
Goto page: Previous 1, 2, 3 |
| Author |
Message |
zigbert

Joined: 29 Mar 2006 Posts: 5292 Location: Valåmoen, Norway
|
Posted: 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
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1800 Location: Burghaslach, Germany
|
Posted: 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
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
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5292 Location: Valåmoen, Norway
|
Posted: 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
|
|
 |
vicmz

Joined: 15 Jan 2012 Posts: 645
|
Posted: Tue 28 Aug 2012, 11:13 Post_subject:
|
|
| zigbert wrote: | | Now I get it.... Some guys never seem to learn. |
My bad(?)
I should stop posting after midnight
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5292 Location: Valåmoen, Norway
|
Posted: Tue 28 Aug 2012, 14:51 Post_subject:
|
|
| Quote: | My bad(?)  |
I was talking about the dude I meet every morning in the mirror
_________________ Stardust resources
Edited_times_total
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5292 Location: Valåmoen, Norway
|
Posted: 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
|
|
 |
|
|
Page 3 of 3 Posts_count |
Goto page: Previous 1, 2, 3 |
|
|
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.0439s ][ Queries: 13 (0.0050s) ][ GZIP on ] |