#7220 closed defect (invalid)
locale not found error because of (wrong: typo in setup.py) missing compilation before egg build
Reported by: | anonymous | Owned by: | Steffen Hoffmann |
---|---|---|---|
Priority: | high | Component: | WikiTicketCalendarMacro |
Severity: | major | Keywords: | locale compile_catalog |
Cc: | Ryan J Ollos | Trac Release: | 0.12 |
Description
in setup.py
I had to change: 'locale/*/LC_MESSAGS/*.mo'
in: 'locale/*/LC_MESSAGS/*.po'
else I got an error complaining about missing wikiticketcalendar/locale
the ticket system was complaining about keyword "MESSAG3", so i could not post this BUG. is that another bug?
Attachments (0)
Change History (5)
comment:1 Changed 15 years ago by
Owner: | changed from Ryan J Ollos to Steffen Hoffmann |
---|
comment:2 Changed 15 years ago by
Cc: | Ryan J Ollos added; anonymous removed |
---|---|
Keywords: | compile_catalog added; wikiticketcalendar/locale removed |
Resolution: | → invalid |
Severity: | normal → major |
Status: | new → closed |
Summary: | locale not found error because of typo in setup.py → locale not found error because of (wrong: typo in setup.py) missing compilation before egg build |
This is not a bug, this is the feature.
Did you try with you modification? Certainly not. Think twice, please: PO files are verbatim translations for development, but MO are what gettext will use in the end. If you get an error complaining about missing locale
dir, this is only for the fact, that you missed to actually compile any catalog with
python ./setup.py compile_catalog
before you make the egg. With a PO in your egg you'd never see any translated text. So the error is correct, your complaint and proposed solution is invalid.
However I'll happily accept a documentation bug against the wiki page, because I did give no pointer for novice in the field of i18n/l10n.
Sorry for the inconvenience, documentation will be improved instantly.
comment:4 Changed 14 years ago by
comment:5 Changed 14 years ago by
Please ignore the above. I put the wrong ticket number in my commit message. Should have been #7720. :(
Reassigning to hasienda, who has been doing the development.