Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1075147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T21:14:00+00:00 2026-05-16T21:14:00+00:00

I have a reasonably simple Django (1.1) site where i need some basic interface

  • 0

I have a reasonably simple Django (1.1) site where i need some basic interface and other texts to be translated between two languages. I’ve created the po files using manage.py makemessages, translated them (using poedit), and compiled the mo files using manage.py compilemessages as outlined in the i18n docs for Django.

But the problem is; most strings still show up in the original language…

  • i checked that the po files actually contain all strings
  • i checked that the mo files were freshly generated after the last translation effort
  • the language does actually change when i switch using the getlang() method
  • a few strings -do- end up being translated when i switch
  • but most don’t…

Not really sure where else to look… Is there any app that i can use to check whether the compiled mo files are valid & complete for instance? Could these strings be cached? (i’m not using any caching middleware)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T21:14:01+00:00Added an answer on May 16, 2026 at 9:14 pm

    Found it!! While pulling out hair trying to figure out what was causing my woes i commented out django.middleware.locale.LocaleMiddleware from my MIDDLEWARE_CLASSES and refreshed the page in an attempt to try everything. Obviously that just turned off translation all together but when i turned it back on again, all my fine translated strings were showing up as they should have been all along.

    So i’m guessing something, somewhere get’s compiled/cached when you turn on the locale middleware and the only way to refresh it is to turn it off and on. Restarting the server didn’t help so this a bit counter intuitive, but who cares it works! 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have what I think is a reasonably simple HTML format to display some
I have been starting to write some reasonably large and or confusing MySQL queries
I have a reasonably simple C++ program that I can successfully compile on OSX
i have a input tag which is non editable, but some times i need
I have a reasonably complex custom Django model method. It's visible in the admin
I have a reasonably simple split view application adapted from iPhone code. The main
I have a reasonably simple page setup with four accordian panes and four gridviews
Environment: Team Foundation Server 2005 Visual Studio 2008 I have a reasonably large project
Do you have any formal or informal standards for reasonably achievable SQL query speed?
Have just started using Google Chrome , and noticed in parts of our site,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.