(available-locales-with-names)
Returns all locale abbreviations and their full names
Returns all locale abbreviations and their full names
(set-locale locale)
This sets the local for the instance
This sets the local for the instance
(trs msg & args)
Similar to puppetlabs.i18n.core/trs
but creates a SystemLocalizedString
instance so that conversion to the
correct locale can be delayed until it is needed. This is needed as the system locale from the JVM can be
overridden/changed by a setting. Calling str
on the results of this invocation will lookup the translated version
of the string.
Similar to `puppetlabs.i18n.core/trs` but creates a `SystemLocalizedString` instance so that conversion to the correct locale can be delayed until it is needed. This is needed as the system locale from the JVM can be overridden/changed by a setting. Calling `str` on the results of this invocation will lookup the translated version of the string.
(tru msg & args)
Similar to puppetlabs.i18n.core/tru
but creates a UserLocalizedString
instance so that conversion to the
correct locale can be delayed until it is needed. The user locale comes from the browser, so conversion to the
localized string needs to be 'late bound' and only occur when the user's locale is in scope. Calling str
on the
results of this invocation will lookup the translated version of the string.
Similar to `puppetlabs.i18n.core/tru` but creates a `UserLocalizedString` instance so that conversion to the correct locale can be delayed until it is needed. The user locale comes from the browser, so conversion to the localized string needs to be 'late bound' and only occur when the user's locale is in scope. Calling `str` on the results of this invocation will lookup the translated version of the string.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close