#2258: [PATCH] merge looses translations
------------------------+---------------------------------------------------
Reporter: rejoc | Owner: Chris Arndt
Type: defect | Status: new
Priority: normal | Milestone: 1.1b4
Component: I18n | Version: 1.1 HEAD
Severity: normal | Resolution:
Keywords: i18n merge |
------------------------+---------------------------------------------------
Comment (by rejoc):
Replying to [comment:3 Gustavo]:
> If it was as simple as having xgettext (or equivalent) merging
duplicate messages, I bet you it had been implemented in the official
tools many years ago.
>
Give it a try and you'll see that xgettext on a collection of files
handles duplicate messages and merge them like this :
{{{
xgettext *.py
}}}
gives the following record in messages.po file
{{{
#: test2.py:2 test.py:2 test.py:4 test.py:7
msgid "some duplicated text"
msgstr ""
}}}
--
Ticket URL: <http://trac.turbogears.org/ticket/2258#comment:4>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---