mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-01 13:48:37 +02:00
Update i18n.md
Corrected a mistake: to make a new locale available (in particular for use with silverstripe/translatable), i18n:common_locales needs to be updated, not i18n:common_languages.
This commit is contained in:
parent
824c6067a2
commit
90bb1ec7f7
@ -91,15 +91,16 @@ In order to add a value, add the following to your `config.yml`:
|
|||||||
|
|
||||||
:::yml
|
:::yml
|
||||||
i18n:
|
i18n:
|
||||||
common_languages:
|
common_locales:
|
||||||
de_CGN:
|
de_CGN:
|
||||||
name: German (Cologne)
|
name: German (Cologne)
|
||||||
native: Kölsch
|
native: Kölsch
|
||||||
|
|
||||||
Similarly, to change an existing existing language label, you can overwrite one of these keys:
|
Similarly, to change an existing language label, you can overwrite one of these keys:
|
||||||
|
|
||||||
|
:::yml
|
||||||
i18n:
|
i18n:
|
||||||
common_languages:
|
common_locales:
|
||||||
en_NZ:
|
en_NZ:
|
||||||
native: Niu Zillund
|
native: Niu Zillund
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user