Skip to content

v0.2.0: rewrite `translate-child` and replace attirbutes with translate format

Choose a tag to compare

@llwt llwt released this 10 Jun 03:18
· 2 commits to master since this release
`translate-child-into` and `translate-child-key-into` have been removed.
To translate into an attribute you now specify it before the translation
key in the `translate-child` attribute as so:
````
<a translate-child="(aria-label,title,!translate)=SOME_TRANSLATION.KEY"></a>
````

The attributes should be comma delimited and prefixed with a `!` when you
want the translation key to be set instead of the translated value.