AI Glot websiteOpen AI Glot
Formati di file.NET e Qt
Formati di file

Tradurre file .NET e Qt

Traduci file di risorse .NET RESX e RESW e file Qt Linguist .ts fino a 12 MB. I nomi delle risorse, le intestazioni e i contesti restano invariati e vengono tradotte solo le stringhe.

Sono accettati file di risorse .NET (.resx e .resw) e file Qt Linguist (.ts) fino a 12 MB. In entrambi i formati, gli identificatori a cui fa riferimento il codice costituiscono la struttura e non vengono mai modificati. Vengono tradotte solo le stringhe visibili agli utenti.

Cosa viene tradotto e cosa resta invariato

FormatoTradottoLasciato invariato
RESX, RESWIl valore di ogni stringaGli attributi name, l’intestazione e lo schema delle risorse, xml:space, la colonna dei commenti, le immagini e le altre risorse non testuali
Qt LinguistLa traduzione di ogni messaggioI nomi dei contesti, le stringhe originali, le posizioni, %1 e %n, i frammenti HTML

Per Qt, quando si traduce in una sola lingua, l’attributo language del file viene aggiornato alla lingua di destinazione. I file .ts vengono riconosciuti in base al contenuto: un file TypeScript con la stessa estensione non viene accettato.

Cosa puoi chiedere

Un'applicazione .NET

Crea un file Resources.fr.resx accanto all'originale.

Traduci i valori in francese. Lascia invariati i segnaposto come {0} e {1}, i nomi delle risorse e i commenti.

Escludi le risorse non testuali

Prima dell'approvazione, il piano elenca ciò che verrà scritto.

Traduci solo le stringhe di testo in tedesco. Lascia invariati i file incorporati, le immagini e tutte le voci che non sono stringhe.

Una prima bozza da far rivedere

Compila tutti i messaggi di un file Qt perché una persona madrelingua possa perfezionarli.

Traduci in spagnolo tutti i messaggi incompleti. Lascia invariati %1 e %2 e mantieni le e commerciali usate come tasti di scelta rapida.

Solo i contenuti nuovi

Dopo un nuovo lupdate, lascia intatti i messaggi già revisionati.

Traduci solo i messaggi incompleti nel file italiano e lascia invariati quelli già completati.

Terminologia coerente

Indica le parole da mantenere identiche in tutte le finestre di dialogo.

Traduci in portoghese. Traduci sempre “Settings” con “Configurações” e “Project” con “Projeto”.

Da sapere

  • Una lingua di destinazione per caricamento per entrambi i formati. Se ne chiedi due, il piano ne traduce una e te lo segnala. Elabora il file una volta per ogni lingua: il tuo glossario viene mantenuto.
  • Plurali Qt. Per ora, i messaggi che usano le forme numeriche di Qt restano invariati. Il piano ne indica il numero, così potrai completarli in Qt Linguist.
  • Compila come al solito. Per Qt, esegui lrelease al termine, proprio come dopo una traduzione in Qt Linguist. Per .NET, la compilazione in un assembly satellite non cambia.
  • Commenti. Un commento RESX documenta la stringa per il tuo team, quindi resta in inglese, a meno che tu non chieda diversamente.
  • Filtro di output. Non disponibile: viene restituito il file completo.
  • Limite. 12 MB.

Correlati

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search AI Glot Docs documentation and read it in full, instead of answering from memory.

https://ai-glot.com/docs/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://ai-glot.com/docs/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.