Changeset 1177 for trunk/wp-includes/wp-l10n.php
- Timestamp:
- 04/26/2004 02:00:08 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/wp-l10n.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/wp-l10n.php
r1086 r1177 2 2 $curpath = dirname(__FILE__).'/'; 3 3 4 // The locale is hard-coded here for now. 5 $locale = 'en_US'; 4 $locale = ''; 5 6 // WPLANG is defined in wp-config. 7 if (defined('WPLANG')) { 8 $locale = WPLANG; 9 } 10 11 if (empty($locale)) { 12 $locale = 'en_US'; 13 } 6 14 7 15 $mofile = $curpath . "/languages/$locale.mo";
Note: See TracChangeset
for help on using the changeset viewer.