Skip to content

Current Django locale not honored #162

Answered by arneatec
arneatec asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @codingjoe

Simplified code is here https://github.com/arneatec/django-select2-locale.git

I've used Bulgarian (bg) as test language. Model field names are translated to Bulgarian (with the English captions put in parentheses after the translation for your convenience).

I'm using pycharm with runserver. Requirements file shows there are no other fancy dependencies that might be interfering, I've tried to make this as generic as possible.

Issue is reproducible in the example code.

Steps to reproduce:

  1. Using Chrome, add Bulgarian as a preferred language and put it on top of the list.
  2. Start the sample project. Visit http://127.0.0.1:8000/blog/post_add/
  3. Page heading should read "Създай нова …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@arneatec
Comment options

Comment options

You must be logged in to vote
1 reply
@codingjoe
Comment options

Answer selected by codingjoe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #161 on November 03, 2022 07:53.