Hi all,
  I get several question regarding i18n.

1. I use  python manage.py makemessages -l zh_CN to generate po file.
    I see locale\zh_CN\LC_MESSAGES\django.pot under the project folder.
    So, is .pot correct? I remember it's .po in the past...

2. when compiling, got this:
    processing file django.po in 
D:\workspace43\Portal\locale\zh_CN\LC_MESSAGES
D:\workspace43\Portal\locale\zh_CN\LC_MESSAGES\django.po:134: duplicate 
message definition...
D:\workspace43\Portal\locale\zh_CN\LC_MESSAGES\django.po:79: ...this is the 
location of the first definition
msgfmt: found 1 fatal error

   I use poedit to open the file, indeed, has two line with same msgid, but 
in different template file.
   How this happened? or how to fix this?

3. Looked into the po file, e.g. one line like this:
#: .\mytheme\templates\base.html.py:135
msgid "Powered by"

but, actually, the line is 134 in that template, not 135
Why?

Thanks.
Wesley

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to