🌐 AI搜索 & 代理 主页
Skip to content

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.

3 participants