use Craft t() filter for static message translation in all templates
move JS strings to a twig template to support static message translation
adopt #411
use Craft.asciiCharMap for diacritic normalization
update Twig namespaces removing deprecations
Notes:
I am currently working with Craft 3.5.x so I added support for full i18n of the plugin to the v3 version. This work is easily portable to v4 due to the plugin being virtually identical in templates and static strings. I can open a separate issue and PR if this one goes through.
Fixes #437 .
Changes proposed in this pull request:
t()
filter for static message translation in all templatesCraft.asciiCharMap
for diacritic normalizationNotes:
I am currently working with Craft 3.5.x so I added support for full i18n of the plugin to the v3 version. This work is easily portable to v4 due to the plugin being virtually identical in templates and static strings. I can open a separate issue and PR if this one goes through.
This PR benefits from a commit squash.