You add it with one prompt and one pull request. If your Lovable app already runs on Lingui, a new language is three file changes in your repository plus a translation run that fills the new catalog. globalize.now is AI-powered localization infrastructure: it writes the translated catalog into your own GitHub repository, and you merge it like any other change. Nothing about your existing languages is redone.

What changes when you add a language?

Three files, all in your repository. The lovable-i18n skill writes this rule into your project's AGENTS.md during setup, so the Lovable agent already knows the list:

  1. lingui.config.ts: add the locale code to locales.
  2. src/i18n.ts: add the same code to LOCALES. The two lists must match.
  3. src/locales/<locale>/messages.po: create the catalog with a valid PO header.

For an app that ships English, Spanish and French and now wants Japanese, the first two edits look like this:

// lingui.config.ts
const config: LinguiConfig = {
  sourceLocale: 'en',
  locales: ['en', 'es', 'fr', 'ja'],
  // catalogs, format and macro settings unchanged
}
// src/i18n.ts
// Must match the `locales` array in lingui.config.ts
export const LOCALES: readonly string[] = ['en', 'es', 'fr', 'ja']

That is the whole code change. Wrapping strings, the provider, the build plugin and the CI workflow were done at setup and do not change per language. If you have not done the first setup yet, start with making a Lovable app multilingual or the Lovable integration page instead.

What should you type into Lovable?

Name the language and ask for the translation in the same message. With the Globalize MCP connector already added to the project, a prompt like this covers both halves:

Add Japanese (ja) as a new language. Follow the locale rules in AGENTS.md, then add Japanese to the Globalize Workflow and start a translation.

The connector exposes the tools for both halves: one sets the target languages on your Workflow, another starts a run. So the agent can edit the three files, add Japanese as a target language and start the translation without you opening a second product. You do not paste keys anywhere; the connector authenticates with OAuth when you first add it.

If the connector is not on this project yet, the agent can still make the file changes. Add Japanese to the Workflow from the Globalize dashboard afterwards, or add the connector under Connectors as an MCP server at https://api.globalize.now/mcp and ask again.

Why does the PO header matter for some languages?

Because plural rules differ by language, and the header records how many forms a language has. English and Spanish have two (one item, two items). Japanese, Chinese and Korean have one. Polish and Russian have three. Arabic has six.

For the languages on its list, the skill scaffolds each new catalog with the matching Plural-Forms line. A new Japanese catalog starts like this:

msgid ""
msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Plural-Forms: nplurals=1; plural=0;\n"

Lingui itself stores plurals as ICU expressions inside each message, so the header is informational rather than load-bearing at runtime. It still matters to anything that reads the catalog as a standard PO file. The part that breaks real apps is upstream: code that builds a plural with a ternary on count === 1 instead of an ICU plural. That works in English and is wrong in Polish. Plurals, dates and currency in a Lovable app shows the fix, and ICU MessageFormat explained covers the syntax.

How does the new catalog get filled?

In two passes, both landing as commits in your repository.

First, extraction. Setup added an i18n-extract GitHub Action that runs lingui extract --clean when code under src/ or lingui.config.* changes on your default branch. Editing the config is such a change, so the next sync fills the new Japanese catalog with every message in the app, each with an empty translation. Lingui writes one catalog per locale in the config, and extraction keeps existing translations intact, so Spanish and French are untouched.

Second, translation. The Globalize run reads the empty entries and delivers the translated Japanese catalog as a pull request. Merge it on GitHub. Lovable's GitHub sync is two-way on one branch, the default branch unless you changed it, so the merged catalog flows back into the Lovable project. How those pull requests interact with Lovable's sync is covered in translation PRs and Lovable's GitHub sync.

Why is the new language still showing English?

Because its catalog is empty until the pull request is merged. Lingui falls back to the source text for any message without a translation, so a freshly added locale renders English rather than blank keys. That is the intended behaviour, not a bug.

Work through it in order:

  1. No pull request yet? Check that Japanese is a target language on the Workflow and that a run started. If the run was refused for credits, the dashboard says so.
  2. Pull request open? Merge it. Translations do not reach the app from an unmerged branch.
  3. Merged, still English in Lovable? Open the sync status card in the project's GitHub settings. Lovable syncs one branch at a time, so the pull request has to merge into the branch Lovable is syncing.
  4. Still English after that? Check the file path. The catalog must be at src/locales/ja/messages.po, matching the code in LOCALES exactly. ja-JP in one place and ja in the other is the usual cause.

Does the language switcher update itself?

Yes, if the skill built it. The switcher maps over LOCALES and labels each entry with Intl.DisplayNames, the browser's built-in language names, so Japanese appears as soon as the code is in the list, named in whatever language the visitor is currently reading.

Two things do not update themselves. If you chose URL locale routing at setup, check that new routes such as /ja/ resolve and that your hreflang tags include the new locale; language switchers and hreflang in Lovable covers both. And if anyone replaced the generated switcher with a hand-written list, that list needs the new entry too.

What about right-to-left languages?

The same three file changes apply. The skill's activateLocale() already sets <html lang> and <html dir> when a language activates, and its right-to-left set includes Arabic, Hebrew, Farsi and Urdu, so the document flips direction on its own.

What it cannot flip is layout code that assumes left-to-right: ml-4 where ms-4 was meant, a chevron icon that points the wrong way, a progress bar that fills from the left. Test those screens once the translation lands. The full checklist is in Lovable apps in Arabic and other RTL languages.

Does each new language cost more?

Not per language. globalize.now has no per-language charge and no per-seat charge: you pay for the work done, and each language is its own translation. Adding Japanese costs roughly what translating your existing catalog once costs, and after that only new strings are translated. For a real figure, see what adding Japanese and Brazilian Portuguese to this website cost. Plans and included volumes are on the pricing page.

That is the practical difference from tools that price by language count. On those, the tenth language is a plan decision. Here it is a prompt. If you are still choosing between a widget and catalogs in your repository, how to translate a Lovable app lays out both.

Language ten is the same prompt as language two

Once the catalogs live in your repository, a new market is a code change you review, not a migration. Name the language, merge the pull request, ship.

globalize.now turns hardcoded app copy into translation-ready locale files and keeps them updated as you ship.

Try globalize.now free