Closed Zetanova closed 1 year ago
Yes, @ladjs/i18n will cause the locales to be generated. But you need to also run Mandarin locally to translate those generated files. See the example at https://github.com/forwardemail/forwardemail.net/blob/master/jobs/translate-phrases.js.
In the readme is mention
lad/i18n
is included andladjs/mandarin
is used to auto-translate locale files. I set the GOOGLE_APPLICATION_CREDENTIALSThe issue is that all locales files get created as a copy based of en.json without google translation
ladjs/mandarin
itself is not a dependency ofemail-templates
How is auto-translate supposed to work with
email-templates
is something with the documentation missing or obsolate?