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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:08:15+00:00 2026-06-09T14:08:15+00:00

After running django-admin.py makemessages -l de in Django to create the translation files, you

  • 0

After running django-admin.py makemessages -l de in Django to create the translation files, you could use a plain text editor or Poedit to fill them out.

Poedit has the advantage that it provides a specialized UI for entering this data. However I keep getting an error message when I switch between the words:

MyBookmarks/locale/de/LC_MESSAGES/django.po:7: header field
`Project-Id-Version’ still has the initial default value

What is this? Has anyone with knowledge of internationalization in Django or general users of po / GNU gettext came across this error message?

Many Thanks,

  • 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-09T14:08:16+00:00Added an answer on June 9, 2026 at 2:08 pm

    I guess Django leave the header of the .po file customizable by the user, so is up to you to substitute “PACKAGE VERSION” with something more descriptive like “MY FABULOUS APP v.1.0”.

    To do that on any relevant file in a given path, you can use this command from the command line and in a *nix environment (or anywhere sed and find are available)

    find <YOUR_PATH_HERE> -type f -name '*.po' -exec sed -e s'/PACKAGE VERSION/<YOUR_APP_NAME> <YOUR_APP_VERSION>/g' -i.bak {} \;
    

    the command will replace the aforementioned text in every .po file and will save also an unmodified, backup file of each one.

    So, in your case the command will be:

    find MyBookmarks/ -type f -name '*.po' -exec sed -e s'/PACKAGE VERSION/MyBookmarks v.1.0/g' -i.bak {} \;
    

    I routinely include this command in my fabfile and it solves the issue using POedit 1.5.x (but should work also on previous versions).

    NOTE: You have to do that only once for every .po file. Next time you’ll launch a ./manage.py makemessages Django will remember the setting.

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

Sidebar

Related Questions

I'm running mod_wsgi on apache2. It's running Django and for some reason, after I
I want to rename a project which I created with: django-admin.py startproject But after
I'm running a django installation on lighttpd +FCGI. Everything works fine except the admin.
I have a Django app running on Apache with wsgi module. After few hours
I'm trying to setup Solr 3.6.0 with Django-haystack Beta 2.0.0. After running ./manage.py build_solr_schema
I'm going through the standard Django tutorial to create an admin for an app.
I have written a Django app that makes use of Python threading to create
After running my automated tests in Visual Studio 2010, the Code Coverage Results tab
After running my Cake application locally i tried to upload it to my remote
After running code from my previous question , I get a result set from

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.