localize-dev weekly downloads statistics
By ufortstephen · npm · Claude Code
Internationalize an app in one command: finds hardcoded UI strings, names keys after what they do, translates them with your app's context, and rewrites the code to the i18n library your framework uses (React, Next.js, Vue, Svelte, Angular, Astro, Flutter
localize-dev has 256 recorded weekly downloads on npm, a decrease of 90.6% over the past 30 days, ranking #2425 of 3,247 tracked listings.
About localize-dev
localize.dev
Converts hardcoded UI copy in React, Next.js, React Native, Vue, Svelte and static HTML codebases into translation calls. It generates semantic keys and translations with the hosted localize.dev model, writes the locale dictionaries, and can open a pull request with the result. You need a localize.dev API key (free tier included); there's no model to set up.
// before // after
export function AuthForm({ user }) { import { useTranslation } from 'react-i18next';
return ( export function AuthForm({ user }) {
<form> const { t } = useTranslation();
<h1>Welcome back</h1> return (
<p>Hello {user.name}!</p> <form>
<input placeholder="Email" /> <h1>{t('auth.welcome_heading')}</h1>
</form> <p>{t('auth.greeting', { name: user.name })}</p>
); <input placeholder={t('auth.email_placeholder')} />
} </form>
);
}
How it works
- Scan (
src/ast/scanner.ts): Babel parses each.tsx/.jsxfile. It extracts:- JSX text, with mixed runs like
Hello {user.name}!merged into one message:Hello {name}! - whitelisted attributes:
placeholder,alt,title,aria-label,label,tooltip - template and string literals rendered in JSX, including ternary and
&&branches
- JSX text, with mixed runs like
- Filter (
src/ast/filters.ts): drops URLs, paths, colors, UUIDs, CSS units, emails, file names,snake_case/kebab-caseidentifiers and symbol-only text. Text inside<code>,<pre>,<Trans>,translate="no"ordata-i18n-ignoreis never touched; inline<code>in a sentence stays as written inside that sentence's message (Run <code/> first). Copy that's already in another language is left alone: elements markedlang="ja", and lists with an entry per language ({ lang: 'fr', text: 'Bonjour' }). - Translate (
src/cloud.ts): unique strings are batched per file, with component context, and sent to the localize.dev Cloud API. Only the extracted strings are sent, never whole files. Responses are validated: keys are sanitized, and each translation is checked the way the app's i18n library will read it (src/validate.ts): the same{placeholders}and tags as the source, no stray braces, every plural form the language needs, and for ICU (svelte-i18n, Astro, i18next-icu, ARB) a message that parses. One that fails is asked for again with what was wrong, then left out and reported, never written. Failed batches are retried, then fall back to generated keys. - Transform (
src/ast/transformer.ts): only the string ranges are rewritten (viamagic-string), so diffs stay minimal.const { t } = useTranslation()is added once per component, and the import once per file. - Dictionaries (
src/dictionary.ts): nested JSON (auth.title→{"auth":{"title":…}}). Identical text reuses its existing key. Existing translations are never overwritten. - Setup (
src/setup.ts): if the app doesn't use i18next yet, addsi18nextandreact-i18nexttopackage.json, createssrc/i18n.ts(or.js) that loads every locale file, imports it in the entry module (index.html's script, elsesrc/main.*/src/index.*), and enablesresolveJsonModule. Existing i18next setups are left alone. Next.js apps get the module plus a note to import it from a client component. The action also refreshes the lockfile; afterlocalize-dev run, install the new packages yourself. - PR (
src/github/pr_bot.ts): one commit onlocalize-dev/<base>. Re-runs force-update that branch and refresh the open PR instead of opening new ones.
Strings that can't safely use a hook are skipped and listed in the output, not guessed at:
module-level helpers, async (server) components outside the Next.js App Router, and
components where t is already bound to something else. Class components exported by default
get t from props through withTranslation(); other classes render through <Translation>
and use i18next's t in their event handlers.
The pipeline is idempotent: replaced strings become t() calls, so a second run only picks up
new copy.
CLI
Needs Node.js 22 or later. In a project without a package.json (Rails, Django, Laravel,
Android, Flutter), skip the install and run everything through npx.…
Description from the npm listing.
- i18n
- internationalization
- localization
- l10n
- react
- nextjs
- i18next
- react-i18next
- babel
- codemod
- ast
- llm
- translation
- mcp
- mcp-server
- claude-code
- cursor
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (142)Similar npm Claude Code plugins
All 20 localize-dev alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/localize-dev. First seen Nov 13, 2026; last successful collection Dec 3, 2026. See the methodology.