📝 Update language docs

pull/371/head
James Panther 2022-11-16 09:29:13 +11:00
parent 51a5ccc91b
commit 34ed755950
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
1 changed files with 20 additions and 19 deletions

View File

@ -45,26 +45,27 @@ Note that the variable names provided in this table use dot notation to simplify
Congo is optimised for full multilingual websites and theme assets are translated into several languages out of the box. The language configuration allows you to generate multiple versions of your content to provide a customised experience to your visitors in their native language. Congo is optimised for full multilingual websites and theme assets are translated into several languages out of the box. The language configuration allows you to generate multiple versions of your content to provide a customised experience to your visitors in their native language.
The theme currently supports the following languages by default: The theme currently supports the following languages out of the box:
| Language | Code | | Language | Code |
| ------------------------------------- | ------- | | --------------------------------------- | ------- |
| :gb: English | `en` | | :gb: **English (default)** | `en` |
| :bangladesh: Bengali | `bn` | | :bangladesh: Bengali | `bn` |
| :cn: Simplified Chinese (China) | `zh-cn` | | :cn: Chinese - Simplified (China) | `zh-cn` |
| :taiwan: Traditional Chinese (Taiwan) | `zh-tw` | | :taiwan: Chinese - Traditional (Taiwan) | `zh-tw` |
| :finland: Finnish | `fi` | | :netherlands: Dutch | `nl` |
| :fr: French | `fr` | | :finland: Finnish | `fi` |
| :de: German | `de` | | :fr: French | `fr` |
| :israel: Hebrew | `he` | | :de: German | `de` |
| :hungary: Hungarian | `hu` | | :israel: Hebrew | `he` |
| :it: Italian | `it` | | :hungary: Hungarian | `hu` |
| :jp: Japanese | `ja` | | :it: Italian | `it` |
| :brazil: Portuguese (Brazil) | `pt-br` | | :jp: Japanese | `ja` |
| :portugal: Portuguese (Portugal) | `pt-pt` | | :brazil: Portuguese (Brazil) | `pt-br` |
| :romania: Romanian | `ro` | | :portugal: Portuguese (Portugal) | `pt-pt` |
| :es: Spanish (Spain) | `es` | | :romania: Romanian | `ro` |
| :tr: Turkish | `tr` | | :es: Spanish (Spain) | `es` |
| :tr: Turkish | `tr` |
The default translations can be overridden by creating a custom file in `i18n/[code].yaml` that contains the translation strings. You can also use this method to add new languages. If you'd like to share a new translation with the community, please [open a pull request](https://github.com/jpanther/congo/pulls). The default translations can be overridden by creating a custom file in `i18n/[code].yaml` that contains the translation strings. You can also use this method to add new languages. If you'd like to share a new translation with the community, please [open a pull request](https://github.com/jpanther/congo/pulls).