docs: mention clean command in add new lang docs (#48191)

* docs: mention clean command in add new lang docs

* Clearer description and structure of the solution

Co-authored-by: Ilenia <nethleen@gmail.com>

Co-authored-by: Ilenia <nethleen@gmail.com>
This commit is contained in:
Muhammed Mustafa
2022-10-24 11:06:51 +02:00
committed by GitHub
co-authored by Ilenia
parent 6074cdf9c1
commit c0588f3b32
+3
View File
@@ -279,6 +279,9 @@ Update your `.env` file to use your new language for `CLIENT_LOCALE` and `CURRIC
Once these are in place, you should be able to run `npm run develop` to view your translated version of freeCodeCamp.
> [!TIP]
> If you build the client in one language and then want to build it in a different language, you will need to use the command `npm run clean-and-develop` after changing the `.env` file, as Gatsby will cache the first language.
> [!ATTENTION]
> While you may perform translations locally for the purpose of testing, we remind everyone that translations should _not_ be submitted through GitHub and should only be done through Crowdin. Be sure to reset your local codebase after you are done testing.