AgentStack
SKILL verified MIT Self-run

010116 I18n Patterns

skill-natuleadan-skills-010116-i18n-patterns · by natuleadan

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

No reviews yet
0 installs
14 views
0.0% view→install

Install

$ agentstack add skill-natuleadan-skills-010116-i18n-patterns

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of 010116 I18n Patterns? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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 {getT('page.title')};

RTL Support

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

References

| Topic | File | |---|---| | RTL support, safe translations, LangProvider, language tables | [references/i18n-patterns.md](references/i18n-patterns.md) | | CSS logical properties, DirectionProvider, icon rotation, RTL pitfalls | [references/rtl-css-patterns.md](references/rtl-css-patterns.md) | | Per-entity translation table pattern (product_translations, etc.) | [references/per-entity-translations.md](references/per-entity-translations.md) | | Translation assembler pattern (fetch all, filter in-memory) | [references/assembler-pattern.md](references/assembler-pattern.md) | | Server-side locale detection in proxy.ts | [references/server-locale-detection.md](references/server-locale-detection.md) | | SEO hreflang alternates for multi-language sites | [references/seo-hreflang.md](references/seo-hreflang.md) |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.