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-7/

{
  "context": "This criteria evaluates how well the engineer uses i18next's post-processing capabilities to implement custom transformations on translated text. The focus is on proper registration of post-processors, applying them to translations, and chaining multiple processors.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "i18next initialization",
      "description": "Uses i18next.init() or i18next.use().init() to initialize the translation system with resources and language configuration",
      "max_score": 15
    },
    {
      "name": "Post-processor registration",
      "description": "Uses i18next.use() to register a custom post-processor module with type 'postProcessor' and a name property",
      "max_score": 25
    },
    {
      "name": "Post-processor implementation",
      "description": "Implements the post-processor's process() method that receives (value, key, options, translator) parameters and returns the transformed string",
      "max_score": 20
    },
    {
      "name": "Apply post-processor",
      "description": "Uses the postProcess option in i18next.t() calls to specify which post-processor(s) to apply (e.g., t(key, { postProcess: 'markdown' }))",
      "max_score": 20
    },
    {
      "name": "Multiple post-processors",
      "description": "Supports chaining multiple post-processors by passing an array to postProcess option (e.g., postProcess: ['processor1', 'processor2']) or by registering multiple processors",
      "max_score": 15
    },
    {
      "name": "Conditional processing",
      "description": "Correctly handles cases where no postProcess option is provided, returning the translation without post-processing",
      "max_score": 5
    }
  ]
}

Version

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