Closed akouryy closed 1 year ago
I also want to do this, but I'm not able to find a suitable i18n framework.
How about fluent-templates
? It seems nice and I'm now experimenting with it.
It's almost done but I just found Japanese texts in old templates/report.html
. What's the current state of them?
They were removed from v1 but can still serve as a reference.
Unfortunately I could not build Mortal, and my branch is only tested with akochan outputs. So I'd like to leave it to you @Equim-chan.
Works for me.
If you submit a pull request, I will review it.
Is it possible to localize https://mjai.ekyu.moe/report/***.html? Probably I can help, though it may disturb you as you'd not be able to edit English texts directly in
templates/report.tera
anymore.