Skip to content

Italian localization not applied for proof labels with Jupyter Book #144

Closed

Description

@giuluk

Hello,

I’m using sphinx-proof version 0.2.1 with Jupyter Book and have set the localization to Italian via the _config.yml file as follows:

sphinx:
  config:
    language: it
  extra_extensions:
    - sphinx_proof

However, despite this configuration, the theorem environment labels (Definition, Theorem, etc.) still appear in English rather than Italian (e.g., Definition instead of Definizione).

Everything else seems to work fine, but it appears the localization for these labels is not applied correctly when used inside Jupyter Book.

Is this a known limitation or is there a recommended way to enable the Italian localization for theorem labels in this setup?

Thanks for your help!

Activity

  1. douden commented on Jul 29, 2025

    @douden
    Contributor

    For a temporary fix, you can use the fork https://github.com/TeachBooks/sphinx-proof/tree/main by replacing sphinx-proof by git+https://github.com/TeachBooks/sphinx-proof.git in your requirements.txt.

  2. giuluk commented on Aug 21, 2025

    @giuluk
    Author

    Thanks a lot! I installed the fork as suggested, and now the Italian localization works perfectly. Really appreciate your help!

  3. Tom-van-Woudenberg commented on Aug 22, 2025

    @Tom-van-Woudenberg

    @giuluk , the issue is not closed yet. #146 should be merged

  4. reopened this on Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions