Skip to content

Japanese translation has not been updated since 2022-08-01 #142

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

Closed
methane opened this issue Jan 2, 2023 · 5 comments
Closed

Japanese translation has not been updated since 2022-08-01 #142

methane opened this issue Jan 2, 2023 · 5 comments

Comments

@methane
Copy link
Member

methane commented Jan 2, 2023

https://docs.python.org/ja/3.11/index.html is updated at 2022-08-01.

Recently, I updated python/python-docs-ja but docs.python.org are not updated.
I ran docsbuild-scripts locally and confirmed that Japanese document can be built successfully.

What's going on docs.python.org? Can I see build log in the server?

@souma987
Copy link

souma987 commented Jan 2, 2023

I don't think the Japanese translations are up to date on docs.python.org.

For example, a typo is still on https://docs.python.org/ja/3.11/library/xml.etree.elementtree.html but it is already fixed in python/python-docs-ja@3d5da94 .

On docs.python.org, in the red box, "データををパースする" is a typo of "データパースする" .

The typo is fixed at line58 and 59 of library/xml.etree.elementtree.po.

In addition, in the bottom right corner of the Japanese translations on docs.python.org, it says "最終更新: 8月 01, 2022 Found a bug?" which means "last updated on Aug 1, 2022" which shows the translation is not up to date.

@JulienPalard
Copy link
Member

JulienPalard commented Jan 2, 2023

It is due to python/python-docs-ja#35: as the build is failing the script stops does not runs the following steps, see the server logs:

ERROR:2023-01-02 02:34:27,479:Run: "make -C /srv/docsbuild/cpython/Doc PYTHON=/srv/docsbuild/venv-3.10/bin/python SPHINXBUILD=/srv/docsbuild/venv-3.10/bin/sphinx-build BLURB=/srv/docsbuild/venv-3.10/bin/blurb VE
NVDIR=/srv/docsbuild/venv-3.10 'SPHINXOPTS=-D latex_engine=platex -D latex_elements.inputenc= -D latex_elements.fontenc= -q -D locale_dirs=/srv/docsbuild/3.10/locale -D language=ja -D gettext_compact=0' SPHINXER
RORHANDLING= autobuild-stable" KO:
    Output written on howto-sockets.dvi (6 pages, 23340 bytes).
    Transcript written on howto-sockets.log.
    Latexmk: Index file 'howto-sockets.idx' was written
    Latexmk: References changed.
    Collected error summary (may duplicate other messages):
      latex: Command for 'latex' gave return code 1
          Refer to 'howto-sockets.log' for details
    Latexmk: Use the -f option to force complete processing,
     unless error was exceeding maximum runs, or warnings treated as errors.
    === TeX engine is 'e-pTeX'
    Latexmk: Errors, so I did not complete making targets
    make[3]: *** [Makefile:30: howto-sockets.pdf] Error 12
    make[3]: Leaving directory '/srv/docsbuild/cpython/Doc/build/latex'
    make[2]: *** [Makefile:180: dist] Error 2
    make[2]: Leaving directory '/srv/docsbuild/cpython/Doc'
    make[1]: *** [Makefile:227: autobuild-dev] Error 2
    make[1]: Leaving directory '/srv/docsbuild/cpython/Doc'
    make: *** [Makefile:237: autobuild-stable] Error 2
    make: Leaving directory '/srv/docsbuild/cpython/Doc'

ERROR:2023-01-02 02:34:27,552:Exception while building ja version 3.10
Traceback (most recent call last):
  File "/srv/docsbuild/scripts/build_docs.py", line 648, in run
    self.build()
  File "/srv/docsbuild/scripts/build_docs.py", line 731, in build
    run(
  File "/srv/docsbuild/scripts/build_docs.py", line 287, in run
    result.check_returncode()
  File "/usr/lib/python3.10/subprocess.py", line 456, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['make', '-C', '/srv/docsbuild/cpython/Doc', 'PYTHON=/srv/docsbuild/venv-3.10/bin/python', 'SPHINXBUILD=/srv/docsbuild/venv-3.10/bin/sphinx-build', 'BLURB=/srv/docsbuild/venv-3.10/bin/blurb', 'VENVDIR=/srv/docsbuild/venv-3.10', 'SPHINXOPTS=-D latex_engine=platex -D latex_elements.inputenc= -D latex_elements.fontenc= -q -D locale_dirs=/srv/docsbuild/3.10/locale -D language=ja -D gettext_compact=0', 'SPHINXERRORHANDLING=', 'autobuild-stable']' returned non-zero exit status 2.

So I'm closing this in favor of python/python-docs-ja#35.

@methane
Copy link
Member Author

methane commented Jan 2, 2023

Using Japanese in latex is difficult topic and I don't have any knowledge about latex. I never used latex.
So I can not fix the issue soon.

Please update HTML without PDF.

JulienPalard added a commit that referenced this issue Jan 3, 2023
@JulienPalard
Copy link
Member

Please update HTML without PDF.

Done. I see "2023" on /ja/ :)

@methane
Copy link
Member Author

methane commented Jan 6, 2023

Thank you.

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

No branches or pull requests

3 participants