Translation
Edit on GitHub
is_rtl
Check if the given language is a rtl or ltr language.
language
Return the language the resource (or translated text) will be displayed in.
language_sort
Sort a list of language codes or map with languages on their name.
Return a list of {Code, LanguageProps} pairs.
trans_filter_filled
Filters all empty translations from a property.
language_dir
Return rtl or ltr depening on the direction of the language.
translation
Lookup a specific translation in a translated text. If the text is not translated then
the text is returned as-is.
set_url_language
Change the language of an URL to another language. Useful to generate alternative URLs for a page.
media_for_language
Filter a list of media items by their medium_language property,
return the best matching with the current or given language. Only visible
media items are…
trans_languages
Return a list of all languages present in the given translated text ( #trans{} record).
Survey
Filters
Tuples