Skip to content

Tab headers not translated after building with a valid po-file #137

Open
@Nikulinnn

Description

@Nikulinnn

Describe the problem

Tab headers are generated to po files and therefore can be translated. However, translations do not apply once building the translated version.

I am not sure if this is a problem within the extension or not, but any hints on how to fix it would much appreciated.

PS thanks for a great extension!

Link to your repository or website

No response

Steps to reproduce

  1. Add a tabs directive to the document, for example:
.. tabs::

   .. tab:: Техническая поддержка

      Служба технической поддержки круглосуточно готова ответить на ваши вопросы.    
  1. Generate a po file.
  2. Add the translation of the corresponding string
msgid "Техническая поддержка"
msgstr "Service Desk"
  1. Build the localized version of the document.
  2. Check out for the absence of the tab header translation:

image

The version of Python you're using

No response

Your operating system

No response

Versions of your packages

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions