pt-br beats the bare pt.
With no locale given, the window follows the player’s Roblox language on its own.
Translation tables
Pass tables keyed by locale id.A custom resolver
To resolve copy yourself, pass atranslator. It is a function (source, localeId) that returns a string, or nil to fall through to the tables. It is checked first, so it wins.
window:SetTranslator(fn), then re-apply the locale to refresh the screen.