Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weird url string missing when changing langcode from en-gb to en #599

Open
nodyyu89 opened this issue Jun 9, 2021 · 1 comment
Open

Comments

@nodyyu89
Copy link

nodyyu89 commented Jun 9, 2021

Hi, I am new to django and this awesome library.
Yet, I encounter the following issue:

I firstly register the django project with LANGUAGES as en-gb:
Screenshot 2021-06-09 145309

Then, the translation works fine when i switch to en-gb:
Screenshot 2021-06-09 145603

However, when i switch to LANGUAGES as en, weird things happen. The url get mispelled while i have not change anything in urls.py of my apps:
Screenshot 2021-06-10 012433

Here are the other files

Screenshot 2021-06-10 012458
Screenshot 2021-06-10 012521

My temporary soltuion is to keep using en-gb instead of en even though causing me inconvenience and confusing.

Any idea and thought about this case? Many thx!

@last-partizan
Copy link
Collaborator

Please, use github for screenshots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants