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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:26:28+00:00 2026-06-01T06:26:28+00:00

Some Tags give me translated Words without setting up the *.po file. {% trans

  • 0

Some Tags give me translated Words without setting up the *.po file.

{% trans "groups" %}
{% trans "users" %}

Unfortunately they won’t be overridden when creating the *.po file and running:

django-admin.py compilemessages

So how do I get rid of the default translations ? I would prefer a solution on project level, because I don’t want to modify Django core files.

  • 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-01T06:26:29+00:00Added an answer on June 1, 2026 at 6:26 am

    There are several ways to override it

    • set your locale path in LOCALE_PATHS in settings file, this gives your translations higher priority.
    • change the msgid to be different from those used by Django. Then provide translations for languages which will be used. The msgid could be anything plus base string as long as its unique and translator-friendly, for example a namespace prefix: {% trans "my:groups" %}
    • Contextual markers for Django1.3+ , then it looks like {% trans "groups" context "my" %}
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use tags to give some styling for a pdf being
I'm having some difficulty setting up Doctrine and am hoping some guru's can give
Users writing an article have the option to write some tags, tags are written
I am considering creating some JSP-tags that will always give the same output. For
I want add my page some div and another tags.I wanna give unique class
In html page some tags are dynamically created using jquery and contents are loaded
I want to replace a content inside some tags, eg: <p>this it to be
I have a form with some tags under it. When you click each tag
I use the strip_tags() function but I need to remove some tags (and all
I have some code that creates some span tags and each span has its

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.