Text functions
TRANSLATE
Deferred: needs an outside service
Deferred by policy: the answer needs Microsoft's translation service. DNA Calc does not run this function yet. How we measure this
Local names in 40 languages
| Language | Name in Excel |
|---|---|
| Arabic | TRANSLATE |
| Bulgarian | TRANSLATE |
| Czech | TRANSLATE |
| Danish | OVERSÆT |
| German | TRANSLATE |
| Greek | TRANSLATE |
| English (Australia) | TRANSLATE |
| English (United Kingdom) | TRANSLATE |
| English (United States) | TRANSLATE |
| Spanish | TRADUCIR |
| Estonian | TRANSLATE |
| Finnish | KÄÄNNÄ |
| French | TRADUIRE |
| Hebrew | TRANSLATE |
| Croatian | TRANSLATE |
| Hungarian | FORDÍTÁS |
| Indonesian | TRANSLATE |
| Italian | TRANSLATE |
| Japanese | TRANSLATE |
| Korean | TRANSLATE |
| Lithuanian | TRANSLATE |
| Latvian | TRANSLATE |
| Norwegian | TRANSLATE |
| Dutch | VERTALEN |
| Polish | TŁUMACZ |
| Portuguese (Brazil) | TRANSLATE |
| Portuguese (Portugal) | TRADUZIR |
| Romanian | TRANSLATE |
| Russian | ПЕРЕВОД |
| Slovak | TRANSLATE |
| Slovenian | TRANSLATE |
| Serbian (Latin) | PREVEDI |
| Swedish | ÖVERSÄTT |
| Thai | TRANSLATE |
| Turkish | DİLÇEVİR |
| Ukrainian | TRANSLATE |
| Vietnamese | TRANSLATE |
| Chinese (Simplified) | TRANSLATE |
| Chinese (Hong Kong) | TRANSLATE |
| Chinese (Traditional) | TRANSLATE |
Names from Microsoft's support site.
What it does
TRANSLATE(text, [source_language], [target_language])
TRANSLATE sends text to Microsoft Translation Services and returns the translation. Excel only carries the request;
the service decides the answer.
TRANSLATE(text, [source_language], [target_language])
textis quoted text or a cell reference. It must be text.source_languageis a language code such as"en". If omitted, the service detects the language.target_languageis a language code such as"es". If omitted, the system language is used.
=TRANSLATE("Hello","en","es")
Try it
DNA Calc does not run this function yet: its answer needs an outside service. In Excel you would write:
=TRANSLATE("Hello","en","fr")Quirks
- The default target belongs to the machine. Two people opening one workbook on different systems can get
different translations from one formula. Name
target_languagein anything that travels. - Detection is weakest on short text. Microsoft recommends naming the source language for short strings, which is what cells usually hold.
- Do not treat the result as a key. Nothing promises the same text next time, and supported languages can change.
- Translating there and back does not return the original.
When the service is unavailable
Microsoft documents failures as messages about the call:
| Message | Meaning |
|---|---|
| Text Too Long | The cell holds too many characters; no figure is given |
| Error in Value | The input is not text |
| Invalid Language | The code is wrong or unsupported |
| Request Throttled | The daily quota is used up; no figure is given |
The page does not say what appears with no connection, nor how a saved result behaves on recalculation. Neither has been measured here.
How to implement
DNA Calc does not run this function yet. It is deferred by policy, because the answer depends on a back end Microsoft hosts and controls. An implementation needs:
- A translation service. Any other engine gives other words, so it could match Excel's shape but not its answers.
- Language handling: code validation against the service's current list, and the host's system language as the default target.
- Asynchronous calculation, with caching so recalculation does not spend quota or change results.
- The documented failures, including throttling and the length limit.
The function needs no arithmetic of its own. Its text handling is limited to coercing the arguments.
Rust code
This entry has no Rust implementation yet.
No implementation has been published with a Handbook test suite for this function.
Version differences
No Excel answers for this function are recorded here, so no comparison between Excel builds exists. Microsoft's page lists Excel for Microsoft 365 on Windows and Mac and Excel Mobile. Service updates can change answers with no Excel build changing, so a build comparison would not separate the two.
Alternatives
- Translate once and store the result as values, when a report has to stay fixed.
- A lookup table of approved terms, when wording must be controlled.
DETECTLANGUAGEto find the source language first.
Named variants
No named variants are recorded yet.
Suggest a correction or contribute an implementation · For agents