Liking cljdoc? Tell your friends :D

metabase.common.i18n


available-locales-with-namesclj

(available-locales-with-names)

Returns all locale abbreviations and their full names

Returns all locale abbreviations and their full names
sourceraw docstring

set-localeclj

(set-locale locale)

This sets the local for the instance

This sets the local for the instance
sourceraw docstring

trscljmacro

(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.
sourceraw docstring

trucljmacro

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close