File: wp-includes/l10n.php
-
functionwp_get_l10n_php_file_data()
Extracts headers from a PHP translation file.
-
Filters the preferred file format for translation files.
-
Filters the file path for loading translations for the given text domain.
-
Filters whether to short-circuit loading .mo file.
-
functionwp_get_word_count_type()
Retrieves the word count type based on the locale.
-
functionswitch_to_user_locale()
Switches the translations according to the given user’s locale.
-
functionwp_get_list_item_separator()
Retrieves the list item separator based on the locale.
-
Translates the provided settings value using its i18n schema.
-
Filters the singular or plural form of a string for a domain.
-
Filters the singular or plural form of a string with gettext context for a domain.
-
Filters text with its translation for a domain.
-
Filters text with its translation based on context information for a domain.
-
Filters the relative path of scripts used for finding translation files.
-
functionload_script_translations()
Loads the translation data for the given script handle and text domain.
-
Pre-filters script translations for the given file, script handle and text domain.
-
Filters the file path for loading script translations for the given script handle and text domain.
-
Filters script translations for the given file, script handle and text domain.
-
functionload_script_textdomain()
Loads the script translated strings.
-
functiondetermine_locale()
Determines the current locale desired for the request.
-
Filters the locale for the current request prior to the default determination process.
-
hookdetermine_locale
Filters the locale for the current request.
-
functionrestore_current_locale()
Restores the translations according to the original locale.
-
functionis_locale_switched()
Determines whether switch_to_locale() is in effect.
-
functionrestore_previous_locale()
Restores the translations according to the previous locale.
-
Filters the list of available language codes.
-
functionswitch_to_locale()
Switches the translations according to the given locale.
-
functionget_user_locale()
Retrieves the locale of a user.
-
function_load_textdomain_just_in_time()
Loads plugin and theme text domains just-in-time.
-
functionwp_dropdown_languages()
Displays or returns a Language selector.
-
functionwp_get_installed_translations()
Gets installed translations.