agentsclimarketplace

010116 i18n patterns

Skill natuleadan/skills/skills/010116-i18n-patterns

Multi-domain agent skills collection for AI coding agents (Claude, Cursor, Copilot, OpenCode, and more). Covers programming, biology, cooking, and future domains. Installable via npx skills add.

Install
npx -y skills add natuleadan/skills --skill 010116-i18n-patterns

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Internationalization — translation tables, RTL support, safe translations, LangProvider, locale detection, SEO hreflang, and language config.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

1.7 KB, as published. Nobody here has run it

Internationalization (i18n)

Overview

Patterns for building multilingual applications with RTL support, safe translation rendering, and server-side language detection.

Quick Reference

Language Detection

  • Language determined server-side (middleware or database)
  • Propagated to clients via LangProvider in layout
  • Database languages.direction is source of truth for RTL

Safe Translation

const { getT } = useSafeTranslation(translations);
return <h1>{getT('page.title')}</h1>;

RTL Support

  • Automatic detection via LangService
  • dir="rtl" on HTML element
  • Tailwind respects RTL direction
  • ARIA text in English unless translation key exists

References

TopicFile
RTL support, safe translations, LangProvider, language tablesreferences/i18n-patterns.md
CSS logical properties, DirectionProvider, icon rotation, RTL pitfallsreferences/rtl-css-patterns.md
Per-entity translation table pattern (product_translations, etc.)references/per-entity-translations.md
Translation assembler pattern (fetch all, filter in-memory)references/assembler-pattern.md
Server-side locale detection in proxy.tsreferences/server-locale-detection.md
SEO hreflang alternates for multi-language sitesreferences/seo-hreflang.md

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.