1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371
|
<?php
/**
* This is b2evolution's localization & language config file
*
* This file sets the default configuration for locales.
* IMPORTANT: Most of these settings can be overriden in the admin (regional settings) and will then
* be saved to the database. The database settings superseede settings in this file.
* Last significant changes to this file: version 0.9.0.10
*
* b2evolution - {@link http://b2evolution.net/}
* Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
* @copyright (c)2003-2005 by Francois PLANQUE - {@link http://fplanque.net/}
*
* @package conf
*/
if( !defined('DB_USER') ) die( 'Please, do not access this page directly.' );
# Enable localization?
# set to 0 to disable localization
# set to 1 to enable gettext localization if supported (not recommended)
# note: you will have to compile the .po files with msgfmt before this will work.
# set to 2 to enable b2evo advanced localization (recommended)
$use_l10n = 2;
# To be used for m17n support:
$dbcharset = 'iso-8859-1'; // If you don't know, don't change this setting.
# Default locale used for backoffice (when we cannot autodetect) and fallback.
# This will be overwritten from database settings, if configured there.
# These use an ISO 639 language code, a '-' and an ISO 3166 country code.
# This MUST BE in the list below.
$default_locale = 'en-EU';
/**
* Load locale related functions: (we need NT_(-) here)
*/
require_once( dirname(__FILE__). "/$conf_dirout/$core_subdir/_functions_locale.php" );
# These are the default settings.
# This array will be overwritten from DB if locales are set there,
# that is when they get updated from the Backoffice.
# They are also used as fallback, if we have no access to the DB yet.
# Flag source: http://www.crwflags.com/fotw/flags/iso3166.html
# IMPORTANT: Try to keep the locale names short, they take away valuable space on the screen!
$locales = array(
'cs-CZ' => array( 'name' => NT_('Czech (CZ)'),
'charset' => 'utf-8',
'datefmt' => 'd. m. y',
'timefmt' => 'H.i:s',
'messages' => 'cs_CZ',
'enabled' => 1,
),
'da-DK' => array( 'name' => NT_('Danish (DK)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd/m/y',
'timefmt' => 'H:i:s',
'messages' => 'da_DK',
'enabled' => 1,
),
'de-DE' => array( 'name' => NT_('German (DE)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd.m.y',
'timefmt' => 'H:i:s',
'messages' => 'de_DE',
'enabled' => 1,
),
'ee-ET' => array( 'name' => NT_('Estonia (ET)'),
'charset' => 'utf-8',
'datefmt' => 'd/m/Y',
'timefmt' => 'H.i:s',
'messages' => 'ee_ET',
'enabled' => 1,
),
'en-EU' => array( 'name' => NT_('English (EU)'),
'charset' => 'iso-8859-1',
'datefmt' => 'Y-m-d',
'timefmt' => 'H:i:s',
'messages' => 'en_EU',
'enabled' => 1,
),
'en-UK' => array( 'name' => NT_('English (UK)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd/m/y',
'timefmt' => 'h:i:s a',
'messages' => 'en_UK',
'enabled' => 1,
),
'en-US' => array( 'name' => NT_('English (US)'),
'charset' => 'iso-8859-1',
'datefmt' => 'm/d/y',
'timefmt' => 'h:i:s a',
'messages' => 'en_US',
'enabled' => 1,
),
'en-CA' => array( 'name' => NT_('English (CA)'),
'charset' => 'iso-8859-1',
'datefmt' => 'm/d/y',
'timefmt' => 'h:i:s a',
'messages' => 'en_CA',
'enabled' => 1,
),
'en-AU' => array( 'name' => NT_('English (AU)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd/m/y',
'timefmt' => 'h:i:s a',
'messages' => 'en_AU',
'enabled' => 1,
),
'en-IL' => array( 'name' => NT_('English (IL)'),
'charset' => 'iso-8859-1',
'datefmt' => 'Y-m-d',
'timefmt' => 'H:i:s',
'messages' => 'en_IL',
'enabled' => 1,
),
'en-NZ' => array( 'name' => NT_('English (NZ)'), // New Zealand
'charset' => 'iso-8859-1',
'datefmt' => 'd/m/y',
'timefmt' => 'h:i:s a',
'messages' => 'en_NZ',
'enabled' => 1,
),
'en-SG' => array( 'name' => NT_('English (SG)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd/m/y',
'timefmt' => 'H:i:s a',
'messages' => 'en_SG',
'enabled' => 1,
),
'es-ES' => array( 'name' => NT_('Spanish (ES)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd.m.y',
'timefmt' => 'H:i:s',
'messages' => 'es_ES',
'enabled' => 1,
),
'es-MX' => array( 'name' => NT_('Spanish (MX)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd.m.y',
'timefmt' => 'H:i:s',
'messages' => 'es_MX',
'enabled' => 1,
),
'es-VE' => array( 'name' => NT_('Spanish (VE)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd/m/Y',
'timefmt' => 'h:i:s a',
'messages' => 'es_VE',
'enabled' => 1,
),
'eu-ES' => array( 'name' => NT_('Basque (ES)'),
'charset' => 'iso-8859-1',
'datefmt' => 'y.m.d',
'timefmt' => 'H:i:s',
'messages' => 'eu_ES',
'enabled' => 1,
),
'fi-FI' => array( 'name' => NT_('Finnish (FI)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd.m.Y',
'timefmt' => 'H:i:s',
'messages' => 'fi_FI',
'enabled' => 1,
),
'fr-FR' => array( 'name' => NT_('French (FR)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd.m.y',
'timefmt' => 'H:i:s',
'messages' => 'fr_FR',
'enabled' => 1,
),
'fr-CA' => array( 'name' => NT_('French (CA)'),
'charset' => 'iso-8859-1',
'datefmt' => 'm/d/y',
'timefmt' => 'h:i:s a',
'messages' => 'fr_FR',
'enabled' => 1,
),
'fr-BE' => array( 'name' => NT_('French (BE)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd/m/y',
'timefmt' => 'H:i:s',
'messages' => 'fr_FR',
'enabled' => 1,
),
'gl-ES' => array( 'name' => NT_('Galician (ES)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd.m.y',
'timefmt' => 'H:i:s',
'messages' => 'gl_ES',
'enabled' => 1,
),
'hu-HU' => array( 'name' => NT_('Hungarian (HU)'),
'charset' => 'iso-8859-2',
'datefmt' => 'Y. M. d.',
'timefmt' => 'H:i:s',
'messages' => 'hu_HU',
'enabled' => 1,
),
'it-IT' => array( 'name' => NT_('Italian (IT)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd.m.y',
'timefmt' => 'H:i:s',
'messages' => 'it_IT',
'enabled' => 1,
),
'is-IS' => array( 'name' => NT_('Icelandic (IS)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd.m.y',
'timefmt' => 'H:i:s',
'messages' => 'is_IS',
'enabled' => 1,
),
'ja-JP' => array( 'name' => NT_('Japanese (JP)'),
'charset' => 'utf-8',
'datefmt' => 'Y/m/d',
'timefmt' => 'H:i:s',
'messages' => 'ja_JP',
'enabled' => 1,
),
'lt-LT' => array( 'name' => NT_('Lithuanian (LT)'),
'charset' => 'utf-8',
'datefmt' => 'Y-m-d',
'timefmt' => 'H:i:s',
'messages' => 'lt_LT',
'enabled' => 1,
),
'nb-NO' => array( 'name' => NT_('Bokmål (NO)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd.m.y',
'timefmt' => 'H:i:s',
'messages' => 'nb_NO',
'enabled' => 1,
),
'nl-NL' => array( 'name' => NT_('Dutch (NL)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd-m-y',
'timefmt' => 'H:i:s',
'messages' => 'nl_NL',
'enabled' => 1,
),
'nl-BE' => array( 'name' => NT_('Dutch (BE)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd/m/y',
'timefmt' => 'H:i:s',
'messages' => 'nl_NL',
'enabled' => 1,
),
'pt-BR' => array( 'name' => NT_('Portuguese (BR)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd.m.y',
'timefmt' => 'H:i:s',
'messages' => 'pt_BR',
'enabled' => 1,
),
'pl-PL-utf-8' => array( 'name' => NT_('Polish utf-8 (PL)'),
'charset' => 'utf-8',
'datefmt' => 'd/m/Y',
'timefmt' => 'H:i:s',
'messages' => 'pl_PL',
'enabled' => 1,
),
'pt-PT' => array( 'name' => NT_('Portuguese (PT)'),
'charset' => 'iso-8859-1',
'datefmt' => 'd-m-y',
'timefmt' => 'H:i:s',
'messages' => 'pt_PT',
'enabled' => 1,
),
'ru-RU' => array( 'name' => NT_('Russian (RU)'),
'charset' => 'utf-8',
'datefmt' => 'Y-m-d',
'timefmt' => 'H:i:s',
'messages' => 'ru_RU',
'enabled' => 1,
),
'sk-SK' => array( 'name' => NT_('Slovak (SK)'),
'charset' => 'utf-8',
'datefmt' => 'd.m.Y',
'timefmt' => 'H:i:s',
'messages' => 'sk_SK',
'enabled' => 1,
),
'sv-SE' => array( 'name' => NT_('Swedish (SE)'),
'charset' => 'iso-8859-1',
'datefmt' => 'y-m-d',
'timefmt' => 'H:i:s',
'messages' => 'sv_SE',
'enabled' => 1,
),
'th-TH' => array( 'name' => NT_('Thai (TH)'),
'charset' => 'utf-8',
'datefmt' => 'd/m/Y',
'timefmt' => 'H:i:s',
'messages' => 'th_TH',
'enabled' => 1,
),
'tr-TR' => array( 'name' => NT_('Turkish (TR)'),
'charset' => 'iso-8859-9',
'datefmt' => 'd/m/y',
'timefmt' => 'H:i:s',
'messages' => 'tr_TR',
'enabled' => 1,
),
'tr-TR-utf-8' => array( 'name' => NT_('Turkish utf-8 (TR)'),
'charset' => 'utf-8',
'datefmt' => 'd/m/y',
'timefmt' => 'H:i:s',
'messages' => 'tr_TR_utf-8',
'enabled' => 0,
),
'zh-CN' => array( 'name' => NT_('Chinese(S) gb2312 (CN)'),
'charset' => 'gb2312',
'datefmt' => 'y-m-d',
'timefmt' => 'H:i:s',
'messages' => 'zh_CN',
'enabled' => 1,
),
'zh-CN-utf-8' => array( 'name' => NT_('Chinese(S) utf-8 (CN)'),
'charset' => 'utf-8',
'datefmt' => 'y-m-d',
'timefmt' => 'H:i:s',
'messages' => 'zh_CN_utf-8',
'enabled' => 0,
),
/* No correct flag...
'zh-HK' => array( 'name' => NT_('Trad. Chinese (HK)'),
'charset' => 'utf-8',
'datefmt' => 'd/m/y',
'timefmt' => 'H:i:s',
'messages' => 'zh_TW',
'enabled' => 1,
),
*/
'zh-TW' => array( 'name' => NT_('Trad. Chinese (TW)'),
'charset' => 'utf-8',
'datefmt' => 'Y-m-d',
'timefmt' => 'H:i:s',
'messages' => 'zh_TW',
'enabled' => 1,
),
);
# Default language (ISO code)
# We get this one from the default locale above
#$default_language = substr( $default_locale, 0, 2 );
/**
* day at the start of the week: 0 for Sunday, 1 for Monday, 2 for Tuesday, etc
*
* This is used when displaying the calendar only.
* Weekly archives are grouped the way MySQL groups days by weeks; see MySQL documentation.
*
* @global int $start_of_week
*/
$start_of_week = 1;
/**
* Set this to 1 if you are a translator and wish to extract strings from your .po file.
* Warning: do *not* extract .PO files you have not edited yourself.
* Shipped .PO files contain automatic translations that have *not* been reviewed.
*
* @global boolean
*/
$allow_po_extraction = 0;
?>
|