#16298: Gettext by default on generated labels
---------------------------------------+------------------------------
Reporter: vzima | Owner: nobody
Type: New feature | Status: closed
Milestone: | Component: Translations
Version: 1.3 | Severity: Normal
Resolution: wontfix | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------+------------------------------
Comment (by vzima):
Replying to [comment:1 aaugustin]:
> If I understand correctly, the idea is to make this definition of `Meta`
unnecessary:
> One problem is that, if "stuff" and "stuffs" don't appear in `Meta`,
they will no longer be discovered by `makemessages`.
No only that, mostly I have this problem with form fields such as
{{{
class SomeForm(forms.Form):
name = forms.CharField(_('Name'))
address = forms.CharField(_('Address'))
country = forms.CharField(_('Country'))
}}}
For me this looks much worse than problem of discovery. Especially when
adding extra translations could be done easily in LOCALE_PATHS. Create
files with translations for such labels can be easily done by hand and
does not have to be generated.
--
Ticket URL: <https://code.djangoproject.com/ticket/16298#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.