mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-16 21:17:45 +02:00
fix(i18n): set english as first item in supported locales in case locale negotiation does not work
This commit is contained in:
parent
ea9ba5adc8
commit
44fb904ba6
1 changed files with 2 additions and 2 deletions
|
|
@ -123,13 +123,13 @@ class App extends BaseConfig
|
||||||
* @var list<string>
|
* @var list<string>
|
||||||
*/
|
*/
|
||||||
public array $supportedLocales = [
|
public array $supportedLocales = [
|
||||||
|
'en', // keep english language first in case locale negotiation does not work
|
||||||
|
'fr',
|
||||||
'br',
|
'br',
|
||||||
'ca',
|
'ca',
|
||||||
'cs',
|
'cs',
|
||||||
'de',
|
'de',
|
||||||
'en',
|
|
||||||
'es',
|
'es',
|
||||||
'fr',
|
|
||||||
'lt',
|
'lt',
|
||||||
'nn-no',
|
'nn-no',
|
||||||
'pl',
|
'pl',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue