Changeset 1177
- Timestamp:
- 04/26/2004 02:00:08 AM (21 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-config-sample.php
r628 r1177 13 13 $table_prefix = 'wp_'; // example: 'wp_' or 'b2' or 'mylogin_' 14 14 15 // Change this to localize WordPress. A corresponding MO file for the 16 // chosen language must be installed to wp-includes/languages. 17 // For example, install de.mo to wp-includes/languages and set WPLANG to 'de' 18 // to enable German lanuage support. 19 define ('WPLANG', ''); 20 15 21 /* Stop editing */ 16 22 -
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.