class

Rosetta::Config

Inherits Reference / Object

Instance methods

locale

Gets the current locale or falls back to the default locale if it's not defined.

Source
locale=(locale : String | Symbol)

Sets the current locale with the given value, if it's found in the available locales.

Source