New created user's files are listing error, Probably related with language setting.
Description
Expected behaviour Fixing
What is happening instead? Creating new users from webui and set the language to Chinese_simplified, When new user login, The files are not listing correct. It can be fixed get into user's settings and set the language again.
How to reproduce?
Create a new user Set language to chinese_simplified Login with new user's account
Maybe it related to this?
userDefaults:
locale: "zh_cn"
There's many chinese users so I don't think its related to language. Which version is this happening with?
There's many chinese users so I don't think its related to language. Which version is this happening with?
I'm guessing the locale value is wrong? It happened when i set it to "zh_cn", Maybe the right value is "zh" or "cn"? The version was 1.0.0
@Llesue Yep, is because of the value. The right one is zhCN.
Just tried replicate, and this happens when you set a value that don't exist. If the value is wrong, you will notice it when creating a user that the language field is blank/empty.
Thanks for checking that -- I think its worth automatically converting the value and validating these on startup -- so zhCN or zh-cn or zh_cn can all be accepted.