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

{
  "context": "This criteria evaluates how effectively the engineer uses i18next's formatting capabilities to implement locale-aware formatting for currencies, dates, relative time, and numbers. The focus is on proper usage of i18next's built-in formatters and configuration.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "i18next initialization",
      "description": "Properly initializes i18next using init() method with appropriate configuration options for formatting support (e.g., interpolation settings, formatter configuration)",
      "max_score": 15
    },
    {
      "name": "Currency formatting",
      "description": "Uses i18next's formatter for currency formatting, specifically leveraging the 'currency' format type with Intl.NumberFormat integration to format prices according to locale",
      "max_score": 25
    },
    {
      "name": "Date formatting",
      "description": "Uses i18next's formatter for date formatting, specifically leveraging the 'datetime' format type with Intl.DateTimeFormat integration to format dates according to locale",
      "max_score": 20
    },
    {
      "name": "Relative time formatting",
      "description": "Uses i18next's formatter for relative time, specifically leveraging the 'relativetime' format type with Intl.RelativeTimeFormat integration to display human-readable time differences",
      "max_score": 20
    },
    {
      "name": "Number formatting",
      "description": "Uses i18next's formatter for number formatting, specifically leveraging the 'number' format type with Intl.NumberFormat integration to format large numbers with locale-appropriate separators",
      "max_score": 15
    },
    {
      "name": "Locale management",
      "description": "Properly uses i18next's changeLanguage() or language configuration to switch between different locales (en-US, de-DE, ja-JP) for formatting",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-i18next-client

tile.json