You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Required a language display name when register language instead of using System.Globalizatio.CultureInfo to get the language display name. But it may break other library which depend on this library.
And i found the modulat avatar already have a Dictionary which contains the correct language display name.
Problem
I found that ndmf using the
System.Globalizatio.CultureInfo
api to get language display name.ndmf/Editor/UI/LanguageSwitcher.cs
Lines 41 to 44 in d7f8963
But in some cases, it will return a wrong language display name. For example:
It will output:
and the correct output should be like that:
Possible solutions
Required a language display name when register language instead of using
System.Globalizatio.CultureInfo
to get the language display name. But it may break other library which depend on this library.And i found the modulat avatar already have a Dictionary which contains the correct language display name.
https://github.com/bdunderscore/modular-avatar/blob/0d4378764a434e6b2a2e74b021f8378a7b9c44fb/Editor/Localization/Localization.cs#L24-L29
The text was updated successfully, but these errors were encountered: