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 criteria evaluates how well the engineer uses i18next's JSON structure handling capabilities to manage structured configuration data. The focus is on proper initialization, configuration of ignoreJSONStructure, and utilizing i18next's translation function to access nested objects and arrays.",
"type": "weighted_checklist",
"checklist": [
{
"name": "i18next initialization",
"description": "Uses i18next.init() method to initialize the library with resources and configuration options",
"max_score": 15
},
{
"name": "ignoreJSONStructure configuration",
"description": "Correctly configures the ignoreJSONStructure option in i18next initialization to control how JSON structures are interpreted (typically setting it to false to enable returning objects/arrays)",
"max_score": 20
},
{
"name": "Translation function usage",
"description": "Uses i18next's t() function (or translation function) to retrieve settings values by key",
"max_score": 15
},
{
"name": "Nested key access",
"description": "Utilizes i18next's dot notation support (keySeparator) to access nested translation values (e.g., 'app.theme.color')",
"max_score": 15
},
{
"name": "Object return handling",
"description": "Correctly retrieves entire translation objects by accessing parent keys and leveraging i18next's ability to return objects when ignoreJSONStructure is properly configured",
"max_score": 15
},
{
"name": "Array return handling",
"description": "Correctly retrieves translation arrays by accessing array keys and leveraging i18next's ability to return arrays when ignoreJSONStructure is properly configured",
"max_score": 15
},
{
"name": "Resource structure",
"description": "Properly structures translation resources with language and namespace organization that i18next expects (e.g., resources: { en: { translation: {...} } })",
"max_score": 5
}
]
}