fralau / mkdocs-mermaid2-plugin

A Mermaid graphs plugin for mkdocs
https://mkdocs-mermaid2.readthedocs.io
MIT License
220 stars 28 forks source link

❓Translation of Diagram Labels #68

Closed ebouchut closed 1 year ago

ebouchut commented 1 year ago

Is there a way to configure several translations (like English, French, and Spanish...) for the labels of a Mermaid diagram? For instance, I would like to be able to translate the labels for actor, participant, message text, note content, loop, alt, `opt...

I did not find out how to configure this in the static configuration.

Would someone have some clues on how to do this?

github-actions[bot] commented 1 year ago

Thank you for your contribution! This is very appreciated.

fralau commented 1 year ago

Would this question not be connected rather to Mermaid itself? I would assume that each mkdocs (markdown) page would be written in one language only?

ebouchut commented 1 year ago

You are right. Closing it.