Introduce locale variants

Australia
Canada
UK
This commit is contained in:
Samuel Georges 2016-04-23 13:13:52 +10:00
parent e75b01b878
commit 4df7c6704e
3 changed files with 10 additions and 3 deletions

View File

@ -44,7 +44,8 @@ return [
|--------------------------------------------------------------------------
|
| This acts as the default setting for a back-end user's timezone. This can
| be changed by the user at any time using the backend preferences.
| be changed by the user at any time using the backend preferences. All
| dates displayed in the back-end will be converted to this timezone.
|
*/

View File

@ -126,8 +126,10 @@ class Preferences extends Model
{
$locales = Config::get('app.localeOptions', [
'cs' => [Lang::get('system::lang.locale.cs'), 'flag-cz'],
'en' => [Lang::get('system::lang.locale.en'), 'flag-gb'],
'en' => [Lang::get('system::lang.locale.en'), 'flag-us'],
'en-au' => [Lang::get('system::lang.locale.en-au'), 'flag-au'],
'en-ca' => [Lang::get('system::lang.locale.en-ca'), 'flag-ca'],
'en-gb' => [Lang::get('system::lang.locale.en-gb'), 'flag-gb'],
'de' => [Lang::get('system::lang.locale.de'), 'flag-de'],
'es' => [Lang::get('system::lang.locale.es'), 'flag-es'],
'es-ar' => [Lang::get('system::lang.locale.es-ar'), 'flag-ar'],

View File

@ -7,13 +7,17 @@ return [
],
'locale' => [
'cs' => 'Czech',
'en' => 'English',
'en' => 'English (United States)',
'en-au' => 'English (Australia)',
'en-ca' => 'English (Canada)',
'en-gb' => 'English (United Kingdom)',
'de' => 'German',
'el' => 'Greek',
'es' => 'Spanish',
'es-ar' => 'Spanish (Argentina)',
'fa' => 'Persian',
'fr' => 'French',
'fr-ca' => 'French (Canada)',
'hu' => 'Hungarian',
'id' => 'Bahasa Indonesia',
'it' => 'Italian',