DEPRECATED client-side JavaScript internationalization library with translation, pluralization, and localization support.
69
Pending
Does it follow best practices?
Impact
69%
1.07xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"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
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10