_get_path_to_translation


_get_path_to_translation ( $domain, $reset = false )

Access:
  • private
Parameters:
  • (string) $domain Text domain. Unique identifier for retrieving translated strings.
  • (bool) $reset Whether to reset the internal cache. Used by the switch to locale functionality.
See:
Returns:
  • (string|false) The path to the translation file or false if no translation file was found.
Defined at:

Description

Gets the path to a translation file for loading a textdomain just in time.

Caches the retrieved results internally.

Related Functions

_get_path_to_translation_from_lang_dir, wp_get_installed_translations, wp_get_available_translations, wp_get_translation_updates, _get_plugin_data_markup_translate

Top Google Results

User discussions

wpseek mobile