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 set the default language of the new users #530

Open
marien-probesys opened this issue Dec 18, 2023 · 0 comments
Open

Allow to set the default language of the new users #530

marien-probesys opened this issue Dec 18, 2023 · 0 comments
Labels
ready ✅ You can work on this! type: improvements Things could be nicer

Comments

@marien-probesys
Copy link
Member

marien-probesys commented Dec 18, 2023

Problem

At Probesys, we need that the default language to be French. However, it's always English by default.

Solution

Allow to define a default locale in the global configuration.
Allow to set the user's locale when creating it in the admin and with the CLI (related to #490)

Specification

  • Add an environment variable APP_DEFAULT_LOCALE and use it instead of the \App\Utils\Locales::DEFAULT_LOCALE where needed
  • Refactor the User new/edit forms with the Symfony Form component (related to Refactor forms with the Symfony Form component #551)
  • Add a locale field in the "new user" form
  • Add a locale option to the CreateCommand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready ✅ You can work on this! type: improvements Things could be nicer
Projects
None yet
Development

No branches or pull requests

1 participant