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

Allow to change locale at runtime & store the last locale used on FS #26

Closed
dsferruzza opened this issue Oct 17, 2020 · 2 comments
Closed

Comments

@dsferruzza
Copy link
Member

This might be very important for the CE certification

@dsferruzza dsferruzza changed the title Allow to change locale at runtime & store the last used on FS Allow to change locale at runtime & store the last locale used on FS Oct 17, 2020
@valeriansaliou valeriansaliou self-assigned this Oct 25, 2020
@valeriansaliou valeriansaliou modified the milestones: 2.0.0, 2.1.0 Nov 2, 2020
@valeriansaliou
Copy link
Member

valeriansaliou commented Dec 23, 2020

Steps:

  1. Ability to parse a save .data file located in a file path passed by an env var (be tolerant to failure/errors; if there is a read error just clear out the file and reset it)
  2. If any locale is set in this file, and is supported by the UI, use it, otherwise fallback to locale (this, only if no locale is forced using an environment variable)
  3. Lastly, build the locale switcher in the settings section (which writes the current locale to the .data file)

@valeriansaliou
Copy link
Member

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

2 participants