load_default_textdomain
load_default_textdomain ( $locale = null )
Parameters:- (string) locale Optional. Locale to load. Default is the value of get_locale().
See:Returns:- (bool) Whether the textdomain was loaded.
Defined at: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
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 on the locale.