Config/locales/en Us Php

config/locales/en_us.php

Example of code for the English language in the USA. After reviewing this text, return to the main article.

 
$locale = array();
$locale['description'] = 'United States';
$locale['charset'] = 'UTF-8';
$locale['date_time_format'] = 'Y-m-d H:i:s';
$locale['db_date_time_format'] = 'Y-m-d H:i:s';
$locale['date_format'] = 'Y-m-d';
$locale['long_date_format'] = 'Y-m-d';
$locale['time_format'] = 'H:i';
$locale['long_time_format'] = 'H:i:s';
$locale['first_day_of_week'] = 0; // 0 sunday, 1 monday
$locale['weekday_abbreviation'] = 1;
 
$locale['currency'] = array(
'precision'=>2,
'unit' => '$',
'unit_position' => 'left',
'separator'=> '.',
'delimiter' =>  ','
);
 
$locale['code'] = 'en_us';
$locale['languages'] = 'English';
//    Name and positions on add & edit forms
$locale['state designation'] = 'State';
$locale['state position'] = 'after city';
$locale['zone designation'] = 'Zip code';
$locale['zone position'] = 'after state';
 
$dictionary = array();
// Note that we are specifying the locale, just in case we use Canadian English or British English.
$dictionary['language'] = 'US English';
 
lang-locale-mgmt-locale-en-us-php.txt · Last modified: 2009/02/08 16:28 (external edit)
 

The Akelos Framework was created by Bermi Ferrer and other contributors.
Potions of the code and documentation have been ported from Ruby on Rails.

The Akelos Framework is released under the LGPL license.

"Akelos", "Akelos Framework", and the Akelos logo are trademarks of Bermi Labs All rights reserved.

Wiki driven by DokuWiki