summaryrefslogtreecommitdiffstats
path: root/wp-settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-settings.php')
-rw-r--r--wp-settings.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/wp-settings.php b/wp-settings.php
index 021c082..482a5fa 100644
--- a/wp-settings.php
+++ b/wp-settings.php
@@ -300,6 +300,11 @@ define('STYLESHEETPATH', get_stylesheet_directory());
// Load the default text localization domain.
load_default_textdomain();
+$locale = get_locale();
+$locale_file = ABSPATH . LANGDIR . "/$locale.php";
+if ( is_readable($locale_file) )
+ require_once($locale_file);
+
// Pull in locale data after loading text domain.
require_once(ABSPATH . WPINC . '/locale.php');