gitwtfhub

wtf is intl-ai?

sigilco/intl-ai — explained in plain English

Analysis updated 2026-05-18

1TypeScriptAudience · developerComplexity · 2/5LicenseSetup · easy

TL;DR

intl-ai is a build-time plugin that automatically translates app text using AI, working with most bundlers and AI providers.

Mindmap

mindmap
  root((intl-ai))
    What it does
      Build time translation
      No runtime overhead
      Lockfile tracking
      Incremental updates
    Tech stack
      TypeScript
      Vercel AI SDK
      Vite and Webpack
      Next.js
    Use cases
      App localization
      CI build translation
      Human AI review split
    Audience
      Frontend developers
      i18n maintainers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Automatically generate translated locale files for a web app as part of the normal build process.

REASON 2

Track which translated strings were written by a human versus generated by AI using the lockfile.

REASON 3

Add multi-language support to an existing Vite, Webpack, or Next.js project without changing runtime code.

What's in the stack?

TypeScriptViteWebpackNext.jsRollup

How it stacks up

sigilco/intl-ai0xkinno/neuralvault0xmayurrr/ai-contractauditor
Stars111
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasyhardeasy
Complexity2/54/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 30min

Requires an API key from an AI provider such as OpenAI or Anthropic.

Permissive open-source license, use freely in personal or commercial projects.

Wtf does this do

intl-ai is a plugin that adds AI powered translation to your app's build process. Instead of manually copying text into a translation tool and pasting the results back, or calling an AI service every time a page loads, intl-ai generates translations while your project is being built. The translated text is baked into the app before it ships, so there is no extra work happening while a real visitor is using the site. The plugin works with most popular build tools, including Vite, Rollup, Webpack, esbuild, Rspack, Bun, Nuxt, and Next.js. It also works with a range of AI providers through the Vercel AI SDK, so you can use OpenAI, Anthropic, Google, or any compatible service to generate the translated text. One useful detail is that intl-ai keeps a lockfile that tracks where each translated string came from, marking whether it was written by a person or generated by AI. This makes it easier to know which parts of your translations might need a human review. The tool is also incremental, meaning it only translates text that is missing or has changed since the last run, and it will not overwrite translations a person has already edited unless you specifically tell it to. Setup involves installing the package that matches your build tool, then creating a configuration file that lists your default language, the languages you want to support, and where your translation files live. From there, running a single command fills in the missing translations, or the plugin can run automatically as part of your normal build. The project is organized into a few smaller packages: a core library, the general plugin for bundlers, a Next.js specific integration, and a command line tool. It is released under the MIT license, meaning it can be used freely, including in commercial projects.

Yoink these prompts

Prompt 1
Show me how to set up intl-ai with @intl-ai/unplugin in a Vite project to translate English strings into Spanish and French.
Prompt 2
Write an intl-ai.config.json file for a project with default locale en and target locales es and fr using the OpenAI provider.
Prompt 3
How do I integrate intl-ai with a Next.js project using withIntlAi in next.config.ts?
Prompt 4
Explain how the intl-ai.lock.json file tracks human-written versus AI-generated translations.

Frequently asked questions

wtf is intl-ai?

intl-ai is a build-time plugin that automatically translates app text using AI, working with most bundlers and AI providers.

What language is intl-ai written in?

Mainly TypeScript. The stack also includes TypeScript, Vite, Webpack.

What license does intl-ai use?

Permissive open-source license, use freely in personal or commercial projects.

How hard is intl-ai to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is intl-ai for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.