Skip to content

i18n: Table in the tab does not have translation #234

Open
@peter-jerry-ye

Description

@peter-jerry-ye

Describe the bug

context
I was creating a table inside a tab. I want to have both English version and Chinese version of my document.

expectation
I expected to have translation for all information.

bug
But instead the index.po does not contain any content from the table

problem
This is a problem for people doing i18n because there's part missing i18n.

Reproduce the bug

Repository: https://github.com/peter-jerry-ye/animated-enigma

Script for translation:

make gettext && sphinx-intl update -p _build/gettext -l zh_CN

Script for setup:

uv venv
source .venv/bin/activate
uv sync

List your environment

requires-python = ">=3.11"
dependencies = [
    "myst-parser>=4.0.1",
    "sphinx>=8.2.3",
    "sphinx-design>=0.6.1",
    "sphinx-intl>=2.3.1",
]

Mac M1 Sonoma 14.6.1 (23G93)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions