WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/load default textdomain

Description

Loads default translated strings based on locale.

Loads the .mo file in WP_LANG_DIR constant path from WordPress root. The translated (.mo) file is named based off of the locale.

Usage

<?php load_default_textdomain() ?>

Parameters

None.

Return Values

(void) 
This function does not return a value.

Examples

Notes

  • l10n is an abbreviation for localization.

Change Log

Since: 1.5.0

Source File

load_default_textdomain() is located in wp-includes/l10n.php.

Related

Localization: get_locale(), load_textdomain(), load_default_textdomain(), load_plugin_textdomain(), load_theme_textdomain()

See also index of Function Reference and index of Template Tags.