filebrowser icon indicating copy to clipboard operation
filebrowser copied to clipboard

New created user's files are listing error, Probably related with language setting.

Open Llesue opened this issue 1 month ago • 4 comments

Description Image

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"

Llesue avatar Nov 11 '25 07:11 Llesue

There's many chinese users so I don't think its related to language. Which version is this happening with?

gtsteffaniak avatar Nov 12 '25 00:11 gtsteffaniak

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 avatar Nov 13 '25 02:11 Llesue

@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.

Image

Kurami32 avatar Nov 24 '25 02:11 Kurami32

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.

gtsteffaniak avatar Nov 24 '25 22:11 gtsteffaniak