Django ugettext strings not taken into account for translation
|Reported by:||artscoop93.info@…||Owned by:||nobody|
|Severity:||Normal||Keywords:||makemessages, template, filter, filesizeformat|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I have been trying to do l10n on strings provided by the filesizeformat template filter.
These strings are file size units (eg. KB, MB, GB), and are marked for translation with the use of ugettext.
But, alas, they are not in Django's default .po file, and not found either with the makemessages command, therefore I cannot translate those strings to other languages.
I have found (or understood) nothing about this in the docs. LOCALE_PATHS does obviously not help (since the app has no locale folder). I file this because it could be a bug (by omission). Or one could provide a way to handle this.
Change History (6)
comment:1 Changed 2 years ago by claudep
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Resolution set to needsinfo
- Status changed from new to closed