From 89a1b3098ec0aff80ddf25368314538cbb736448 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Tue, 8 Mar 2022 10:09:37 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 6 +++++- exampleSite/content/docs/configuration.md | 21 +++++++++++---------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b2245cc..a8757b53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Added + +- Portuguese (Portugal) translation ([#144](https://github.com/jpanther/congo/pull/144)) + ### 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)) @@ -189,7 +193,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Added - 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)) ### Fixed diff --git a/exampleSite/content/docs/configuration.md b/exampleSite/content/docs/configuration.md index b4c4f70a..ebc5dd1b 100644 --- a/exampleSite/content/docs/configuration.md +++ b/exampleSite/content/docs/configuration.md @@ -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: -| Language | Code | -| ---------------------------- | ------- | -| :gb: English | `en` | -| :bangladesh: Bengali | `bn` | -| :cn: Chinese | `zh` | -| :fr: French | `fr` | -| :de: German | `de` | -| :brazil: Portuguese (Brazil) | `pt-br` | -| :es: Spanish (Spain) | `es` | -| :tr: Turkish | `tr` | +| Language | Code | +| -------------------------------- | ------- | +| :gb: English | `en` | +| :bangladesh: Bengali | `bn` | +| :cn: Chinese | `zh` | +| :fr: French | `fr` | +| :de: German | `de` | +| :brazil: Portuguese (Brazil) | `pt-br` | +| :portugal: Portuguese (Portugal) | `pt-pt` | +| :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).