📝 Update docs

pull/156/head
James Panther 2022-03-08 10:09:37 +11:00
parent 5d70524cda
commit 89a1b3098e
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
2 changed files with 16 additions and 11 deletions

View File

@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased] ## [Unreleased]
### Added
- Portuguese (Portugal) translation ([#144](https://github.com/jpanther/congo/pull/144))
### Changed ### Changed
- Markdown images and `figure` shortcode now search the `assets/` directory if an image cannot be found in page bundle ([#126](https://github.com/jpanther/congo/issues/126)) - Markdown images and `figure` shortcode now search the `assets/` directory if an image cannot be found in page bundle ([#126](https://github.com/jpanther/congo/issues/126))
@ -189,7 +193,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Added ### Added
- German translation ([#27](https://github.com/jpanther/congo/pull/27)) - German translation ([#27](https://github.com/jpanther/congo/pull/27))
- Brazilian Portuguese translation ([#28](https://github.com/jpanther/congo/pull/28)) - Portuguese (Brazil) translation ([#28](https://github.com/jpanther/congo/pull/28))
- Spanish translation ([#30](https://github.com/jpanther/congo/pull/30)) - Spanish translation ([#30](https://github.com/jpanther/congo/pull/30))
### Fixed ### Fixed

View File

@ -47,16 +47,17 @@ Congo is optimised for full multilingual websites and theme assets are translate
The theme currently supports the following languages by default: The theme currently supports the following languages by default:
| Language | Code | | Language | Code |
| ---------------------------- | ------- | | -------------------------------- | ------- |
| :gb: English | `en` | | :gb: English | `en` |
| :bangladesh: Bengali | `bn` | | :bangladesh: Bengali | `bn` |
| :cn: Chinese | `zh` | | :cn: Chinese | `zh` |
| :fr: French | `fr` | | :fr: French | `fr` |
| :de: German | `de` | | :de: German | `de` |
| :brazil: Portuguese (Brazil) | `pt-br` | | :brazil: Portuguese (Brazil) | `pt-br` |
| :es: Spanish (Spain) | `es` | | :portugal: Portuguese (Portugal) | `pt-pt` |
| :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).