The language switch now stores the current language in the settings. The tests were updated to this new behavior. There is a new watcher in the language switch button component which watches the language setting. The code to set the language is now in src/i18n.js,
To be able to configure settings dynamically, the settings configuration is now a JavaScript module instead of a JSON module.
The user's language is now loaded when mounting the root component as it needs the settings store.
The utility src/utils/currentLanguage.js is now in the I18n feature utilities directory. Its purpose has changed to only parse the navigator language. The tests were updated to this new behavior.
# Language setting
This pull request makes the language a setting.
The language switch now stores the current language in the settings. The tests were updated to this new behavior. There is a new watcher in the language switch button component which watches the language setting. The code to set the language is now in `src/i18n.js`,
To be able to configure settings dynamically, the settings configuration is now a JavaScript module instead of a JSON module.
The user's language is now loaded when mounting the root component as it needs the settings store.
The utility `src/utils/currentLanguage.js` is now in the I18n feature utilities directory. Its purpose has changed to only parse the navigator language. The tests were updated to this new behavior.
## Related issues
Closes #175
jakob.scheid
added this to the 0.1.0 milestone 2026-08-07 02:16:51 +02:00
The settings configuration is now a JavaScript module because dynamic
configuration is only possible in this way and dynamic settings
configuration is needed for the language as a setting.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Language setting
This pull request makes the language a setting.
The language switch now stores the current language in the settings. The tests were updated to this new behavior. There is a new watcher in the language switch button component which watches the language setting. The code to set the language is now in
src/i18n.js,To be able to configure settings dynamically, the settings configuration is now a JavaScript module instead of a JSON module.
The user's language is now loaded when mounting the root component as it needs the settings store.
The utility
src/utils/currentLanguage.jsis now in the I18n feature utilities directory. Its purpose has changed to only parse the navigator language. The tests were updated to this new behavior.Related issues
Closes #175