Source for file _locales.php
Documentation is available at _locales.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/}
if( !defined('DB_USER') ) die( 'Please, do not access this page directly.' );
# 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)
# 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!
'cs-CZ' =>
array( 'name' =>
NT_('Czech (CZ)'),
'da-DK' =>
array( 'name' =>
NT_('Danish (DK)'),
'charset' =>
'iso-8859-1',
'de-DE' =>
array( 'name' =>
NT_('German (DE)'),
'charset' =>
'iso-8859-1',
'ee-ET' =>
array( 'name' =>
NT_('Estonia (ET)'),
'en-EU' =>
array( 'name' =>
NT_('English (EU)'),
'charset' =>
'iso-8859-1',
'en-UK' =>
array( 'name' =>
NT_('English (UK)'),
'charset' =>
'iso-8859-1',
'en-US' =>
array( 'name' =>
NT_('English (US)'),
'charset' =>
'iso-8859-1',
'en-CA' =>
array( 'name' =>
NT_('English (CA)'),
'charset' =>
'iso-8859-1',
'en-AU' =>
array( 'name' =>
NT_('English (AU)'),
'charset' =>
'iso-8859-1',
'en-IL' =>
array( 'name' =>
NT_('English (IL)'),
'charset' =>
'iso-8859-1',
'en-NZ' =>
array( 'name' =>
NT_('English (NZ)'), // New Zealand
'charset' =>
'iso-8859-1',
'en-SG' =>
array( 'name' =>
NT_('English (SG)'),
'charset' =>
'iso-8859-1',
'es-ES' =>
array( 'name' =>
NT_('Spanish (ES)'),
'charset' =>
'iso-8859-1',
'es-MX' =>
array( 'name' =>
NT_('Spanish (MX)'),
'charset' =>
'iso-8859-1',
'es-VE' =>
array( 'name' =>
NT_('Spanish (VE)'),
'charset' =>
'iso-8859-1',
'eu-ES' =>
array( 'name' =>
NT_('Basque (ES)'),
'charset' =>
'iso-8859-1',
'fi-FI' =>
array( 'name' =>
NT_('Finnish (FI)'),
'charset' =>
'iso-8859-1',
'fr-FR' =>
array( 'name' =>
NT_('French (FR)'),
'charset' =>
'iso-8859-1',
'fr-CA' =>
array( 'name' =>
NT_('French (CA)'),
'charset' =>
'iso-8859-1',
'fr-BE' =>
array( 'name' =>
NT_('French (BE)'),
'charset' =>
'iso-8859-1',
'gl-ES' =>
array( 'name' =>
NT_('Galician (ES)'),
'charset' =>
'iso-8859-1',
'hu-HU' =>
array( 'name' =>
NT_('Hungarian (HU)'),
'charset' =>
'iso-8859-2',
'it-IT' =>
array( 'name' =>
NT_('Italian (IT)'),
'charset' =>
'iso-8859-1',
'is-IS' =>
array( 'name' =>
NT_('Icelandic (IS)'),
'charset' =>
'iso-8859-1',
'ja-JP' =>
array( 'name' =>
NT_('Japanese (JP)'),
'lt-LT' =>
array( 'name' =>
NT_('Lithuanian (LT)'),
'nb-NO' =>
array( 'name' =>
NT_('Bokmål (NO)'),
'charset' =>
'iso-8859-1',
'nl-NL' =>
array( 'name' =>
NT_('Dutch (NL)'),
'charset' =>
'iso-8859-1',
'nl-BE' =>
array( 'name' =>
NT_('Dutch (BE)'),
'charset' =>
'iso-8859-1',
'pt-BR' =>
array( 'name' =>
NT_('Portuguese (BR)'),
'charset' =>
'iso-8859-1',
'pl-PL-utf-8' =>
array( 'name' =>
NT_('Polish utf-8 (PL)'),
'pt-PT' =>
array( 'name' =>
NT_('Portuguese (PT)'),
'charset' =>
'iso-8859-1',
'ru-RU' =>
array( 'name' =>
NT_('Russian (RU)'),
'sk-SK' =>
array( 'name' =>
NT_('Slovak (SK)'),
'sv-SE' =>
array( 'name' =>
NT_('Swedish (SE)'),
'charset' =>
'iso-8859-1',
'th-TH' =>
array( 'name' =>
NT_('Thai (TH)'),
'tr-TR' =>
array( 'name' =>
NT_('Turkish (TR)'),
'charset' =>
'iso-8859-9',
'tr-TR-utf-8' =>
array( 'name' =>
NT_('Turkish utf-8 (TR)'),
'messages' =>
'tr_TR_utf-8',
'zh-CN' =>
array( 'name' =>
NT_('Chinese(S) gb2312 (CN)'),
'zh-CN-utf-8' =>
array( 'name' =>
NT_('Chinese(S) utf-8 (CN)'),
'messages' =>
'zh_CN_utf-8',
'zh-HK' => array( 'name' => NT_('Trad. Chinese (HK)'),
'zh-TW' =>
array( 'name' =>
NT_('Trad. Chinese (TW)'),
# 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
* 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.
$allow_po_extraction =
0;