Perguntas frequentes

Everything you need to know about i18n-keyless before you start.

Preciso de gerir ficheiros de tradução?

Não. Não existem ficheiros JSON, nem etapa de extração de chaves, nem plugin de compilação. Escreve as tuas frases na tua língua de origem, o SDK envia-as para a API no primeiro pedido, a API traduz com IA, e cada pedido subsequente é servido a partir da cache. O teu código é a única fonte de verdade.

O que acontece quando mudo o texto de origem?

O texto de origem é a chave. Ao mudá-lo, obterá uma nova chave com uma tradução de IA fresca. A chave antiga simplesmente deixa de ser solicitada e o painel de controlo limpa-a após 30 dias sem utilização. Corrigir um erro de digitação é igual: corrija-o no código, implemente e o novo texto será traduzido no primeiro pedido.

Quanto custa?

O plano hospedado custa 8 € por projeto por mês, faturado mensalmente, pode cancelar a qualquer momento. A edição auto-hospedada é gratuita para um projeto; 30 € uma vez para projetos ilimitados — sem assinatura, sem limite de uso. Você traz sua própria chave AI em ambos os casos. Não há precificação por assento, por palavra ou por solicitação.

Can I export my translations?

Yes. The dashboard has an "Export JSON" button that downloads every translation in your project as a single JSON file. The export includes all rows, not just the ones used in the last 30 days, so it is a full backup. There is no lock-in: your data is always one click away.

What frameworks does it support?

React, React Native, Vue, Svelte, Vanilla JS, Node.js, Ruby on Rails, Python, Go, Swift and Kotlin. Every SDK works the same way: wrap your text in a translation call, and the API returns the translation for the current language. The server SDKs are thread-safe and cache translations in memory.

How many languages are supported?

48 languages, including regional variants like zh-Hans / zh-Hant, en / en-GB, fr / fr-CA, pt / pt-BR, and es / es-MX. Arabic, Hebrew and Urdu are in the list, so right-to-left languages work too. Adding a new language to your project is one click in the dashboard.

Does it work with server-side rendering?

Yes. The Node.js SDK uses AsyncLocalStorage so your loaders, head functions and server components can translate without a React provider. On the client side, the React provider hydrates from the server-rendered HTML. There are step-by-step guides for Next.js, Nuxt, and TanStack Start in the documentation.

Does it slow down my app?

The first time a new string is requested, the API calls the AI model — that takes one to two seconds. Every request after that is served from the database, which is a regular cache hit. The SDK also caches translations locally, so returning users see zero network delay. If ten users request the same string at the same time, only one AI call is made.

What happens if the service goes down?

Every SDK caches translations locally — in localStorage on the web, AsyncStorage on mobile, and in memory on the server. If the API is unreachable, the SDK serves the cached translations. Your users see the last known translation, never a blank string. When the API comes back, the SDK refreshes silently.

Which AI provider does it use?

Five providers are supported: Mistral, OpenAI, Anthropic, Google, and any OpenAI-compatible endpoint such as Ollama, Groq, or Together. The operator picks the provider and the model from the dashboard or from the environment. The default on i18n-keyless.com is Mistral. Self-hosted users can run Ollama locally and send nothing to a third party.

Can I override an AI translation?

Yes. Click any cell in the dashboard, type the correct text, and save. The fix is permanent: the API never overwrites a value that was set by hand. You can also override translations through the API or through the MCP server, so an AI coding agent can fix a translation for you.

Can I migrate from i18next or another library?

Yes. There is a step-by-step migration guide for i18next, react-intl, and Lokalise in the documentation. The API has a migrate endpoint that imports your existing translations one by one, with no AI call and nothing billed. The MCP server has the same tool, so an AI agent can do the migration for you.

Is there a free plan?

There is no time-limited free trial. The self-hosted edition gives you one project free forever — install the Docker image, use your own AI key, and keep your data on your own server. The hosted plan is €8 per month per project, with no minimum commitment.

Is the source code available?

The server, the dashboard and the Docker image are published on GitHub under the Elastic License 2.0. You can read every line, run the code, and change it. The SDKs — React, Vue, Node, Rails and the others — are MIT-licensed. The only restriction: you may not offer the software as a hosted service to third parties.

Auto-hospedado ou assinatura: qual?

Assinatura: nós a gerimos, as atualizações são automáticas, um preço por projeto. Auto-hospedado: a mesma imagem Docker no seu próprio servidor, grátis de instalar, um projeto grátis para sempre, 30 € uma vez por projetos ilimitados, com a sua própria chave de IA e os seus dados em casa. Escolha a assinatura a menos que queira executar um servidor.

Leia a resposta completa, com o código
How do I handle dynamic values like names or counts?

Use the replace option. Write the sentence with a placeholder — "Hello {name}, you have {count} items" — and pass the values at render time with replace: { "{name}": userName, "{count}": String(n) }. The AI sees the placeholder and keeps it in every translation. The SDK substitutes the value at runtime.

Como lido com plurais?

Não existe uma API de plural de propósito. Escreva cada forma como a sua própria frase completa — "1 item" e "{count} itens" — e insira o número com substituição. O modelo traduz cada frase na sua própria língua, por isso línguas com mais formas ainda soam naturalmente para os casos comuns.

Leia a resposta completa, com o código
Como lido com os gêneros?

Da mesma forma: uma frase completa por formulário, além de um contexto que diz ao modelo quem fala e a quem se dirige. Dois contextos fornecem duas traduções separadas das mesmas palavras, então "Welcome back" para uma mulher e para um homem nunca colidem.

Leia a resposta completa, com o código
Como formatar datas, números e moedas?

O SDK não os formata, o seu runtime é que o faz. Utilize o Intl.DateTimeFormat e o Intl.NumberFormat com o idioma atual do SDK e, em seguida, coloque o resultado na frase com o replace. Uma frase, uma tradução, o formato correto em cada idioma.

Leia a resposta completa, com o código
Posso personalizar o prompt de tradução?

Não, e não precisas de o fazer. O prompt lê o teu contexto para cada chave: é aí que se definem o tom, o público-alvo e o significado, e é isso que faz com que a mesma palavra se traduza de forma diferente em dois locais. E qualquer tradução pode ser substituída manualmente no painel de controlo; a API nunca substitui o que escreveste.

Leia a resposta completa, com o código
Does it have an MCP server for AI coding agents?

Yes. The API is also an MCP server with OAuth 2.1 authentication. An AI agent can list translations, translate strings, override values, import existing translations, and manage project members — the same operations a human does in the dashboard. Connect it from Claude Code, Cursor, Windsurf, or any MCP-compatible client.

Can I use it for backend strings and emails?

Yes. The Node.js, Ruby on Rails, Python and Go SDKs run on the server. Translate an email subject, an error message, or a push notification the same way you translate a UI string. The server SDKs cache translations in memory and refresh in the background, so they do not add latency to your request.

Can my whole team work on translations?

Yes. Add team members to a project from the dashboard or through the API. Every member can see all translations, override any value, and add languages. Admins create projects and manage members. There is no per-seat pricing: add as many people as you need.

Como posso corrigir um erro de digitação?

O texto de origem é a chave. Corrigir um erro de digitação no texto de origem fará com que você obtenha uma nova chave com uma nova tradução; a string antiga simplesmente deixa de ser solicitada, e o painel limpa automaticamente após 30 dias sem uso. Um erro de digitação em uma tradução: edite a célula no painel e a correção é permanente.

Leia a resposta completa, com o código