Skip to content
vudovn avatar

I18n Localization

Reference guide for internationalizing apps, covering translation keys, locale file layout, RTL layout, and common i18n pitfalls.

CCM score
49 of 100
skills.sh installs
226
GitHub stars
8.2K
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers core i18n and L10n terms, when internationalization is worth it, and React, Next.js, and Python implementation patterns
  • Includes a locale file structure organized by feature namespace and a DO and DON'T list for translation practice
  • Provides CSS logical property guidance and an RTL checklist so layouts mirror correctly for Arabic and Hebrew
  • Runs scripts/i18n_checker.py via python scripts/i18n_checker.py <project_path> to detect hardcoded strings and missing translations

Install

$ npx -y skills add vudovn/ag-kit --skill i18n-localization -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

i18n & Localization

Internationalization (i18n) and Localization (L10n) best practices.


1. Core Concepts

TermMeaning
i18nInternationalization - making app translatable
L10nLocalization - actual translations
LocaleLanguage + Region (en-US, tr-TR)
RTLRight-to-left languages (Arabic, Hebrew)

2. When to Use i18n

Project Typei18n Needed?
Public web app✅ Yes
SaaS product✅ Yes
Internal tool⚠️ Maybe
Single-region app⚠️ Consider future
Personal project❌ Optional

3. Implementation Patterns

React (react-i18next)

import { useTranslation } from 'react-i18next';

function Welcome() {
  const { t } = useTranslation();
  return <h1>{t('welcome.title')}</h1>;
}

Next.js (next-intl)

import { useTranslations } from 'next-intl';

export default function Page() {
  const t = useTranslations('Home');
  return <h1>{t('title')}</h1>;
}

Python (gettext)

from gettext import gettext as _

print(_("Welcome to our app"))

4. File Structure

Details

Repository
github.com/vudovn/ag-kit
Categories
Frontend & UI Code, Technical Documentation
First seen
Jun 3, 2026

Questions

What does the i18n-localization skill do?

The i18n-localization skill covers internationalization and localization patterns for an app. It helps detect hardcoded strings, manage translations, organize locale files, and add right-to-left (RTL) support.

How do I install the i18n-localization skill?

Run npx -y skills add vudovn/ag-kit --skill i18n-localization -y inside your project. Once installed, the agent can use it when internationalizing an app or managing translations.

Which tools does the i18n-localization skill use?

The skill's allowed tools are Read, Glob and Grep, so it reads and searches project files. It also ships a scripts/i18n_checker.py script that detects hardcoded strings and missing translations in a project path.

When should I use the i18n-localization skill?

Use it when you are internationalizing an app, managing translations, detecting hardcoded strings, or adding RTL support. The SKILL.md notes that public web apps and SaaS products usually need i18n, while personal projects can treat it as optional.

More from vudovn/ag-kit

All 30

Similar to I18n Localization

More Frontend & UI Code