#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:1 Gustavo]:
 > That's the default and intended behavior, therefore I think it should be
 documented instead of changing it by default. See also #2257.

 Is this the intented behaviour ?

 There are cases where, if you do the following
 {{{
 tg-admin i18n collect
 tg-admin i18n add fr
 ... edit .po file to add translations to some of the msgids
 tg-admin i18n compile
 # you get your translations.
 tg-admin i18n merge  # no collect so .pot is the same
 tg-admin i18n compile
 }}}
 you loose some of your translations :-(


 Within tg-admin, compile takes the last non empty translation as the valid
 one. I found reasonable for merge to use the same method.

 This is what the patch provides. No more.

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2258#comment:2>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to