Skip to content

Commit

Permalink
update translated pdfs and zips
Browse files Browse the repository at this point in the history
  • Loading branch information
emiglietta committed Oct 25, 2024
1 parent d218532 commit 5144871
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
Binary file modified BeginnerSegmentation/Archive_ES.zip
Binary file not shown.
Binary file modified BeginnerSegmentation/Archive_PT.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
21 changes: 11 additions & 10 deletions internal_use/docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@

### To build html versions of translated resources
Whenever a resource is fully translated and reviewed, Transifex will make a pull request to the corresponding github repo (Tutorials, in this case)
-- Merge the pull request to main
-- Fetch and pull to your local repo to update it
-- If it doesn't already exist, create a toc (table of contents) directory inside the 'source' folder (similar to toc_en)
-- Give the folder an appropiate name (like toc_es for Spanish or toc_pt_BR for Brazilian Portuguese)
-- Copy the index.rst file one from source/toc_en/ and paste it in the new toc folder
-- Open the index.rst file and edit it giving appropiate titles to each tutorial and translate the welcoming title
- Merge the pull request to main
- Fetch and pull to your local repo to update it
- If it doesn't already exist, create a toc (table of contents) directory inside the 'source' folder (similar to toc_en)
- Give the folder an appropiate name (like toc_es for Spanish or toc_pt_BR for Brazilian Portuguese)
- Copy the index.rst file one from source/toc_en/ and paste it in the new toc folder
- Open the index.rst file and edit it giving appropiate titles to each tutorial and translate the welcoming title

-- In your terminal `cd` into `[YourTutorialsRepo]/internal_use/docs/source/`
-- Run `sphinx-build -b html -D language=es -D root_doc=toc_es/index . ../build/html_es` to build in Spanish
-- 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)
- In your terminal `cd` into `[YourTutorialsRepo]/internal_use/docs/source/`
- Run `sphinx-build -b html -D language=es -D root_doc=toc_es/index . ../build/html_es` to build in Spanish
- 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)


## **To build (when adding new tutorials) or update (when editing an existing tutorial in English) the .toc files for the translation in transifex**
Expand All @@ -49,8 +49,9 @@ Whenever a resource is fully translated and reviewed, Transifex will make a pull
- *Don't forget to commit your changes to Github!!*


----------
----------

================================================================================================================

# OLD INSTRUCTIONS:

Expand Down

0 comments on commit 5144871

Please sign in to comment.