From edde1b7bf0217e76e962ec653ddaebc673292827 Mon Sep 17 00:00:00 2001 From: Zaira <33151350+zairahira@users.noreply.github.com> Date: Wed, 5 Oct 2022 22:12:51 +0500 Subject: [PATCH] docs: update language list and file link (#47856) --- .../how-to-work-on-localized-client-webapp.md | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/docs/how-to-work-on-localized-client-webapp.md b/docs/how-to-work-on-localized-client-webapp.md index b88774c1d37..1406090af6a 100644 --- a/docs/how-to-work-on-localized-client-webapp.md +++ b/docs/how-to-work-on-localized-client-webapp.md @@ -82,13 +82,23 @@ Some of these files are translated on our translation platform (Crowdin), some a ## Testing the client app in a world language -You can test the client app in any language available in the [list of languages here](https://github.com/freeCodeCamp/freeCodeCamp/blob/6b4a6a02568b809fc216ea8566ff5df446d1da4e/config/i18n/all-langs.js#L5). +You can test the client app in any language available in the [list of languages here](https://github.com/freeCodeCamp/freeCodeCamp/blob/main/config/i18n/all-langs.ts). ```js - const availableLangs = { - client: ['english', 'espanol', 'chinese'], - ... - }; + export const availableLangs = { + client: [ + 'english', + 'espanol', + 'chinese', + 'chinese-traditional', + 'italian', + 'portuguese', + 'ukrainian', + 'japanese', + 'german' + ], + ... +}; ``` If you are testing a new language, create a folder with the language name as the title next to the other languages and copy the JSON files from another language into your new folder.