# Public Methods
|findMissingTranslation()||Looks for a missing translation string in Yii's core translations.|
|normalizeLanguage()||Normalizes a language into the correct format (e.g. |
|normalizeNumber()||Normalizes a user-submitted number for use in code and/or to be saved into the database.|
Looks for a missing translation string in Yii's core translations.
Normalizes a language into the correct format (e.g.
$language(string (opens new window))
- yii\base\InvalidArgumentException (opens new window)
if $language is invalid.
Normalizes a user-submitted number for use in code and/or to be saved into the database.
Group symbols are removed (e.g. 1,000,000 => 1000000), and decimals are converted to a periods, if the current locale uses something else.
mixed) – The number that should be normalized.
$localeId(string (opens new window), null (opens new window)) – The locale ID that the number is set in
mixed – The normalized number.