mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-28 03:02:58 +08:00
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:
co-authored by
Ilenia
parent
6074cdf9c1
commit
c0588f3b32
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user