c7c1f44d523258a61243323efc7335dd5c78e0ea
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Configuration / TCA / sys_language.php
1 <?php
2 return [
3 'ctrl' => [
4 'label' => 'title',
5 'tstamp' => 'tstamp',
6 'sortby' => 'sorting',
7 'title' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:sys_language',
8 'adminOnly' => true,
9 'rootLevel' => 1,
10 'enablecolumns' => [
11 'disabled' => 'hidden'
12 ],
13 'typeicon_column' => 'flag',
14 'typeicon_classes' => [
15 'default' => 'mimetypes-x-sys_language',
16 'mask' => 'flags-###TYPE###'
17 ],
18 'versioningWS_alwaysAllowLiveEdit' => true
19 ],
20 'interface' => [
21 'showRecordFieldList' => 'hidden,title'
22 ],
23 'columns' => [
24 'title' => [
25 'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.language',
26 'config' => [
27 'type' => 'input',
28 'size' => 35,
29 'max' => 80,
30 'eval' => 'trim,required'
31 ]
32 ],
33 'hidden' => [
34 'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.disable',
35 'exclude' => true,
36 'config' => [
37 'type' => 'check',
38 'default' => 0
39 ]
40 ],
41 'language_isocode' => [
42 'exclude' => true,
43 'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:sys_language.language_isocode',
44 'config' => [
45 'type' => 'select',
46 'renderType' => 'selectSingle',
47 'size' => 1,
48 'minitems' => 0,
49 'maxitems' => 1,
50 'items' => [],
51 'itemsProcFunc' => \TYPO3\CMS\Core\Service\IsoCodeService::class . '->renderIsoCodeSelectDropdown',
52 ]
53 ],
54 'flag' => [
55 'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:sys_language.flag',
56 'config' => [
57 'type' => 'select',
58 'renderType' => 'selectSingle',
59 'items' => [
60 ['', 0, ''],
61 ['multiple', 'multiple', 'flags-multiple'],
62 ['ad', 'ad', 'flags-ad'],
63 ['ae', 'ae', 'flags-ae'],
64 ['af', 'af', 'flags-af'],
65 ['ag', 'ag', 'flags-ag'],
66 ['ai', 'ai', 'flags-ai'],
67 ['al', 'al', 'flags-al'],
68 ['am', 'am', 'flags-am'],
69 ['an', 'an', 'flags-an'],
70 ['ao', 'ao', 'flags-ao'],
71 ['ar', 'ar', 'flags-ar'],
72 ['as', 'as', 'flags-as'],
73 ['at', 'at', 'flags-at'],
74 ['au', 'au', 'flags-au'],
75 ['aw', 'aw', 'flags-aw'],
76 ['ax', 'ax', 'flags-ax'],
77 ['az', 'az', 'flags-az'],
78 ['ba', 'ba', 'flags-ba'],
79 ['bb', 'bb', 'flags-bb'],
80 ['bd', 'bd', 'flags-bd'],
81 ['be', 'be', 'flags-be'],
82 ['bf', 'bf', 'flags-bf'],
83 ['bg', 'bg', 'flags-bg'],
84 ['bh', 'bh', 'flags-bh'],
85 ['bi', 'bi', 'flags-bi'],
86 ['bj', 'bj', 'flags-bj'],
87 ['bm', 'bm', 'flags-bm'],
88 ['bn', 'bn', 'flags-bn'],
89 ['bo', 'bo', 'flags-bo'],
90 ['br', 'br', 'flags-br'],
91 ['bs', 'bs', 'flags-bs'],
92 ['bt', 'bt', 'flags-bt'],
93 ['bv', 'bv', 'flags-bv'],
94 ['bw', 'bw', 'flags-bw'],
95 ['by', 'by', 'flags-by'],
96 ['bz', 'bz', 'flags-bz'],
97 ['ca', 'ca', 'flags-ca'],
98 ['catalonia', 'catalonia', 'flags-catalonia'],
99 ['cc', 'cc', 'flags-cc'],
100 ['cd', 'cd', 'flags-cd'],
101 ['cf', 'cf', 'flags-cf'],
102 ['cg', 'cg', 'flags-cg'],
103 ['ch', 'ch', 'flags-ch'],
104 ['ci', 'ci', 'flags-ci'],
105 ['ck', 'ck', 'flags-ck'],
106 ['cl', 'cl', 'flags-cl'],
107 ['cm', 'cm', 'flags-cm'],
108 ['cn', 'cn', 'flags-cn'],
109 ['co', 'co', 'flags-co'],
110 ['cr', 'cr', 'flags-cr'],
111 ['cs', 'cs', 'flags-cs'],
112 ['cu', 'cu', 'flags-cu'],
113 ['cv', 'cv', 'flags-cv'],
114 ['cx', 'cx', 'flags-cx'],
115 ['cy', 'cy', 'flags-cy'],
116 ['cz', 'cz', 'flags-cz'],
117 ['de', 'de', 'flags-de'],
118 ['dj', 'dj', 'flags-dj'],
119 ['dk', 'dk', 'flags-dk'],
120 ['dm', 'dm', 'flags-dm'],
121 ['do', 'do', 'flags-do'],
122 ['dz', 'dz', 'flags-dz'],
123 ['ec', 'ec', 'flags-ec'],
124 ['ee', 'ee', 'flags-ee'],
125 ['eg', 'eg', 'flags-eg'],
126 ['eh', 'eh', 'flags-eh'],
127 ['en-us-gb', 'en-us-gb', 'flags-en-us-gb'],
128 ['england', 'england', 'flags-gb-eng'],
129 ['er', 'er', 'flags-er'],
130 ['es', 'es', 'flags-es'],
131 ['et', 'et', 'flags-et'],
132 ['eu', 'eu', 'flags-eu'],
133 ['fam', 'fam', 'flags-fam'],
134 ['fi', 'fi', 'flags-fi'],
135 ['fj', 'fj', 'flags-fj'],
136 ['fk', 'fk', 'flags-fk'],
137 ['fm', 'fm', 'flags-fm'],
138 ['fo', 'fo', 'flags-fo'],
139 ['fr', 'fr', 'flags-fr'],
140 ['ga', 'ga', 'flags-ga'],
141 ['gb', 'gb', 'flags-gb'],
142 ['gd', 'gd', 'flags-gd'],
143 ['ge', 'ge', 'flags-ge'],
144 ['gf', 'gf', 'flags-gf'],
145 ['gh', 'gh', 'flags-gh'],
146 ['gi', 'gi', 'flags-gi'],
147 ['gl', 'gl', 'flags-gl'],
148 ['gm', 'gm', 'flags-gm'],
149 ['gn', 'gn', 'flags-gn'],
150 ['gp', 'gp', 'flags-gp'],
151 ['gq', 'gq', 'flags-gq'],
152 ['gr', 'gr', 'flags-gr'],
153 ['gs', 'gs', 'flags-gs'],
154 ['gt', 'gt', 'flags-gt'],
155 ['gu', 'gu', 'flags-gu'],
156 ['gw', 'gw', 'flags-gw'],
157 ['gy', 'gy', 'flags-gy'],
158 ['hk', 'hk', 'flags-hk'],
159 ['hm', 'hm', 'flags-hm'],
160 ['hn', 'hn', 'flags-hn'],
161 ['hr', 'hr', 'flags-hr'],
162 ['ht', 'ht', 'flags-ht'],
163 ['hu', 'hu', 'flags-hu'],
164 ['id', 'id', 'flags-id'],
165 ['ie', 'ie', 'flags-ie'],
166 ['il', 'il', 'flags-il'],
167 ['in', 'in', 'flags-in'],
168 ['io', 'io', 'flags-io'],
169 ['iq', 'iq', 'flags-iq'],
170 ['ir', 'ir', 'flags-ir'],
171 ['is', 'is', 'flags-is'],
172 ['it', 'it', 'flags-it'],
173 ['jm', 'jm', 'flags-jm'],
174 ['jo', 'jo', 'flags-jo'],
175 ['jp', 'jp', 'flags-jp'],
176 ['ke', 'ke', 'flags-ke'],
177 ['kg', 'kg', 'flags-kg'],
178 ['kh', 'kh', 'flags-kh'],
179 ['ki', 'ki', 'flags-ki'],
180 ['km', 'km', 'flags-km'],
181 ['kn', 'kn', 'flags-kn'],
182 ['kp', 'kp', 'flags-kp'],
183 ['kr', 'kr', 'flags-kr'],
184 ['kw', 'kw', 'flags-kw'],
185 ['ky', 'ky', 'flags-ky'],
186 ['kz', 'kz', 'flags-kz'],
187 ['la', 'la', 'flags-la'],
188 ['lb', 'lb', 'flags-lb'],
189 ['lc', 'lc', 'flags-lc'],
190 ['li', 'li', 'flags-li'],
191 ['lk', 'lk', 'flags-lk'],
192 ['lr', 'lr', 'flags-lr'],
193 ['ls', 'ls', 'flags-ls'],
194 ['lt', 'lt', 'flags-lt'],
195 ['lu', 'lu', 'flags-lu'],
196 ['lv', 'lv', 'flags-lv'],
197 ['ly', 'ly', 'flags-ly'],
198 ['ma', 'ma', 'flags-ma'],
199 ['mc', 'mc', 'flags-mc'],
200 ['md', 'md', 'flags-md'],
201 ['me', 'me', 'flags-me'],
202 ['mg', 'mg', 'flags-mg'],
203 ['mh', 'mh', 'flags-mh'],
204 ['mk', 'mk', 'flags-mk'],
205 ['ml', 'ml', 'flags-ml'],
206 ['mm', 'mm', 'flags-mm'],
207 ['mn', 'mn', 'flags-mn'],
208 ['mo', 'mo', 'flags-mo'],
209 ['mp', 'mp', 'flags-mp'],
210 ['mq', 'mq', 'flags-mq'],
211 ['mr', 'mr', 'flags-mr'],
212 ['ms', 'ms', 'flags-ms'],
213 ['mt', 'mt', 'flags-mt'],
214 ['mu', 'mu', 'flags-mu'],
215 ['mv', 'mv', 'flags-mv'],
216 ['mw', 'mw', 'flags-mw'],
217 ['mx', 'mx', 'flags-mx'],
218 ['my', 'my', 'flags-my'],
219 ['mz', 'mz', 'flags-mz'],
220 ['na', 'na', 'flags-na'],
221 ['nc', 'nc', 'flags-nc'],
222 ['ne', 'ne', 'flags-ne'],
223 ['nf', 'nf', 'flags-nf'],
224 ['ng', 'ng', 'flags-ng'],
225 ['ni', 'ni', 'flags-ni'],
226 ['nl', 'nl', 'flags-nl'],
227 ['no', 'no', 'flags-no'],
228 ['np', 'np', 'flags-np'],
229 ['nr', 'nr', 'flags-nr'],
230 ['nu', 'nu', 'flags-nu'],
231 ['nz', 'nz', 'flags-nz'],
232 ['om', 'om', 'flags-om'],
233 ['pa', 'pa', 'flags-pa'],
234 ['pe', 'pe', 'flags-pe'],
235 ['pf', 'pf', 'flags-pf'],
236 ['pg', 'pg', 'flags-pg'],
237 ['ph', 'ph', 'flags-ph'],
238 ['pk', 'pk', 'flags-pk'],
239 ['pl', 'pl', 'flags-pl'],
240 ['pm', 'pm', 'flags-pm'],
241 ['pn', 'pn', 'flags-pn'],
242 ['pr', 'pr', 'flags-pr'],
243 ['ps', 'ps', 'flags-ps'],
244 ['pt', 'pt', 'flags-pt'],
245 ['pw', 'pw', 'flags-pw'],
246 ['py', 'py', 'flags-py'],
247 ['qa', 'qa', 'flags-qa'],
248 ['qc', 'qc', 'flags-qc'],
249 ['re', 're', 'flags-re'],
250 ['ro', 'ro', 'flags-ro'],
251 ['rs', 'rs', 'flags-rs'],
252 ['ru', 'ru', 'flags-ru'],
253 ['rw', 'rw', 'flags-rw'],
254 ['sa', 'sa', 'flags-sa'],
255 ['sb', 'sb', 'flags-sb'],
256 ['sc', 'sc', 'flags-sc'],
257 ['scotland', 'scotland', 'flags-scotland'],
258 ['sd', 'sd', 'flags-sd'],
259 ['se', 'se', 'flags-se'],
260 ['sg', 'sg', 'flags-sg'],
261 ['sh', 'sh', 'flags-sh'],
262 ['si', 'si', 'flags-si'],
263 ['sj', 'sj', 'flags-sj'],
264 ['sk', 'sk', 'flags-sk'],
265 ['sl', 'sl', 'flags-sl'],
266 ['sm', 'sm', 'flags-sm'],
267 ['sn', 'sn', 'flags-sn'],
268 ['so', 'so', 'flags-so'],
269 ['sr', 'sr', 'flags-sr'],
270 ['st', 'st', 'flags-st'],
271 ['sv', 'sv', 'flags-sv'],
272 ['sy', 'sy', 'flags-sy'],
273 ['sz', 'sz', 'flags-sz'],
274 ['tc', 'tc', 'flags-tc'],
275 ['td', 'td', 'flags-td'],
276 ['tf', 'tf', 'flags-tf'],
277 ['tg', 'tg', 'flags-tg'],
278 ['th', 'th', 'flags-th'],
279 ['tj', 'tj', 'flags-tj'],
280 ['tk', 'tk', 'flags-tk'],
281 ['tl', 'tl', 'flags-tl'],
282 ['tm', 'tm', 'flags-tm'],
283 ['tn', 'tn', 'flags-tn'],
284 ['to', 'to', 'flags-to'],
285 ['tr', 'tr', 'flags-tr'],
286 ['tt', 'tt', 'flags-tt'],
287 ['tv', 'tv', 'flags-tv'],
288 ['tw', 'tw', 'flags-tw'],
289 ['tz', 'tz', 'flags-tz'],
290 ['ua', 'ua', 'flags-ua'],
291 ['ug', 'ug', 'flags-ug'],
292 ['um', 'um', 'flags-um'],
293 ['us', 'us', 'flags-us'],
294 ['uy', 'uy', 'flags-uy'],
295 ['uz', 'uz', 'flags-uz'],
296 ['va', 'va', 'flags-va'],
297 ['vc', 'vc', 'flags-vc'],
298 ['ve', 've', 'flags-ve'],
299 ['vg', 'vg', 'flags-vg'],
300 ['vi', 'vi', 'flags-vi'],
301 ['vn', 'vn', 'flags-vn'],
302 ['vu', 'vu', 'flags-vu'],
303 ['wales', 'wales', 'flags-wales'],
304 ['wf', 'wf', 'flags-wf'],
305 ['ws', 'ws', 'flags-ws'],
306 ['ye', 'ye', 'flags-ye'],
307 ['yt', 'yt', 'flags-yt'],
308 ['za', 'za', 'flags-za'],
309 ['zm', 'zm', 'flags-zm'],
310 ['zw', 'zw', 'flags-zw']
311 ],
312 'size' => 1,
313 'minitems' => 0,
314 'maxitems' => 1,
315 'fieldWizard' => [
316 'selectIcons' => [
317 'disabled' => false,
318 ],
319 ],
320 ]
321 ]
322 ],
323 'types' => [
324 '1' => ['showitem' => '
325 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
326 title,language_isocode,flag,
327 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
328 hidden,
329 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
330 ']
331 ]
332 ];