Skip to content

Interpolators ​

InterpolatorPackageDescription
DefaultInterpolatorI18Next.Neti18next {{value}} interpolation, $t() nesting, formats, configurable delimiters
HtmlInterpolatorI18Next.NetLike the default interpolator but HTML encodes values, used by the ASP.NET Core integration
MessageFormatInterpolatorI18Next.Net.ICUICU message format ({count, plural, one {# item} other {# items}})
PolyglotInterpolatorI18Next.Net.PolyglotJsPolyglot.js phrases (%{name}, plurals separated by |||| and smart_count)
csharp
var translator = new DefaultTranslator(backend, new MessageFormatInterpolator());

Released under the Apache License 2.0.