CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-i18next-client

DEPRECATED client-side JavaScript internationalization library with translation, pluralization, and localization support.

69

1.07x
Overview
Eval results
Files

rubric.jsonevals/scenario-7/

{
  "context": "This criteria evaluates the engineer's proficiency in using i18next's language management capabilities, specifically the initialization, language switching, language detection, and text direction APIs.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "i18next Initialization",
      "description": "Uses i18next.init() method with correct configuration options including lng, fallbackLng, and resources properties",
      "max_score": 25
    },
    {
      "name": "Language Switching",
      "description": "Uses i18next.changeLanguage() method to switch between languages dynamically, properly handling the callback function",
      "max_score": 25
    },
    {
      "name": "Current Language Retrieval",
      "description": "Uses i18next.language property or i18next.resolvedLanguage to get the currently active language code",
      "max_score": 20
    },
    {
      "name": "Text Direction Detection",
      "description": "Uses i18next.dir() method to determine text direction (ltr/rtl) for different languages including support for RTL languages like Arabic",
      "max_score": 20
    },
    {
      "name": "Translation Function",
      "description": "Uses i18next.t() function to retrieve translated strings using translation keys",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-i18next-client

tile.json