diff --git a/docs/how-to-enable-new-languages.md b/docs/how-to-enable-new-languages.md index 28baab64007..ba3375c27eb 100644 --- a/docs/how-to-enable-new-languages.md +++ b/docs/how-to-enable-new-languages.md @@ -72,7 +72,7 @@ Note that the `download_language` key needs to be set to the language code displ There are a few steps to take in order to allow the codebase to build in your desired language. -First, visit the [`shared/config/i18n.ts`](https://github.com/freeCodeCamp/freeCodeCamp/blob/main/config/i18n.ts) file to add the language to the list of available languages and configure the values. There are several objects here. +First, visit the [`shared/config/i18n.ts`](https://github.com/freeCodeCamp/freeCodeCamp/blob/main/shared/config/i18n.ts) file to add the language to the list of available languages and configure the values. There are several objects here. - `Languages`: Add the new language to `Languages` enum, similar to the others. The string value here will be used in the `.env` file to set a build language later. - `availableLangs`: Add the new property from the `Languages` enum to both the `client` and `curriculum` arrays. @@ -324,7 +324,7 @@ Once these are in place, you should be able to run `pnpm run develop` to view yo When your prior PR is merged and the VM for your language is ready, make another PR to show your language in the navigation menu. -In [`shared/config/i18n.ts`](https://github.com/freeCodeCamp/freeCodeCamp/blob/main/config/i18n.ts) file, you have included your language in `hiddenLangs` array in the prior PR. Remove it from the array now. +In [`shared/config/i18n.ts`](https://github.com/freeCodeCamp/freeCodeCamp/blob/main/shared/config/i18n.ts) file, you have included your language in `hiddenLangs` array in the prior PR. Remove it from the array now. ```js export const hiddenLangs = []; // Remove your language from the array