vito / booklit

a pretty lit content authoring system
https://booklit.page
MIT License
175 stars 55 forks source link

Localization support? #18

Open non-descriptive opened 5 years ago

non-descriptive commented 5 years ago

Is there any i18n or l10n support already?

vito commented 5 years ago

Not at the moment, sorry. Where do you think this kind of thing should begin? Plugin function names? Error messages? :thinking:

non-descriptive commented 5 years ago

No, i meant generated site, not an booklit itself. Something like make some extra folders with translated string and some switch button in output html. Or maybe just like in wikipedia with some language picks at the sidebar. That kind of localization.

vito commented 5 years ago

Ah, I see. I haven't given any thought to it to be honest. Would you be maintaining translations for each .lit document? Maybe they could use \styled to use different templates or \set-partial to parameterize them?

non-descriptive commented 5 years ago

Not really tried any of booklit functionality yet. Just checking better documentation-like generators: mdbook, gitbook, doxygen and booklit on the way. Struggle with multilingual support. I'll try things you adviced. Thank you. Also is there gonna be any PDF renderer? Demo site looks like almost fit to book format.

vito commented 5 years ago

@non-descriptive I don't have time to work on a PDF renderer at the moment but it definitely fits in the spirit of the design. 🙂 Scribble, which heavily inspired Booklit, supports rendering to PDF for example.