Hello Christian Boss, I thing you are right - extract_messages overwrited message.pot file, so I lost my entries, maybe because of bad msgid.
But I still don't know how to force extract_messages to extract messages I am missing - for example string: "change from " from trac/ticket/web_ui.py:1592. I am sure that this string is shown in tickat changes and it should be translated, but I can't find it in catalog (.po or .pot). Thank you for your help. Jan Hadas On Wed, Nov 18, 2009 at 12:55 PM, Christian Boos <[email protected]> wrote: > Hello Jan, > > Jan Hadas wrote: > > I am trying to localize Trac, how it is described on page: > > http://trac.edgewall.org/wiki/TracL10N. > > > > If I am just editing messages(strings msgstr) from catalog .po, a > > practis from this page works well. > > But there are not all messages in the catalog - I have to add some > > missing messages into catalog. > > > > > > You seem to have missed the extraction step. > > > So I edited template catalog file (.pot), catalog file (.po), a tried > > update_catalog - OK, compile_catalog - OK, trac install - OK, but the > > messages I have added into catalog doesn't work. > > > > Probably because you got the msgid wrong, which is why this is an > automated process. > Run extract_messages the same way you did with update_catalog and > compile_catalog, it should then work. > > Once you're done, don't forget to contribute your translations, thanks! > > -- Christian > > > I have Trac0.12 revision 8812-py2.6. I tried to add this entry into > > template catalog file (messages.pot): > > > > #: trac/ticket/web_ui.py:1592 > > msgid "changed from" > > msgstr "" > > > > And i have this in messages.po: > > > > #: trac/ticket/templates/ticket.html:71 trac/ticket/web_ui.py:1592 > > msgid "changed from" > > msgstr "změněno z" > > > > -- > > You received this message because you are subscribed to the Google Groups > "Trac Users" group. > To post to this group, send email to [email protected]. > For more options, visit this group at > http://groups.google.com/group/trac-users?hl=. > > > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=.
