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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T02:04:53+00:00 2026-06-09T02:04:53+00:00

The Django-based web application I’m working on is translated to a few different languages.

  • 0

The Django-based web application I’m working on is translated to a few different languages. So far we’ve used gettext/PO files for translating static files (text in code and templates, static pages); CMS pages and texts stored in the DB are translated via the admin interfaces.

This common setup works well for us developers but is not favored by our translators who’d rather always use their translation tools (with PO files) instead of using the admin interface.

Now that more and more of our content is migrated from the code to the database we tried using gettext for texts stored in the DB. While the idea sounds good the workflow around it is quite cumbersome:

  1. Editor changes English text in the admin interface
  2. Developer runs command to extract messages on a host that is connected to the production DB
  3. PO file is sent to translators
  4. Translator sends file back to developers when she’s done with the translation
  5. Developer compiles mo files, checks it in the code base and deploys

While some of the steps could be automated by using a service like Transifex I don’t see how to get around the last step. Having to deploy as a result of a database change sounds wrong.

Has anybody been able to come up with a sane gettext-based translation workflow for web applications that does not require deployments?

  • 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-06-09T02:04:55+00:00Added an answer on June 9, 2026 at 2:04 am

    We use Django-rosetta (which has an added benefit to not care where the PO entries are coming from) to manage most of our i18n needs. In regards to what you are asking here is the workflow we ended up with:

    1. Translator logs into rosetta using its own admin interface
    2. Rosetta parses all po files and renders the page to edit translations
    3. Every time users hits save, rosetta restarts itself along with django and all changes are now live and applied
    4. If the translator goes back to django they will see how their new strings look like
    5. If the translator prefers to use their own PO editing software they can but then they have to provide us with the new version which we discourage

    We wrote some scripts to help us with additional automation steps, but this setup has worked exceptionally well. We have even integrated (after some custom modifications to rosetta code) our non django based system into rosetta for easy translations.

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

Sidebar

Related Questions

I'm working on a user based, social networking type of web application in Django.
We have a web based application in production built using django. It is deployed
I'm planning a web application using Django, and it's based on a big pile
I'm working on my first web app (www.shopperspoll.com). It's a Django based facebook app
I want to integrate my Django web application with other web based products (most
I have a Django-based web application that is required to send a confirmation email
In our web application (django based, with solr backend) we have some checkboxes with
I have a web application im currently working on in python. I'm using Django
I'm doing some i18n on a web-based app using Django, which uses gettext as
I have a django-based web application that is a mixture of jQuery and several

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.