Liking cljdoc? Tell your friends :D
Clojure only.

gettext.core


trclj

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

trcclj

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

trcfclj

(trcf context msgid args)
(trcf lang context msgid args)

Translate a message with context and arguments.

Translate a message with context and arguments.
sourceraw docstring

trfclj

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

trpclj

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

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

× close