Internationalization
#1
Closed
opened 5 years ago by elegaanz
·
1 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
(I'm posting this here as a reminder for my future self)
The problem here is that Middleman uses a YAML file to store translations, which is not so standard, and probably not supported by Weblate.
So if we want to go with gettext, we should probably use this gem and configure Middleman to generate one directory per locale, with all the translated files.
I think it will be possible to use this Caddy module to do display the correct language depending on the visitor's language: https://caddyserver.com/docs/rewrite