|Version 1 (modified by coolRR, 5 years ago) (diff)|
Common causes for translation problems
Did you ever make a website that uses i18n, and diligently populated your messages file, only to find that some strings just don't get translated? This page lists common causes for these kinds of problems.
In your message file, try removing the "fuzzy" line.
ForeignKey without verbose_name parameter
In your models, make sure that your ForeignKey fields get a verbose_name parameter. Like this:
parent = models.ForeignKey('self', verbose_name=_('Parent'))
Model methods without short_description attribute
If Django is displaying the name of some model method, it should have a short_description attribute. Like this:
def website_context(self): return 'bla bla' website_context.short_description = _('Website context')