Skip to main content

Multilingual functions

translate

Retrieve the translation of text for current localization.

Arguments:

  • text - text to translate
  • domain - text domain. Unique identifier for retrieving translated strings. Default value: builderius_strings
translate(text, domain = "builderius_strings")
info

This function works with all translation domains registered in Wordpress (from WP Core, from Plugins, from Themes).