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
Hi there,
I have currently two cases, where I need some assistance:
Tag content replacement:
Lets suppose I have html snippet like below, which requires localization:
String requires Localization
I have noticed that using i18n directive actually replaces the whole tag content, so in my case the <i> will be removed.
How can I solve that?
Localization string parameter usage:
Lets suppose I have two localization strings e.g. "My Product Name" and "beta version". So I want to use them:
separately - this is OK and it works
concatenating them - my first though was to create a third localization string e.g. "{name} {version}" and then pass to this string both other strings. So how can I do that using i18n directive? I considering usage of data-i18n directive, but it is not clear how I can pass to data-name parameter another localized string.
So how can I solve that case too?
The text was updated successfully, but these errors were encountered:
Hi there,
I have currently two cases, where I need some assistance:
Tag content replacement:
Lets suppose I have html snippet like below, which requires localization:
String requires Localization
I have noticed that using
i18n
directive actually replaces the whole tag content, so in my case the<i>
will be removed.How can I solve that?
Lets suppose I have two localization strings e.g.
"My Product Name"
and"beta version"
. So I want to use them:"{name} {version}"
and then pass to this string both other strings. So how can I do that usingi18n
directive? I considering usage ofdata-i18n
directive, but it is not clear how I can pass todata-name
parameter another localized string.So how can I solve that case too?
The text was updated successfully, but these errors were encountered: