Archive | /wp-includes/l10n.php RSS feed for this section

get_translations_for_domain

Returns the Translations instance for a domain. If there isn’t one, returns empty Translations instance.

1869

Continue reading

get_locale

Gets the current locale.If the locale is set, then it will filter the locale in the ‘locale’ filter hook and return the value.

1472

Continue reading

get_available_languages

Get all available languages based on the presence of *.mo files in a given directory. The default directory is WP_LANG_DIR.

1182

Continue reading

esc_html__

Retrieves the translation of $text and escapes it for safe use in HTML output.If there is no translation, or the domain isn’t loaded, the original text is returned.

1034

Continue reading