Config/locales/sv Php

config/locales/sv.php

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

$locale = array();
$locale['description'] = 'Sverige';
$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' => 'kr',
'unit_position' => 'right',
'separator'=> ',',
'delimiter' =>  '.'
);  // 1.233,45 kr
 
$locale['code'] = 'sv';
$locale['languages'] = 'svenska';
 
$dictionary = array();
$dictionary['language'] = 'På svenska';
 
lang-locale-mgmt-locale-sv-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