tessl install tessl/npm-i18next-client@1.11.0DEPRECATED client-side JavaScript internationalization library with translation, pluralization, and localization support.
Agent Success
Agent success rate when using this tile
69%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.08x
Baseline
Agent success rate without this tile
64%
{
"context": "This evaluation assesses how effectively an engineer uses i18next's interpolation features to inject dynamic content into translated messages. The focus is on proper use of interpolation syntax, nested interpolation, default values, and overall package integration.",
"type": "weighted_checklist",
"checklist": [
{
"name": "i18next initialization",
"description": "Uses i18next.init() or i18next.createInstance() to properly initialize the library with translation resources containing interpolation placeholders",
"max_score": 15
},
{
"name": "Basic interpolation syntax",
"description": "Uses {{variableName}} syntax in translation strings to define interpolation placeholders",
"max_score": 20
},
{
"name": "t() with interpolation",
"description": "Calls i18next.t() function with the second parameter as an object containing interpolation values that match the placeholders in translation strings",
"max_score": 25
},
{
"name": "Nested interpolation",
"description": "Uses dot notation like {{user.profile.name}} in translation strings to interpolate values from nested object properties",
"max_score": 20
},
{
"name": "Default values",
"description": "Provides fallback values for missing interpolation variables using either the defaultValue option in t() calls or by configuring interpolation.defaultVariables in i18next initialization options",
"max_score": 15
},
{
"name": "Language switching",
"description": "Uses i18next.changeLanguage() or passes lng option to t() to retrieve translations in different languages",
"max_score": 5
}
]
}