On Sun, Aug 12, 2007 at 07:07:54AM -0700, Heba wrote: > i add already to django.po and then i compiled > but when i re-run "make-messages.py" after adding trans to the > template, i got my parts in the django.py file hashed like that: > > #~ msgid "Hello World" > #~ msgstr "مرحبا العالم" > > #~ msgid "Welcome" > #~ msgstr "أهلا" > > #~ msgid "Hello World Home" > #~ msgstr "مرحبا العالم - الصفحة الرئيسية"
Hmm, this is ok for messages that are not used any more. Are there any other msgids? Any entries marked for translation (with _() in .py files and with {% trans %} in templates) should still be there after re-running make-messages.py, like this: msgid "Hello World" msgstr "مرحبا العالم" msgid "Welcome" msgstr "أهلا" msgid "Hello World Home" msgstr "مرحبا العالم - الصفحة الرئيسية" If the .po file contains all messages you want, run compile-messages.py. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---