Setup i18n [with bounty!]
I have done something last year with cl-i18n. See utils.lisp and the Makefile. It can be this or something else.
With two attempts I didn't see how it all fits together :( especially with HTML templates. It shouldn't be very difficult though. So I offer a bounty!
I offer a 90 USD bounty to someone who completes this task! :)
-
setup i18n, with a library that collects strings from source files. gettext or not. - please ask my confirmation for the library if it isn't one of the discussed above
-
must work for Lisp code and for Djula templates -
write a Makefile target (even if it simply calls a Lisp snippet) to collect strings to translate. -
add the french locale and have an example with one word translated to french -
document how to add a new locale - add a locale to the
LOCALES
variable in theMakefile
- run
make tr
- add a locale to the
-
code must have docstrings and high-level comments -
i18n code should be in its own file, it should be in its own package. Nothing specific to this project should be hardcoded, we should use parameters.
-
-
we must discuss together how to ship the translations files into the standalone binary (probably declared as static files in the .asd is enough). This point doesn't count for the bounty.
How to proceed:
- "reserve" this task by leaving a comment on this issue
- you have 3 weeks to show substantial progress, plus 2 weeks to finish it. If you don't, I might decide that the task is un-reserved, and if someone wants to pick it up to get the bounty he or she could. If no one else is on the ranks, finish as you wish.
- I am the judge.
- I can pay with Paypal, bank transfer, Transferwise (should be enough?).
- I also pay with loud thanks and eternal gratitude.
Discuss: here or on Gitter: https://gitter.im/openbookstore-developers/community
Thank you!
Edited by vindarel