seo
seo copied to clipboard
Feature/v3 i18n support
Fixes #437 .
Changes proposed in this pull request:
- 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.
This PR benefits from a commit squash.