Skip to content

Localization of the notebook (lang, date format, decimal separator) #411

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

Open
rusosnith opened this issue May 2, 2022 · 3 comments
Open

Comments

@rusosnith
Copy link

It's really cumbersome to have to localize every notebook to be able to consume datasets on other-than-US-formats.

Maybe could be temporary be fixed with a template (via "new-->localized notebook") with all the proper includes and configs to make the notebook work with other time formats, decimal separators, etc? (as in parsing, autotype, etc)

@mootari
Copy link
Member

mootari commented May 12, 2022

Could you provide an example where you'd like to see localized formatting applied?

To my knowledge the current locale should have no effect on parsing, since text input is parsed into numbers and Date objects. I assume you're referring to date strings in source data which have a specific format?

@CobusT
Copy link
Collaborator

CobusT commented May 30, 2022

@rusosnith could you perhaps clarify this? thanks!

@rusosnith
Copy link
Author

Hi, sorry for the delay on expanding this.

For example, to have the default time units in spanish in PLOT in this notebook

one have to always set the locale. It will also affect the default parsing, the autotype, etc.

(maybe there is an easier workaround for this, sorry if I'm a newbie and missing it)

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