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

Translate list items based on current locale #83

Open
jensenbox opened this issue Feb 14, 2022 · 1 comment
Open

Translate list items based on current locale #83

jensenbox opened this issue Feb 14, 2022 · 1 comment

Comments

@jensenbox
Copy link

I would love the list of timezones to be more familiar to users when browsing in a language other than English.

I might propose that this comes in the form of either some code snippet or perhaps direct integration.

A lot of the heavy lifting has been done already with Babel: https://babel.pocoo.org/en/latest/api/dates.html#babel.dates.get_timezone_name

It would be excellent if this was something that just worked out of the box.

Thanks!

@Slawikus
Copy link

I came across this issue, and I have a similar problem - I want to show the list of timezones in different languages. Taking into account that its not available out of the box in django-timezone-field, what will be the best way/workaround to implement that?

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

No branches or pull requests

3 participants