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 4592970
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T22:36:59+00:00 2026-05-21T22:36:59+00:00

I have found some tutorials that show how to use i18n on gae, but

  • 0

I have found some tutorials that show how to use i18n on gae, but they assume django 0.96. Right now I don’t have for example separate script for makemessages and I can’t run manage.py. Has anyone tried using i18n recently and could explain to me, how can this be done?

EDIT

I have managed to generate po files and compile them. I receive language headers and I am able to set translation langauge. self.request.LANGUAGE_CODE is set to pl which is just fine. And yet those translations are not used while rendering the webpage. Do you have any idea why this might be happening?

EDIT2

Ok, doing some trial/error I managed to discover, you need to import settings from django.conf and reload them (setting._target = None). And it finally works.

  • 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-21T22:37:00+00:00Added an answer on May 21, 2026 at 10:37 pm

    We got it working or at least we think we do. We use the script compile-messages from django 0.96 to compile the .po files and have upgraded to django 1.2 using an I18NRequestHandler so I want to confirm it works. You may have a look at our code at http://montao.googlecode.com and we don’t use manage.py since we don’t use all of django. I hope some of this helps. I needed to add an import saying from django.utils.translation import gettext_lazy as _ otherwise most django 0.96 was easy to upgrade to 1.2. To activate the translation we now can use the hl parameter to a HTTP query for instance for greek translations: http://classifiedsmarket.appspot.com/?hl=el and the text in greek displays from the .mo files that were compiled with the script compile-messages.py

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

Sidebar

Related Questions

I have found some in the Cappuccino website (vim, textmate and SubEthaEdit), but not
I have found some libraries or web services in PHP that does the job.
I have found some info on the subject ( like this link) , but
Found some old code, circa VS 2003. Now I have just VS 2008 (SP1)
After googling a bit I have found some tips about how to get online
I'm currently working on project with Haskell, and have found myself some trouble. I'm
I've done some research into server push with javascript and have found the general
Recently, I found myself having to write up some concerns I have about race
I have found that my HTML is, to be honest, very clunky. Small, simple
I recently found out that Javascript function can have classes, so I was wondering

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.