You should re-translate any assets translated with Localization APIs to the player's new language here Function that gets called when change in player's locale ID is detected Return LocalizationService:GetTranslatorForPlayerAsync(player) If GetTranslatorForPlayerAsync does not error, it will return a Translator for player's current locale Local Players = game:GetService("Players") local LocalizationService = game:GetService("LocalizationService") This is done using the GetPropert圜hangedSignal event, which can call listeners to update translations as necessary. You will need to detect a change in the LocaleID of the Translator instance returned by GetTranslatorForPlayerAsync. However, any localization performed by scripting (using Localization APIs) will need to be updated to react properly when a user changes their language. Players will be able to toggle between supported languages using the in-experience menu.Īny GUI object that has the AutoLocalize property set to True will automatically be translated when a player switches languages in an experience. We are excited to announce that we’ll be rolling out an update in the next few weeks which enables users to change their language settings while they are in an experience.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |