(tr msgid)
(tr lang msgid)
Translate a literal message to the user's current language. This method is the most efficient to use, as it merely needs to look up the translation, but need not apply any extra formatting.
Translate a literal message to the user's current language. This method is the most efficient to use, as it merely needs to look up the translation, but need not apply any extra formatting.
(trc context msgid)
(trc lang context msgid)
Translate a string in the given context. Useful for resolving the possible differences in things like single words (e.g. noun vs. verb form).
Translate a string in the given context. Useful for resolving the possible differences in things like single words (e.g. noun vs. verb form).
(trcf context msgid args)
(trcf lang context msgid args)
Translate a message with context and arguments.
Translate a message with context and arguments.
(trf msgid args)
(trf lang msgid args)
Translate a message that includes placeholders to format. This function translates the text, then uses java.text.MessageFormat to do the actual parameter substitution.
Translate a message that includes placeholders to format. This function translates the text, then uses java.text.MessageFormat to do the actual parameter substitution.
(trp singular plural nitems args)
(trp lang singular plural nitems args)
Format a string that varies based on plural forms.
Format a string that varies based on plural forms.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close