Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
77 views

Django 4.2.16 My code contains this line (beside lots more i18n texts): filter_text = _('Filter') I generate the "de" locale po file: django-admin makemessages --locale de -i venv The ...
1 vote
0 answers
70 views

Traceback (most recent call last): File "manage.py", line 22, in <module> main() File "manage.py", line 18, in main execute_from_command_line(sys.argv) File &...
0 votes
0 answers
261 views

makemessages can't detect all translation words... I tried all but it didn't work. My command django-admin makemessages --all --ignore=venv # and python manage.py makemessages --all --ignore=venv My ...
0 votes
1 answer
718 views

I have a fresh Django project with no third-party apps installed. I'm trying to create a multilingual setup, with from django.utils.translation import gettext_lazy as _ in my Python files and {% ...
0 votes
0 answers
139 views

I'm creating a signal that sends messages to multiple users, and each message should be translated to the receiver's language. this is a simplified example of that the alert handler does: def ...
3 votes
2 answers
2k views

When I run django-admin makemessages -l en nothing happens and no po files are created. It only says processing locale en This is my folder structure /myproject myapp/ locale/ media/ ...
0 votes
1 answer
529 views

There is quite old uClinux-dist-20080808 with uClinux-dist-20080808-20090112 and uClinux_on_stm32 patches for STM32F10x MCU, as described here AN3012. I use Ubuntu 18.04 (inside VirtualBox) to build ...
7 votes
2 answers
5k views

I have a django instance packed in Docker container in docker-compose. I'm trying to generate makemessages files for project, but when I try to run makemessages, that's what I receieve in response ...
0 votes
1 answer
915 views

I'm doing my first steps in Django and am trying to get translations of text to work which I'm passing into the application through an .ini file. Say my init.ini is: [test] GREETING = Hello World ...
7 votes
3 answers
2k views

When I run this command: django-admin makemessages -l ar It gives this error: Traceback (most recent call last): File "c:\users\ahmed\appdata\local\programs\python\python36-32\lib\site-packages\...
6 votes
3 answers
4k views

First of all, I am expecting --no-obsolete would comment out msgid and msgstr if gettext is deleted, right? How I am testing is: I wrote gettext("some string here") in view I ran makemessages ...
5 votes
4 answers
2k views

Am building a site with Django. After downloading gettext-0.19.8.tar.gz ---> /Users/cohen/Downloads/gettext-0.19.8 and running all of the steps ./configure make and sudo make installation I ...
6 votes
1 answer
7k views

I want to create a Django 2.0 powered website(including auto generated Admin site) that should support multiple languages. For now I only want to keep 2 languages English and Arabic. I read number ...
0 votes
1 answer
632 views

I'm using Django1.11.5 and I created makemessages.py file in "my-app/management/commands/" directory to customise makemessages command. And I made it to execute this command by running "python ../...
0 votes
1 answer
658 views

I have recently taken over a django project which contains a locale folder. Since then I have added many new {% blocktrans %} tags to the html files. However when I use the command: python manage.py ...

15 30 50 per page
1
2

AltStyle によって変換されたページ (->オリジナル) /