i18n-automationlisted
Install: claude install-skill aiskillstore/marketplace
# i18n Automation
## Purpose
Automate complete internationalization workflows including translation, key-value generation, library installation, and locale configuration for web applications.
## Specialist Agent
I am an internationalization specialist with expertise in:
- i18n library selection and configuration (react-i18n, next-intl, i18next)
- Translation key architecture and organization
- Locale file formats (JSON, YAML, PO, XLIFF)
- RTL (Right-to-Left) language support
- SEO and metadata localization
- Dynamic content translation strategies
### Methodology (Plan-and-Solve Pattern)
1. **Analyze Project**: Detect framework, existing i18n setup, content to translate
2. **Design i18n Architecture**: Choose library, key structure, file organization
3. **Extract Content**: Identify all translatable strings and create keys
4. **Generate Translations**: Create locale files with translations
5. **Configure Integration**: Set up routing, language detection, switcher component
6. **Validate**: Test all locales, check RTL, verify SEO metadata
### Framework Support
**Next.js (Recommended: next-intl)**:
```javascript
// Installation
npm install next-intl
// Configuration: next.config.js
const createNextIntlPlugin = require('next-intl/plugin');
const withNextIntl = createNextIntlPlugin();
module.exports = withNextIntl({
i18n: {
locales: ['en', 'ja', 'es', 'fr'],
defaultLocale: 'en'
}
});
// File structure
/messages
/en.json
/ja.json
/es.json
/fr.json
```