-
-
Notifications
You must be signed in to change notification settings - Fork 64
Add Romanian translation to the language switcher #310
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
Conversation
The Romanian translation is now ready for the translation switcher. It targets the "3.13" branch of the docs (repository).
Why close? |
@octaG-M please paste the current completion statistics for the required pages. |
updating PO files against latest POT for 3.13 and then running potodo I see the following incomplete:
Also, the translation of tutorial/classes.po has some invalid
|
Sorry for this very late reply. I tried to reproduce the errors found in your report, @rffontenelle. I am using version [ 1.2 ] of [ msgfmt.py ] and version [ 0.23.1 ] of [ potodo ]. However, on my Windows 11 machine, everything seems fine. As for the invalid control characters you have discovered: I translated the texts inside the code snippets as I have noticed that it is of certain use for newbies trying to guess which are the language statements and which are the code's author names of variables, functions and others. As you can see in the attached pictures, the translated code works fine in Python 3.13.7, and it also compiles fine to HTML. Any suggestions regarding what to do next will be highly appreciated! |
I see. To the GNU Gettext msgfmt tool it is an ilegal character, but it doesn't affect msgfmt.py, Sphinx's code-block or Python docs build. GNU Gettext complains about this because |
Thank you, @rffontenelle, for the suggestion. I inserted the extra escape characters in [ tutorial/classes.po ]. |
Hello, @AA-Turner. Sorry for this very late reply. Here are the completion statistics, as obtained on my Windows 11 machine while running potodo with version [ 0.23.1 ]: statistici.txt. In the comment by @rffontenelle there is also a report on the completion statistics showing several shortcomings to the translated files. However, I have not been able to reproduce them using my settings. Any suggestions regarding what to do next will be highly appreciated! |
I basically updated your PO files against updated POT files before running potodo. Python documentation is live, always changing. So my recommendation is that you periodically generate new POT files ( |
Thank you for the hint, @rffontenelle. Following your advice, I corrected the four files with fuzzy entries from [ tutorial ]. I was not able to find any fuzzy entries in the [ library/functions.po ] file. |
Here are the new completion statistics: statistici2.txt. |
For future reference please paste the contents of the file into the comment (with a A |
python-docs-ro-3.13 (39.97% done)
c-api (0.00% done)
deprecations (0.00% done)
distributing (0.00% done)
extending (0.00% done)
faq (0.00% done)
howto (0.00% done)
installing (0.00% done)
library (1.42% done)
reference (0.00% done)
tutorial (100.00% done)using (0.00% done)
whatsnew (0.00% done)
TOTAL (2.78% done) |
Note that in the The translation requirements are complete per the above output, let's get this merged ASAP before it changes! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Requirements are still met as of today. |
I prepared the translation for the translation switcher. The repository contains a Romanian translation of: [ bugs.po, tutorial/*.po, library/functions.po ]. It also includes some necessary partial translations to make the Romanian version of the tutorial easier to use: [ glossary.po (only the index), sphinx.po (the fragments used for the splash-page and for the download page) ]. I have tested the translation against the latest docs from the Python/cpython, branch 3.13.