acetate
acetate copied to clipboard
i18n and localization
It looks like everyone in the Node community is using https://github.com/mashpie/i18n-node so we can use that for translation. We can register a custom global to wrap the translation function so you can so {{ __("Hello") }} in your templates. Could also register a custom filter so {{ "Hello" | t }} would also work.
Thats the easy part. The hard part is duplicating all the pages so that index.html becomes index.html and es/index.html and everything still works as expected.