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=.


Reply via email to