2727
2828### To build html versions of translated resources
2929Whenever a resource is fully translated and reviewed, Transifex will make a pull request to the corresponding github repo (Tutorials, in this case)
30- -- Merge the pull request to main
31- -- Fetch and pull to your local repo to update it
32- -- If it doesn't already exist, create a toc (table of contents) directory inside the 'source' folder (similar to toc_en)
33- -- Give the folder an appropiate name (like toc_es for Spanish or toc_pt_BR for Brazilian Portuguese)
34- -- Copy the index.rst file one from source/toc_en/ and paste it in the new toc folder
35- -- Open the index.rst file and edit it giving appropiate titles to each tutorial and translate the welcoming title
30+ - Merge the pull request to main
31+ - Fetch and pull to your local repo to update it
32+ - If it doesn't already exist, create a toc (table of contents) directory inside the 'source' folder (similar to toc_en)
33+ - Give the folder an appropiate name (like toc_es for Spanish or toc_pt_BR for Brazilian Portuguese)
34+ - Copy the index.rst file one from source/toc_en/ and paste it in the new toc folder
35+ - Open the index.rst file and edit it giving appropiate titles to each tutorial and translate the welcoming title
3636
37- -- In your terminal ` cd ` into ` [YourTutorialsRepo]/internal_use/docs/source/ `
38- -- Run ` sphinx-build -b html -D language=es -D root_doc=toc_es/index . ../build/html_es ` to build in Spanish
39- -- Run ` sphinx-build -b html -D language=pt_BR -D root_doc=toc_pt_BR/index . ../build/html_pt_BR ` to build in Protuguese (Brazil)
37+ - In your terminal ` cd ` into ` [YourTutorialsRepo]/internal_use/docs/source/ `
38+ - Run ` sphinx-build -b html -D language=es -D root_doc=toc_es/index . ../build/html_es ` to build in Spanish
39+ - Run ` sphinx-build -b html -D language=pt_BR -D root_doc=toc_pt_BR/index . ../build/html_pt_BR ` to build in Protuguese (Brazil)
4040
4141
4242## ** To build (when adding new tutorials) or update (when editing an existing tutorial in English) the .toc files for the translation in transifex**
@@ -49,8 +49,9 @@ Whenever a resource is fully translated and reviewed, Transifex will make a pull
4949- * Don't forget to commit your changes to Github!!*
5050
5151
52+ ----------
53+ ----------
5254
53- ================================================================================================================
5455
5556# OLD INSTRUCTIONS:
5657
0 commit comments