Loading...
Loading...
Compare original and translation side by side
player.LocaleIden-uspt-brja-jpLocalizationService.RobloxLocaleIdLocalizationService.SystemLocaleIdLocalizationService:GetCountryRegionForPlayerAsync(player)USBRJPplayer.LocaleIden-uspt-brja-jpLocalizationService.RobloxLocaleIdLocalizationService.SystemLocaleIdLocalizationService:GetCountryRegionForPlayerAsync(player)USBRJPLocalizationTableLocalizationTableLocalizationServiceGuiBase2d.RootLocalizationTableLocalizationTableLocalizationTableLocalizationServiceGuiBase2d.RootLocalizationTableRootLocalizationTableTextLabel.TextRootLocalizationTableTextLabel.Textlocal translator = LocalizationService:GetTranslatorForPlayerAsync(player)
local translated = translator:Translate(game, "Welcome!")
local formatted = translator:FormatTranslate(game, "Coins: {0}", {count})local translator = LocalizationService:GetTranslatorForPlayerAsync(player)
local translated = translator:Translate(game, "Welcome!")
local formatted = translator:FormatTranslate(game, "Coins: {0}", {count})local country = LocalizationService:GetCountryRegionForPlayerAsync(player)
if country == "US" then -- USD pricing
elseif country == "GB" then -- GBP pricing endlocal country = LocalizationService:GetCountryRegionForPlayerAsync(player)
if country == "US" then -- USD定价
elseif country == "GB" then -- GBP定价 endGetCountryRegionForPlayerAsyncGetTranslatorForPlayerAsyncRootLocalizationTableSourceTextSourceLocaleIden-uspt-brGetCountryRegionForPlayerAsyncGetTranslatorForPlayerAsyncRootLocalizationTableSourceTextSourceLocaleIden-uspt-brplayer.LocaleIdTranslator:TranslateGetCountryRegionForPlayerAsyncreferences/full.mdplayer.LocaleIdTranslator:TranslateGetCountryRegionForPlayerAsyncreferences/full.md