← Back to search

io.github.rog0x/i18n

rog0x Scanned 23d ago

Locale detect, translations, plurals for AI agents

B
86.5 / 100

Versions

1.0.2latest
first seen Jun 5, 2026
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 5

analyze_translations
annotations: none low

Analyze translation JSON files for consistency across locales. Finds missing keys, extra keys, structural mismatches, interpolation variable differences, and empty values. Optionally identifies unused keys given a list of keys referenced in source code.

extract_i18n_keys
annotations: none low

Extract hardcoded user-facing strings from source code that should be internationalized. Finds strings in JSX attributes, HTML templates, console.log calls, error messages, dialogs, and labeled variable assignments. Returns each string with its location, context, and a suggested i18n key name.

sourceCode string
plural_rules
annotations: none low

Generate plural form categories and rules for a given locale. Shows which plural categories a language uses (zero/one/two/few/many/other), provides example numbers for each category, and classifies any test numbers you supply. Supports English, French, German, Spanish, Portuguese, Russian, Ukrainian, Polish, Czech, Arabic, Japanese, Chinese, and Korean.

locale string
detect_locale
annotations: none low

Detect the language and locale of a given text string. Returns the detected language code (BCP 47), language name, writing script, confidence score (0-1), and alternate language candidates.

text string
format_locale
annotations: none low

Format numbers, currencies, dates, and relative times for any locale using the Intl APIs. Supports decimal/percent/unit number formatting, multi-display currency formatting, short/medium/long/full date styles, and relative time expressions. Provide one or more formatting requests in a single call.

unit string value number locale string currency string maximumFractionDigits number minimumFractionDigits number

Permissions 0

No permissions indexed yet.

Scan Findings 19

low
Tool 'analyze_translations' has no annotations annotation_checker · 100%
low
Tool 'extract_i18n_keys' has no annotations annotation_checker · 100%
low
Tool 'plural_rules' has no annotations annotation_checker · 100%
low
Tool 'detect_locale' has no annotations annotation_checker · 100%
low
Tool 'format_locale' has no annotations annotation_checker · 100%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
medium
Vulnerable dependency: @modelcontextprotocol/sdk@1.12.1 (GHSA-345p-7cg4-v4c7) dependency_analyzer · 95%
medium
Vulnerable dependency: @modelcontextprotocol/sdk@1.12.1 (GHSA-8r9q-7v3j-jr4g) dependency_analyzer · 95%
medium
Vulnerable dependency: @modelcontextprotocol/sdk@1.12.1 (GHSA-w48q-cv73-mx4w) dependency_analyzer · 95%
info
package.json metadata manifest_parser · 100%
info
Tool: analyze_translations manifest_parser · 70%
info
Tool: extract_i18n_keys manifest_parser · 70%
info
Tool: plural_rules manifest_parser · 70%
info
Tool: detect_locale manifest_parser · 70%
info
Tool: format_locale manifest_parser · 70%
info
Transport: stdio manifest_parser · 90%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
info
SBOM generated: 94 components sbom_generator · 100%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%