CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-i18next-client

tessl install tessl/npm-i18next-client@1.11.0

DEPRECATED 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%

rubric.jsonevals/scenario-6/

{
  "context": "This criteria evaluates how well the engineer uses i18next's missing translation handling features, including event listeners, custom handlers, and fallback configuration to properly track and manage missing translation keys.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Missing key event",
      "description": "Uses i18next's 'missingKey' event listener (i18next.on('missingKey', ...)) to track when translations are not found",
      "max_score": 25
    },
    {
      "name": "Fallback languages config",
      "description": "Configures fallbackLng option in i18next.init() to specify fallback language chains",
      "max_score": 15
    },
    {
      "name": "Custom missing handler",
      "description": "Uses saveMissing and missingKeyHandler options in i18next configuration to provide custom handling of missing keys",
      "max_score": 20
    },
    {
      "name": "Event handler registration",
      "description": "Properly registers and integrates event handlers with the fallback handler to collect missing key information",
      "max_score": 15
    },
    {
      "name": "Translation retrieval",
      "description": "Uses i18next.t() method with proper handling of return values when keys are missing",
      "max_score": 10
    },
    {
      "name": "Resource initialization",
      "description": "Properly initializes i18next with resources using the resources option in i18next.init() with correct language/namespace structure",
      "max_score": 10
    },
    {
      "name": "Missing key tracking",
      "description": "Implements logic to maintain a deduplicated list of missing keys using the information from missingKey events",
      "max_score": 5
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/i18next-client@1.11.x
tile.json