Lanaguage selector not changing the language of mts-s template app [BUG]
KrisztianOlah opened this issue · 2 comments
KrisztianOlah commented
Describe the bug
Language selector is not working.
To Reproduce
Steps to reproduce the behavior:
- Ensure that tarnslations are available for the target languages.
- Click on language selector.
- Select any language that differs from the default.
- Application restarts with the default language.
Expected behavior
Application sets new language and then restarts using said language strings.
The above code has no logic for setting any other language than the default.
KrisztianOlah commented
Bug can be solved by setting Setting.Settings to public in xTemplatexHmi.WPF, removing Setting.Settings from xTemplatexOP and prepending Settings with xTemplatexHmi.WPF.Properties or adding a matching using statement in App.xaml.cs (xTemplatexOP).
peterbarancek commented
closes #99