trenz-gmbh / trenz-docs

An SPA wiki made by TRENZ
MIT License
3 stars 0 forks source link

Support for multilingual pages #53

Open chucker opened 1 year ago

chucker commented 1 year ago

This will require some brainstorming.

Goal

Translating an entire wiki is probably impractical, but it should be possible for individual pages to be available in multiple languages.

Design idea

Considerations:

ricardoboss commented 1 year ago

For the search: we could introduce multiple indexes, one for each language found in the sources. The API can then provide a way to select which languages to search.

chucker commented 1 year ago

Yes, but each language's index should also contain the fallback pages, where necessary.

chucker commented 1 year ago

I'm confused how this differs from #8. :)

ricardoboss commented 1 year ago

You tell me, you're the author of both :D

chucker commented 1 year ago

I know 😂