linkml / linkml-project-cookiecutter

A cookiecutter for linkml projects. An equivalent of `linkml-ws new project-name`.
Creative Commons Zero v1.0 Universal
14 stars 16 forks source link

Towards incorporating multiple languages in the linkml-docs #103

Open matentzn opened 4 months ago

matentzn commented 4 months ago

This is a technical follow up on https://github.com/linkml/linkml/issues/1937 (any general discussion on multilang should go there).

@sujaypatil96 I am wondering how you could see multiple languages concretely realised as part of the docs. A complex solution would involved a language switcher. But not sure this already exists properly, e.g. https://github.com/squidfunk/mkdocs-material/discussions/2346. But even on a simpler level. Would it be possible to somehow display language translations of schema elements right then and there when compiling the docs? What if the translations live in a different file (TSV, YAML or otherwise)?

matentzn commented 3 months ago

@sujaypatil96 just following up on this! Do you have any time to look into how the above could look like?

cmungall commented 2 weeks ago

I am worried that this will add a lot of complexity. It's already hard to maintain this and other cookiecutter repos, test against edge cases, etc.

I would recommend people who need this try it in a fork and report back