• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org
  • Plugins
  • Themes
  • Patterns
  • Learn
  • Support
    • Documentation
    • Forums
  • News
  • About
  • Get Involved
    • Five for the Future
  • Showcase
  • Mobile
  • Hosting
  • Openverse
  • Get WordPress
Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/l10n.php

wp_get_list_item_separator()

Function: Retrieves the list item separator based on the locale.

Source: wp-includes/l10n.php:1783

Used by 3 functions | Uses 1 function

translate_settings_using_i18n_schema()

Function: Translates the provided settings value using its i18n schema.

Source: wp-includes/l10n.php:1742

Used by 3 functions | Uses 2 functions

ngettext_with_context_{$domain}

Filter Hook: Filters the singular or plural form of a string with gettext context for a domain.

Source: wp-includes/l10n.php:564

Used by 1 function | Uses 0 functions

ngettext_{$domain}

Filter Hook: Filters the singular or plural form of a string for a domain.

Source: wp-includes/l10n.php:503

Used by 1 function | Uses 0 functions

gettext_{$domain}

Filter Hook: Filters text with its translation for a domain.

Source: wp-includes/l10n.php:210

Used by 1 function | Uses 0 functions

gettext_with_context_{$domain}

Filter Hook: Filters text with its translation based on context information for a domain.

Source: wp-includes/l10n.php:279

Used by 1 function | Uses 0 functions

load_script_textdomain_relative_path

Filter Hook: Filters the relative path of scripts used for finding translation files.

Source: wp-includes/l10n.php:1100

Used by 1 function | Uses 0 functions

load_script_translations()

Function: Loads the translation data for the given script handle and text domain.

Source: wp-includes/l10n.php:1142

Used by 1 function | Uses 4 functions

pre_load_script_translations

Filter Hook: Pre-filters script translations for the given file, script handle and text domain.

Source: wp-includes/l10n.php:1155

Used by 1 function | Uses 0 functions

load_script_translation_file

Filter Hook: Filters the file path for loading script translations for the given script handle and text domain.

Source: wp-includes/l10n.php:1170

Used by 1 function | Uses 0 functions

load_script_translations

Filter Hook: Filters script translations for the given file, script handle and text domain.

Source: wp-includes/l10n.php:1188

Used by 1 function | Uses 0 functions

load_script_textdomain()

Function: Loads the script translated strings.

Source: wp-includes/l10n.php:1011

Used by 1 function | Uses 11 functions

pre_determine_locale

Filter Hook: Filters the locale for the current request prior to the default determination process.

Source: wp-includes/l10n.php:131

Used by 1 function | Uses 0 functions

determine_locale

Filter Hook: Filters the locale for the current request.

Source: wp-includes/l10n.php:166

Used by 1 function | Uses 0 functions

determine_locale()

Function: Determine the current locale desired for the request.

Source: wp-includes/l10n.php:121

Used by 12 functions | Uses 8 functions

restore_current_locale()

Function: Restores the translations according to the original locale.

Source: wp-includes/l10n.php:1707

Used by 0 functions | Uses 1 function

is_locale_switched()

Function: Whether switch_to_locale() is in effect.

Source: wp-includes/l10n.php:1723

Used by 0 functions | Uses 1 function

restore_previous_locale()

Function: Restores the translations according to the previous locale.

Source: wp-includes/l10n.php:1691

Used by 20 functions | Uses 1 function

get_available_languages

Filter Hook: Filters the list of available language codes.

Source: wp-includes/l10n.php:1400

Used by 1 function | Uses 0 functions

switch_to_locale()

Function: Switches the translations according to the given locale.

Source: wp-includes/l10n.php:1675

Used by 20 functions | Uses 1 function

_get_path_to_translation()

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

Source: wp-includes/l10n.php:1239

Used by 2 functions | Uses 1 function

_get_path_to_translation_from_lang_dir()

Function: Gets the path to a translation file in the languages directory for the current locale.

Source: wp-includes/l10n.php:1266

Used by 1 function | Uses 1 function

get_user_locale()

Function: Retrieves the locale of a user.

Source: wp-includes/l10n.php:94

Used by 36 functions | Uses 3 functions

_load_textdomain_just_in_time()

Function: Loads plugin and theme textdomains just-in-time.

Source: wp-includes/l10n.php:1207

Used by 1 function | Uses 2 functions

wp_dropdown_languages()

Function: Language selector.

Source: wp-includes/l10n.php:1516

Used by 2 functions | Uses 7 functions

get_translations_for_domain()

Function: Return the Translations instance for a text domain.

Source: wp-includes/l10n.php:1313

Used by 5 functions | Uses 1 function

is_textdomain_loaded()

Function: Whether there are translations for the text domain.

Source: wp-includes/l10n.php:1337

Used by 2 functions | Uses 0 functions

translate_user_role()

Function: Translates role name.

Source: wp-includes/l10n.php:1362

Used by 4 functions | Uses 2 functions

get_available_languages()

Function: Get all available languages based on the presence of *.mo files in a given directory.

Source: wp-includes/l10n.php:1378

Used by 12 functions | Uses 2 functions

wp_get_installed_translations()

Function: Get installed translations.

Source: wp-includes/l10n.php:1414

Used by 5 functions | Uses 1 function
1 2 3 Next »
  • About
  • News
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
Code is Poetry