class Marten::Conf::GlobalSettings::I18n
- Marten::Conf::GlobalSettings::I18n
- Reference
- Object
Overview
Allows to configure internationalization-related settings.
Defined in:
marten/conf/global_settings/i18n.crInstance Method Summary
-
#available_locales : Array(String)?
Returns the available locales.
-
#available_locales=(available_locales : Array(String | Symbol) | Nil)
Allows to set the available locales.
-
#default_locale : String
Returns the default locale.
-
#default_locale=(locale : String | Symbol)
Allows to set the default locale.
-
#locale_cookie_name : String
Returns the name of the cookie used to determine the current locale.
-
#locale_cookie_name=(name : String | Symbol)
Allows to set the name of the cookie used to determine the current locale.
Instance Method Detail
Allows to set the available locales.
def locale_cookie_name : String
#
Returns the name of the cookie used to determine the current locale.
def locale_cookie_name=(name : String | Symbol)
#
Allows to set the name of the cookie used to determine the current locale.