Launcher::Locale
Constants
AVAILABLE = {"en" => "English", "ru" => "Русский"}
Display order of the language selector; keys are I18n locale codes.
Class methods
init(preferred : String | Nil = nil) : String
Initialize I18n with the embedded catalogs and activate preferred
(when it is a known locale) or the system-detected one. Idempotent;
returns the activated locale code.
initialized?
Sourceset(locale : String) : Nil
Source