locale.php
1.68 KB
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
<?php
return [
/*
* Whether or not to show the language picker, or just default to the default
* locale specified in the app config file
*
* @var bool
*/
'status' => false,
/*
* Available languages
*
* Add your language code to this array.
* The code must have the same name as the language folder.
* Be sure to add the new language in an alphabetical order.
*
* The language picker will not be available if there is only one language option
* Commenting out languages will make them unavailable to the user
*
* @var array
*/
'languages' => [
/*
* Key is the Laravel locale code
* Index 0 of sub-array is the Carbon locale code
* Index 1 of sub-array is the PHP locale code for setlocale()
* Index 2 of sub-array is whether or not to use RTL (right-to-left) css for this language
*/
'ar' => ['ar', 'ar_AR', true],
'zh' => ['zh', 'zh-CN', false],
'zh-TW' => ['zh-TW', 'zh-TW', false],
'da' => ['da', 'da_DK', false],
'de' => ['de', 'de_DE', false],
'el' => ['el', 'el_GR', false],
'en' => ['en', 'en_US', false],
'es' => ['es', 'es_ES', false],
'fr' => ['fr', 'fr_FR', false],
'id' => ['id', 'id_ID', false],
'it' => ['it', 'it_IT', false],
'ja' => ['ja', 'ja-JP', false],
'nl' => ['nl', 'nl_NL', false],
'pt_BR' => ['pt_BR', 'pt_BR', false],
'ru' => ['ru', 'ru-RU', false],
'sv' => ['sv', 'sv_SE', false],
'th' => ['th', 'th_TH', false],
'tr' => ['tr', 'tr_TR', false],
],
];