CARVIEW |
Select Language
HTTP/2 200
server: nginx
content-type: text/html;charset=utf-8
cache-control: must-revalidate
expires: Fri, 01 Jan 1999 00:00:00 GMT
set-cookie: trac_form_token=dad3214adeb46fe60fe391d1; HttpOnly; Path=/; Secure
set-cookie: trac_session=c1841568b20454f9fee28e7d; expires=Tue, 21 Oct 2025 05:44:42 GMT; HttpOnly; Path=/; Secure
strict-transport-security: max-age=31536000; includeSubDomains; preload
permissions-policy: interest-cohort=()
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
accept-ranges: bytes
via: 1.1 varnish, 1.1 varnish
date: Wed, 23 Jul 2025 05:44:42 GMT
x-served-by: cache-fra-eddf8230053-FRA, cache-bom-vanm7210028-BOM
x-cache: MISS, MISS
x-cache-hits: 0, 0
x-timer: S1753249483.620246,VS0,VE334
vary: Accept-Encoding
CommonCausesForTranslationProblems – Django
Back to Top
Django
The web framework for perfectionists with deadlines.
Issues
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.
Fuzzy
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.
Example:
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.
Example:
def website_context(self): return 'bla bla' website_context.short_description = _('Website context')
Last modified
15 years ago
Last modified on Mar 25, 2010, 7:06:13 AM
Note:
See TracWiki
for help on using the wiki.
Download in other formats:
Django Links
Learn More
Get Involved
Follow Us
- Hosting by In-kind donors
- Design by Threespot &
© 2005-2025 Django SoftwareFoundation unless otherwise noted. Django is a registered trademark of the Django Software Foundation.