From d5f4b967422ed898d15aa5941f777155ddb3e3c5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 10 Jun 2024 14:09:41 +0100 Subject: Feat: towards localization support --- TODO.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'TODO.md') diff --git a/TODO.md b/TODO.md index c5b5a87..1d51bd9 100644 --- a/TODO.md +++ b/TODO.md @@ -15,10 +15,10 @@ ## Improvements -* [ ] Localization support: - * [ ] By detecting the `lang` YAML parameters and using templates from - `templates/{book,notes}/$lang`. - * [ ] Setup a PO-file workflow for translating the templates. +* [ ] Localization: + * [ ] Compile the `_output.yml` from a template, setting the `includes` + from the appropriate language-based structure files. + * [ ] Setup a PO-file workflow for translating the structure and templates? * [ ] Formats: * [ ] Fix the EPUB output: https://bookdown.org/yihui/bookdown/e-books.html @@ -35,6 +35,7 @@ Possible implementations: https://stackoverflow.com/questions/40735727/create-index-of-definitions-theorems-at-end-of-bookdown-book?rq=4 * [ ] Misc: + * [ ] Merge `structure` and `templates`? * [ ] Suport for a `BASE_URL` environment variable? It would be applied as a template variable in `%%base_url%%` placeholers, allowing the compile material to have links among themselves. -- cgit v1.2.3