From julien at palard.fr Sat Jan 4 09:31:35 2020 From: julien at palard.fr (Julien Palard) Date: Sat, 04 Jan 2020 14:31:35 +0000 Subject: [Doc-SIG] Python Documentation Translation to Bahasa Indonesia (Indonesian Language) In-Reply-To: References: Message-ID: o/ > Yes, it is. We really need Sphinx 2.3+. Done, all branches and all languages are building using 2.3.1. Happy new year! --? Julien Palard https://mdk.fr From oon.arfiandwi at gmail.com Sat Jan 4 16:43:52 2020 From: oon.arfiandwi at gmail.com (oon arfiandwi) Date: Sun, 5 Jan 2020 05:43:52 +0800 Subject: [Doc-SIG] Python Documentation Translation to Bahasa Indonesia (Indonesian Language) In-Reply-To: References: Message-ID: Dear Julien, happy new year. what a great news! yes, I have checked it, got the Sphinx 2.3.1 with the latest translation update. thank you very much. sincerely, oon arfiandwi On Sat, Jan 4, 2020, 10:31 PM Julien Palard wrote: > o/ > > > Yes, it is. We really need Sphinx 2.3+. > > Done, all branches and all languages are building using 2.3.1. > > Happy new year! > -- > Julien Palard > https://mdk.fr > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From maciej.olko at gmail.com Sat Jan 25 17:31:26 2020 From: maciej.olko at gmail.com (Maciek Olko) Date: Sat, 25 Jan 2020 23:31:26 +0100 Subject: [Doc-SIG] Make code blocks translatable Message-ID: Hello, I'd like to set up discussion about making code blocks in documentation translatable. From my experience many of code blocks would benefit from being translated. Especially comments and string literals. For example this code block from tutorial: # this is the first commentspam = 1 # and this is the second comment # ... and now a third!text = "# This is not a comment because it's inside quotes." To enable their translation, it requires slight modification of Sphinx call ? gettext_additional_targets = ['literal-block'] configuration option value would do this. The option has been introduced in Sphinx 1.3. If there would be consensus about that I'd willingly add pull request in docsbuild-scripts repository. Kind regards, Maciej -------------- next part -------------- An HTML attachment was scrubbed... URL: From maciej.olko at gmail.com Sun Jan 26 11:10:41 2020 From: maciej.olko at gmail.com (Maciek Olko) Date: Sun, 26 Jan 2020 17:10:41 +0100 Subject: [Doc-SIG] Revision of resources' Transifex priorities Message-ID: Hello, I am wondering if it would be difficult to revise Transifex priority values of resources. Now all resources have the same priority value ("high"). Would it be possible to highlight resources: - bugs, - all in tutorial directory, - library/functions, [1] - and sphinx, among others by making their priority higher? In my opinion it would ease the work with resources e.g. being able to filter them by importance. Looking forward to your opinion, Kind regards, Maciej [1] Those first three are required for a translation to be in languge switcher, therefore they are already made priorities by PEP 545. https://www.python.org/dev/peps/pep-0545/#add-translation-to-the-language-switcher -------------- next part -------------- An HTML attachment was scrubbed... URL: From songofacandy at gmail.com Sun Jan 26 23:14:19 2020 From: songofacandy at gmail.com (Inada Naoki) Date: Mon, 27 Jan 2020 13:14:19 +0900 Subject: [Doc-SIG] Make code blocks translatable In-Reply-To: References: Message-ID: I don't have a strong objection, but I think translating sample code is much less important than translating regular docs. For example, see https://docs.python.org/3/library/functools.html There are many example code blocks. Translating strings in them doesn't help much. So I think focusing to regular doc is better for effort-benefit ratio. Regards, On Sun, Jan 26, 2020 at 7:31 AM Maciek Olko wrote: > > Hello, > > I'd like to set up discussion about making code blocks in documentation translatable. From my experience many of code blocks would benefit from being translated. Especially comments and string literals. For example this code block from tutorial: > > # this is the first comment > spam = 1 # and this is the second comment > # ... and now a third! > text = "# This is not a comment because it's inside quotes." > > To enable their translation, it requires slight modification of Sphinx call ? gettext_additional_targets = ['literal-block'] configuration option value would do this. The option has been introduced in Sphinx 1.3. > > If there would be consensus about that I'd willingly add pull request in docsbuild-scripts repository. > > Kind regards, > Maciej > _______________________________________________ > Doc-SIG maillist - Doc-SIG at python.org > https://mail.python.org/mailman/listinfo/doc-sig -- Inada Naoki From maciej.olko at gmail.com Mon Jan 27 19:02:19 2020 From: maciej.olko at gmail.com (Maciek Olko) Date: Tue, 28 Jan 2020 01:02:19 +0100 Subject: [Doc-SIG] Make code blocks translatable In-Reply-To: References: Message-ID: Thank you for response. I guess the tutorial is my main concern, because it especially (and maybe only (?)) contains some documentation sentences in comments. Having those translated would make a final step to native translated look and feel of tutorial. Would it be potentially possible to treat tutorial differently and translate code blocks contained in it only? Kind regards, Maciej pon., 27 sty 2020 o 05:15 Inada Naoki napisa?(a): > I don't have a strong objection, but I think translating sample code > is much less important than translating regular docs. > > For example, see https://docs.python.org/3/library/functools.html > There are many example code blocks. Translating strings in them > doesn't help much. > > So I think focusing to regular doc is better for effort-benefit ratio. > > Regards, > > On Sun, Jan 26, 2020 at 7:31 AM Maciek Olko wrote: > > > > Hello, > > > > I'd like to set up discussion about making code blocks in documentation > translatable. From my experience many of code blocks would benefit from > being translated. Especially comments and string literals. For example this > code block from tutorial: > > > > # this is the first comment > > spam = 1 # and this is the second comment > > # ... and now a third! > > text = "# This is not a comment because it's inside quotes." > > > > To enable their translation, it requires slight modification of Sphinx > call ? gettext_additional_targets = ['literal-block'] configuration option > value would do this. The option has been introduced in Sphinx 1.3. > > > > If there would be consensus about that I'd willingly add pull request in > docsbuild-scripts repository. > > > > Kind regards, > > Maciej > > _______________________________________________ > > Doc-SIG maillist - Doc-SIG at python.org > > https://mail.python.org/mailman/listinfo/doc-sig > > > > -- > Inada Naoki > -------------- next part -------------- An HTML attachment was scrubbed... URL: