Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Script rst2po.py to migrate tutorial.python.org.ar to this new version #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 30 commits into from
May 2, 2020

Conversation

humitos
Copy link
Collaborator

@humitos humitos commented May 2, 2020

We created a script rst2po.py that creates a tuple of (english_paragraph, spanish_paragraph) and look for the english_paragraph in the .po file. If there is a match, it adds the spanish_paragraph as the translation in the .po file.

english_ and spanish_ paragraphs come from the work we already have done on RST files in https://github.com/PyAr/tutorial so we can re-use that work.

There is going to be some un-translated paragraphs because that repositories has 3.6.3 translated. However, we only consider exact matches only.

The script rst2po.py won't be needed anymore once this PR is merged and the migration work is done completely.

Branched off of readthedocs.

@humitos humitos mentioned this pull request May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants