Definition:
function load_default_textdomain() {}
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 on the locale.
Source code
function load_default_textdomain() { $locale = get_locale(); load_textdomain( 'default', WP_LANG_DIR . "/$locale.mo" ); if ( is_multisite() || ( defined( 'WP_INSTALLING_NETWORK' ) && WP_INSTALLING_NETWORK ) ) { load_textdomain( 'default', WP_LANG_DIR . "/ms-$locale.mo" ); } }
2281
No comments yet... Be the first to leave a reply!