You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to reduce the amount of html in locale config and remove the maintenance nightmare if I need to modify the markup inside of it, across multiple languages.
Consider the following example:
This is a test sentence which cannot
<a href="https://example.com" class="test-class test-another-class">be split</a>
or it will not make sense
The best solution I can come up with is:
{
"en": {
"example": "This is a test sentence which cannot {linkOpen}be split{linkClose} or it will not make sense"
}
}
I would like to reduce the amount of html in locale config and remove the maintenance nightmare if I need to modify the markup inside of it, across multiple languages.
Consider the following example:
The best solution I can come up with is:
and then in the component template
However this does not work as it seems the $t params do not accept html
The text was updated successfully, but these errors were encountered: