Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
  • Get WordPress
Get WordPress

Developer Resources

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:1771

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:1730

Used by 3 functions | Uses 2 functions

ngettext_{$domain}

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

Source: wp-includes/l10n.php:505

Used by 1 function | Uses 0 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:566

Used by 1 function | Uses 0 functions

gettext_{$domain}

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

Source: wp-includes/l10n.php:212

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:281

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:1150

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:1192

Used by 1 function | Uses 1 function

pre_load_script_translations

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

Source: wp-includes/l10n.php:1205

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:1220

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:1238

Used by 1 function | Uses 0 functions

load_script_textdomain()

Function: Loads the script translated strings.

Source: wp-includes/l10n.php:1061

Used by 1 function | Uses 10 functions

determine_locale()

Function: Determines the current locale desired for the request.

Source: wp-includes/l10n.php:123

Used by 14 functions | Uses 6 functions

pre_determine_locale

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

Source: wp-includes/l10n.php:133

Used by 1 function | Uses 0 functions

determine_locale

Filter Hook: Filters the locale for the current request.

Source: wp-includes/l10n.php:168

Used by 1 function | Uses 0 functions

restore_current_locale()

Function: Restores the translations according to the original locale.

Source: wp-includes/l10n.php:1695

Used by 0 functions | Uses 1 function

is_locale_switched()

Function: Determines whether switch_to_locale() is in effect.

Source: wp-includes/l10n.php:1711

Used by 0 functions | Uses 1 function

restore_previous_locale()

Function: Restores the translations according to the previous locale.

Source: wp-includes/l10n.php:1679

Used by 20 functions | Uses 1 function

get_available_languages

Filter Hook: Filters the list of available language codes.

Source: wp-includes/l10n.php:1388

Used by 1 function | Uses 0 functions

switch_to_locale()

Function: Switches the translations according to the given locale.

Source: wp-includes/l10n.php:1663

Used by 20 functions | 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 text domains just-in-time.

Source: wp-includes/l10n.php:1257

Used by 1 function | Uses 7 functions

wp_dropdown_languages()

Function: Displays or returns a Language selector.

Source: wp-includes/l10n.php:1504

Used by 2 functions | Uses 7 functions

wp_get_installed_translations()

Function: Gets installed translations.

Source: wp-includes/l10n.php:1402

Used by 5 functions | Uses 1 function

wp_get_pomo_file_data()

Function: Extracts headers from a PO file.

Source: wp-includes/l10n.php:1455

Used by 1 function | Uses 1 function

get_translations_for_domain()

Function: Returns the Translations instance for a text domain.

Source: wp-includes/l10n.php:1301

Used by 5 functions | Uses 1 function

is_textdomain_loaded()

Function: Determines whether there are translations for the text domain.

Source: wp-includes/l10n.php:1325

Used by 2 functions | Uses 0 functions

translate_user_role()

Function: Translates role name.

Source: wp-includes/l10n.php:1350

Used by 4 functions | Uses 2 functions

get_available_languages()

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

Source: wp-includes/l10n.php:1366

Used by 12 functions | Uses 1 function

ngettext_with_context

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

Source: wp-includes/l10n.php:550

Used by 1 function | Uses 0 functions
1 2 3 Next
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • 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
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry