Provide Language Code instead of Language Name
complete
anatawa12
Provide Language Code instead of Language Name
In VRCSDK 3.2.3,
GetAvailableLanguages
and GetCurrentLanguage
are silently added.Those APIs returns English names of language but it's not good enough to distinguish language for those reasons:
- Some language has multiple region variants. For now, it looks it's not supported but in the feature you might want to add them. The most popular example for this is en-USanden-UK.
- Some language has some multiple names. In ISO 639, some language has multiple name listed.
For those reasons, I think VRCSDK should provide some API to return language tag in form of RFC5646.
With this API, world developer can provide some localization for other non-provided locales for future VRChat updates.
Log In
Fax
marked this post as
complete
mahu
This appears to have been fixed in the 2024.1.1 release (february). fyi Fax
Docteh
Hi, do you mean future VRChat updates? (Last line in your post)
anatawa12
Docteh:
yes. there are multiple languages being translated to but not released yet now.
Docteh
anatawa12: you should see if you can change your post ;)
Third last word
anatawa12
Docteh: Thank you for pointing out the typo. I've fixed.