We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3be6970 commit f71c1fdCopy full SHA for f71c1fd
.migration/rst2po.py
@@ -0,0 +1,9 @@
1
+# rst2po.py
2
+# Script to migrate the Python official tutorial that we have already translated in PyAr
3
+# (https://github.com/PyAr/tutorial) from reStructuredText to the new official translation format (.po)
4
+#
5
+# It parses the .rst and compare sentence/paragraph by sentence/paragraph and if the match is exact,
6
+# and there is no translation for that sentence/paragraph it updates the .po file with the translated text
7
+# from the .rst file.
8
+
9
+import polib # fades
0 commit comments