Skip to content

PDF "continued on next page" for long tables isn't internationalized #3791

Closed

Description

@jfbu

Problem

when a table is split across pages, there is a continued on next page and a continued from previous page. They are inserted via the longtable template. Although the template has the mark-up for translated strings, the output contains only the English version, independent of config value language.

Procedure to reproduce the problem

.. csv-table:: A long table
   :class: longtable

   a, b, c
   a, b, c
   a, b, c
   a, b, c
   a, b, c
   ... many such lines,,
   a, b, c
   a, b, c
   a, b, c
   a, b, c

and for example language = 'it' in conf.py.

Error logs / results

capture d ecran 2017-05-23 a 15 31 19

Environment info

  • OS: Mac
  • Python version: 2.7.13 (CPython)
  • Sphinx version: 1.6.1
  • Jinja2 version: 2.9.6

Activity

  1. added this to the 1.6.2 milestone on May 23, 2017
  2. jfbu commented on May 23, 2017

    @jfbu
    ContributorAuthor

    It appears that the .po files in sphinx/locale/ simply did not extract strings from the templates. I am working on an issue #3764 where I would need to insert localizable strings in latex.tex_t also.

  3. added a commit that references this issue on May 25, 2017
    6324946
  4. tk0miya commented on May 25, 2017

    @tk0miya
    Member

    Fixed at 6324946.

    Now it become translatable again, but we lost translation text because it is dropped from translation targets for a while...

  5. locked as resolved and limited conversation to collaborators on Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions