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

{
  "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
    }
  ]
}

Version

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