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 use Poraliztion of i18n. At the same time, i want to add some style to the text which will be replaced by i18n.
en: {
term1: 'no apple | one apple | {count} apples'
}
// I want it to be rendered like following when the variable `count` is larger 1:
<span>
<span class="highlight"> count </span> apples.
</span>
So i want to use the Component Interpolation to do that.
vue & vue-i18n version
Description
I would like to use Poraliztion of i18n. At the same time, i want to add some style to the text which will be replaced by i18n.
So i want to use the Component Interpolation to do that.
But it seems there is no way to combine Component Interpolation with Poralization feature.
Could anyone give me some suggestion to solve for this problem ?
The text was updated successfully, but these errors were encountered: