Use Case
Type-safe i18n for TypeScript
Auto-generated TypeScript definitions for every translation key. Full IDE autocomplete, compile-time validation, and zero missing keys in production.
i1n.d.ts
// Auto-generated by i1n pull
export const common = {
greeting: "common.greeting",
errors: {
not_found: "common.errors.not_found",
unauthorized: "common.errors.unauthorized",
},
} as const
// Usage — full autocomplete, compile-time safety
import { t } from 'i1n'
t('common.greeting') // ✓ valid
t('common.typo') // ✗ TypeScript error How i1n solves this
Auto-generated types
Every i1n pull generates i1n.d.ts from your translation files. No manual type maintenance required.
Full IDE autocomplete
Your IDE autocompletes every translation key. Nested keys, namespaces, and interpolation variables are all typed.
Compile-time validation
Reference a key that does not exist? TypeScript catches it before your code runs. No more missing translations in production.
Framework-agnostic
Works with React, Vue, Svelte, Next.js, and any TypeScript project. The generated types adapt to your translation structure.
Try it now
Free forever. No credit card required.
More use cases
The localization layer AI agents already...
Your brand voice, in every language...
Automate localization in your CI/CD pipe...
Localize your store for every market....
Localize iOS and Android from one CLI...
Localize your SaaS for every market....
Go global from day one...
Translate .arb files in seconds, not hou...
Translate JSON locale files with AI...
Translate .strings files with AI...
Translate Android XML strings with AI...
Translate YAML locale files with AI...