Translate text in excel

If you ever wondered how to translate excel spreadsheets into another language. 

This blog will give you a clear guidance on how to do exactly that. 

Translation is more than just changing words from one language to another. Translation builds bridges between cultures.

English is a language that is pretty much everywhere. However, solely operating in English can hold back companies and businesses.

There is no question that English is a widely spoken language. A lot of those numbers, though, are made up of people who speak English as a second language. This would mean that most people would actually respond better if they were spoken to in their native language.

These people do understand and comprehend English. They have no problems piecing together words to form a sentence in response to whatever you are asking them. But until you speak the language that their heart speaks (their native language), you won’t really be communicating with them in the most optimal way

Most people simply prefer their native language. It is what they are most comfortable with and it shows in their confidence when they’re speaking. This is why we need translation; it will allow people to communicate more effectively.

With all that being said, it can clearly be seen that translation is more important than the attention and credit it is given. So many people around the world have already benefited from the effects of good and clear translation with its importance is becoming increasingly more well-known today.

In this article I will explain how to translate in Excel with 3 different options:

Table of Contents

Translation through the Review Tab

In this example, I have in column A some words in English that I want to translate into 5 different languages.

You can download the exercise file and follow along by clicking Here. I start at the Review worksheet, where I have in column A some words in English. Select the range A2:A12 and copy it (CTRL + C). Click on the “Review” Tab of the ribbon then click on “Translate”. Alternatively, you can use the shortcut ALT + SHIFT +F7

The Translator pane opens on the right side and shows the selected text in the upper box. English language is automatically detected.

From the lower drop list select the target language, I selected French. Text is instantly translated

Put the mouse cursor in the lower box and hit CTRL + A to select all the translated text, then copy it CTRL + C

Pasting the translated text in cell B2, will result in pasting all the words in one single cell.

To solve the problem, Double click in Cell B2 (the Enter mode of Excel) ► Paste CTRL +V ► Then select all CTRL+A ► Cut the selected translated text CTRL + X ► deselect cell B2 by clicking on a different cell ► Re-select cell B2 ►and Paste CTRL + V … voila. Each word appears in a different cell.

Now, repeat the process for each one of the other languages.

Translating Functions

Translating functions follows a totally different process.

We start by adding a Microsoft Add-in called Functions Translator.

On the Insert Tab click on Get Add-ins.

Click on “Store” ► Select “Productivity” ► then scroll down to “Functions Translator” ► Click Add.

A window opens ►Click continue to accept the License terms

The tool is added to the right side of the Home Tab, showing 2 options Reference & Translator (both will open the same pane). Click on Reference.

The first time you use the functionality, a Welcome screen allows you to select the languages. You can change the language later one by clicking on the gear icon in the lower right corner of the reference tab.

I have English selected as a source language and German as a target language.

The Reference tab also allows you to select a Function category ► Financial Functions are shown along with the corresponding name in German.

When I clicked on the PMT function ► it switched to the “Dictionary” Tab where it shows a description of the selected function.

To translate any function (including nested functions) go to the “Translator” tab.

In the upper box, type your function (You cannot click on cells in the worksheet to use them as references). Alternatively, if you already have the function in the worksheet, copy it from the formula bar and paste it in the same box.

You can download the exercise file and follow along by clicking Here.

In the “Functions” Worksheet, I copied the PMT function in B5 from the formula bar and I pasted it in the box ► Click on the down pointing arrow for the Translation direction ► you get the translation in German in the lower box

Since delimiters vary from one language to another, you have a set of controls for changing the delimiters.

Test with a different function (the LEFT function) in cell B9.

Test with a Dynamic Array function (TEXTAFTER) in cell C9.

Note if you click on the Replace button to replace the original function with the translated one, this action cannot be undone. But you can always click again on the upper replace button to bring the function in the original language.

But what about nested functions? They work perfectly fine.

I have in cell F19 a VLOOKUP function with a nested CHOOSE function. I copied it from the formula bar and pasted it in the upper box ► I clicked on the down arrow for the Translation direction and the result is amazing.

If at anytime you don’t want the Functions Translator in Excel, you can remove it by going to the Insert Tab ► Click on My Add-ins ► The Office Add-ins dialog box opens ► Select Functions Translator ► Click on the ellipsis ► Click on Remove ► Confirm by hitting Remove ► Then close.

Dynamic Translation using Power Query

I also created a second table in column C (C1:C2) named “Language” for the destination language, or the Target language (tr). C2 is a drop list, that allows me to select any target language.

In cells C4:C5 I created a third table that returns the abbreviated code of the selected language in C2. I named the table “Code” and I used a VLOOKUP function to return that code from a table array named “AllLanguages”.

=VLOOKUP(C2,AllLanguages,2,0)

Here is the “AllLanguages” named range in a hidden sheet named “Data”

You can get the full list of ISO-639.2 codes from the url:

ISO 639-2 Language Code List Codes for the representation of names of languages (Library of Congress) (loc.gov)

The Concept

Load the “Language” table to power Query. Data Tab ► From Table Range ► Right click the single value and select ► Drill Down ► you get a single text value.

On the Home Tab of the query editor : Close & Load To ► Only Create a connection

Repeat the previous steps for the “Code” table. Drill Down ► Load as a connection only.

Solution

On the Data Tab ►Get Data ► From Other Sources ► Blank Query.

Name the Query ”Translate”.

On the Home Tab of the Query Editor ► Click on Advanced Editor ► Delete everything ► Then copy and Paste this code.

				
					let
    fnTranslate =
        (Shorts as text) as text =>
 let
    Source = Json.Document(
Web.Contents("https://translate.googleapis.com/translate_a/single?client=g
tx&sl=en&tl=" & Code & "&dt=t&q=" & Shorts)
    ),
    Translation = Source{0}{0}{0}
    in
    Translation,
Source = Excel.CurrentWorkbook(){[Name="Shorts"]}[Content],
 ChangeDataType = Table.TransformColumnTypes(Source,{{"English",
type text}}),
 Result = Table.AddColumn(
    ChangeDataType,language,
    each fnTranslate([English]),
    type text
)
in
 Result
				
			

Let’s break down this code:

A table is sent from Excel to Power Query.

Power Query connects to Google Translate through an API (Application Programming Interface), a software that allows 2 applications to interact with each other.

The same API reads data from the webservice which returns translated data in JSON format (JavaScript Object Notation).

Since it’s a free API, limit the number of requests by not refreshing the query often and keeping the translation table short.

To access the Free Google Translation API use the URL:

https://translate.googleapis.com/translate_a/single?client=gtx&sl=en&tl=fr&dt=t&q=%22Text

In this URL there are 3 parameters:

Sl stands for Source language ISO code.

Tl stands for Target Language ISO Code.

Q is the text to be translated

The API endpoint returns a JSON file (in array format) that contains French translation(fr) for text given in English

We rename this array Source

				
					let
 Source =
Web.Contents("https://translate.googleapis.com/translate_a/single?client=g
tx&sl=en&tl=" & Code & "&dt=t&q=" & Shorts)
in
 Source
				
			

We need to parse this JSON file to access the translated text.

Json.Document is the function which is responsible of parsing the JSON content. The result is stored in a variable “Translation”

				
					let
 Source = Json.Document(
 Web.Contents("https://translate.googleapis.com/translate_a/single?client=g
tx&sl=en&tl=" & Code & "&dt=t&q=" & Shorts) ),
 Translation = Source{0}{0}{0}
 in
 Translation,
				
			

Note, Source{0}{0}{0} is the first item in the translated text we want to get.

As soon as we run the query, we will be notified to specify how we would like to connect to the web service unless you already defined permission for the Google Translation API endpoint. Click on the Edit Credentials button ► I selected Anonymous

To make this code reusable, I encapsulated it in a Custom function fnTranslate(). We can create the custom function in a separate code and call it in other queries.

Here is my code where I replaced: the target Language by the query named Code, the name of the source table by Shorts, and the column header of the translated text by the query Language.

				
					let
 fnTranslate =
 (Shorts as text) as text =>
 let
 Source = Json.Document(
Web.Contents("https://translate.googleapis.com/translate_a/single?client=g
tx&sl=en&tl=" & Code & "&dt=t&q=" & Shorts) ),
 Translation = Source{0}{0}{0}
 in
 Translation,
 Source = Excel.CurrentWorkbook(){[Name="Shorts"]}[Content],
 ChangeDataType = Table.TransformColumnTypes(Source,{{"English",
type text}}),
 Result = Table.AddColumn(
 ChangeDataType,Language,
 each fnTranslate([English]),
 type text
 )
 in
 Result
				
			

Close and Load To the same Excel worksheet in cell E1

Test by changing the destination language from the drop list in Excel. Every time we select a different target language we need to refresh the query either by:

  • Clicking on Refresh All on the Data Tab
  • Using the shortcut: CTRL + ALT + F5
  • Right-click the sheet tab ► View Code. Copy and paste the following Change Event Code.
				
					Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("C2:C5")) Is Nothing Then
 ThisWorkbook.RefreshAll
 End If
End Sub
				
			

Watch the Full Tutorial on my YouTube channel by clicking here below.

As I am not familiar with all these languages, I wish to hear back from you in a comment; how accurate the translation is.

If you enjoyed the article and the accompanying Video tutorial share it on your social platforms for the benefit to spread.

Excel for Microsoft 365 Word for Microsoft 365 PowerPoint for Microsoft 365 OneNote for Microsoft 365 Publisher for Microsoft 365 Visio Plan 2 Excel for Microsoft 365 for Mac Word for Microsoft 365 for Mac PowerPoint for Microsoft 365 for Mac Word for the web Excel 2021 Word 2021 PowerPoint 2021 Publisher 2021 Visio Professional 2021 Visio Standard 2021 OneNote 2021 Excel 2021 for Mac Word 2021 for Mac PowerPoint 2021 for Mac Excel 2019 Word 2019 PowerPoint 2019 Publisher 2019 Visio Professional 2019 Visio Standard 2019 Excel 2019 for Mac Word 2019 for Mac PowerPoint 2019 for Mac Excel 2016 Word 2016 Outlook 2016 PowerPoint 2016 OneNote 2016 Publisher 2016 Visio Professional 2016 Visio Standard 2016 Excel 2013 Word 2013 Outlook 2013 PowerPoint 2013 OneNote 2013 Publisher 2013 Visio Professional 2013 Visio 2013 Outlook.com Excel 2010 Word 2010 Outlook 2010 PowerPoint 2010 OneNote 2010 Publisher 2010 Visio 2010 Visio Standard 2010 New Outlook for Windows More…Less

Your browser does not support video. Install Microsoft Silverlight, Adobe Flash Player, or Internet Explorer 9.

The Translate feature is currently available for Word, Excel, OneNote, Outlook, and PowerPoint. 

Note: The procedures for Outlook for the web are the same as the procedures for the new Outlook for Windows. Select the Web tab above for those instructions.

Translate an email in Outlook

In Outlook, you can translate words, phrases, and full messages when you need them. You can also set Outlook to automatically translate messages you receive in other languages.

When you receive an email in another language, you’ll see a prompt at the top of the message asking if you’d like Outlook to translate it into your preferred language.

Incoming email heading

When you receive an email in another language, you can respond in two different ways:

  • In the message, select Translate message. Outlook replaces the message text with translated text. 

    After you’ve translated the message, you can select Show original to see the message in the original language or Turn on automatic translation to always translate messages to your preferred language.

  • In the message, select Never translate. Outlook won’t ask you if you’d like to translate messages in the future.

If, for some reason, Outlook doesn’t offer these options, select the Translate button from the ribbon, or right-click on the message and select Translate, then Translate Message.

  • On the Home tab, select Translate > Translate Message.

    Select Translate message

To change your translation preferences, go to Home > Translate > Translation Preferences.

Select Translate preferences

Here you can set your preferred language.

Language preferences

Translate part of an email

To translate just a bit of text from a message, select that text and right-click. Outlook will show you the translation right there in the context menu that appears.

Context menu for translation

You can also select text and right-click to translate to your preferred language when you’re composing an email. When you click the translated text, you can insert it into the message you’re writing.

Translate while composing

To learn more see Announcing new translation features in Outlook.

Note: Automatic translation and intelligent translation suggestions are only available for Exchange Online mailboxes.

Word for Microsoft 365 makes it easy

In Word for Microsoft 365 when you open a document in a language other than a language you have installed in Word, Word will intelligently offer to translate the document for you. Click the Translate button and a new, machine-translated, copy of the document will be created for you.

A prompt offering to translate the document for you.

Translate words or phrases in Word, Excel, or PowerPoint

  1. In your document, spreadsheet or presentation, highlight the cell or text you want to translate.

  2. Select Review > Translate.

  3. Select your language to see the translation.

  4. Select Insert. The translated text will replace the text you highlighted in step 1.

    Note: In Excel, there is no Insert button, you’ll have to copy/paste the text you highlighted in step1.

    You might see a list of several translations. Expand the translated item to show a usage example in both languages. Choose the one you want and click Copy.

    Translation options for a word

Available in: Word PowerPoint Excel

This feature is available to Microsoft 365 subscribers and Office 2019 customers using Version 1710 or higher of Word; or Version 1803 or higher of PowerPoint or Excel. You must also be connected to the internet, and have Office connected experiences enabled to use Translator.

Subscribers get new features and improvements monthly.

Buy or try Microsoft 365

Not sure what version of Office you’re running? See What version of Office am I using?

This feature is not currently available to customers using Microsoft 365 operated by 21Vianet.

Animation of the Translator feature converting from English to Russian.

Translate a whole file in Word

  1. Select Review > Translate > Translate Document.

  2. Select your language to see the translation.

  3. Select Translate. A copy of the translated document will be opened in a separate window.

  4. Select OK in the original window to close translator.

Available in: Word

This feature is available to Microsoft 365 subscribers and Office 2019 customers using Version 1710 or higher of Word. You must also be connected to the internet, and have Office connected experiences enabled to use Translator.

Users with Office 2016, but without a subscription, will have the same translation features that are available in Office 2013 and earlier. 

Subscribers get new features and improvements monthly. 

Not sure what version of Office you’re running? See What version of Office am I using?

Shows animation for document translation

Translate words or phrases in OneNote for Windows 10

  1. In your notes highlight the text you want to translate.

  2. Select View > Translate > Selection.

  3. Select your language to see the translation.

  4. Select Insert. The translated text will replace the text you highlighted in step 1.

Translate a whole page in OneNote for Windows 10

  1. Select View > Translate > Page.

  2. Select your language to see the translation.

  3. Select Translate. The translated page will be added as a sub-page of the existing page.

  4. Select OK in the original window to close translator.

If you later want to change the To language for document translation, or if you need to translate a document to more than one language, you can do so, by selecting Set Document Translation Language…from the Translate menu.

Shows Set Document Translation Language under theTranslate menu

See also

  • Admin considerations for modern translator feature in Office

  • Languages supported by Microsoft Translator

The translation tools available depend on which Office program you’re using:

  • Translate Document/Translate Item: Word, Outlook.

  • Translate Selected Text: Word, Outlook, OneNote, PowerPoint, Publisher, Excel, Visio.

  • Mini Translator: Word, Outlook, PowerPoint, OneNote

    Available translation tools in Office programs

You can have an entire Word document or Outlook message translated by a computer («machine translation») and displayed in a web browser. When you choose this kind of translation, the content in your file is sent over the Internet to a service provider.

Note: Machine translation is helpful for conveying the basic subject matter of the content and for confirming whether the content is relevant to you. For high accuracy or sensitive files, human translation is recommended, because machine translation might not preserve the full meaning and tone of the text.

Choose your translation language

  1. On the Review tab, in the Language group, click Translate > Choose Translation Language.

    Choose Translation Language

  2. Under Choose document translation languages click the Translate from and Translate to languages that you want, and then click OK.

Translate the document or message

  1. On the Review tab, in the Language group, click Translate.

  2. Click Translate Document (Translate Item in Outlook). The From and To languages that you selected are listed.

    Translating a document or message

A browser tab opens with your file in both the original language and the language that you selected for translation.

Note: If this is the first time you have used translation services, you may need to click OK to install the bilingual dictionaries and enable the translation service through the Research pane. You can also see which bilingual dictionaries and machine translation services you have enabled by clicking the Translation options link in the Research pane. See the next section (Translate selected text) to learn how to access the Research pane.

You can use the Research pane to translate a phrase, sentence, or paragraph into several selected language pairs in the following Microsoft Office programs: Excel, OneNote, Outlook, PowerPoint, Publisher, Visio, and Word.

Note: In PowerPoint, only one slide’s text box can be translated at a time.

  1. On the Review tab, in the Language group, click Translate > Translate Selected Text to open the Research pane.

    Translate Selected Text

    Note: In Word, you can right-click anywhere in the document, and then click Translate.

  2. In the Research pane, in the All Reference Books list, click Translation.

    The Translation option in the Research pane

  3. Do one of the following to translate a word or short phrase:

    • Select the words, press ALT, and then click the selection. The results appear in the Research pane under Translation.

    • Type the word or phrase in the Search for box, and then press Enter.

      Notes: 

      • If this is the first time you have used translation services, click OK to install the bilingual dictionaries and enable the translation service through the Research pane.

      • You can also see which bilingual dictionaries and machine translation services you have enabled by clicking the Translation options link in the Research pane.

      • To change the languages that are used for translation, in the Research pane, under Translation, select the languages that you want to translate from and to. For example, to translate English to French, click English in the From list and French in the To list.

      • To customize which resources are used for translation, click Translation options, and then select the options that you want.

In Word, Outlook, PowerPoint, and OneNote, the Mini Translator displays the translation of one word as you point at it with your cursor. You can also copy the translated text to the Clipboard, paste it into another document, or play a pronunciation of the translated word.

  1. On the Review tab, in the Language group, click Translate > Mini Translator.

    Mini Translator

  2. Point to a word or phrase that you want translated with your mouse. When a faint dialog box appears overlayed in your document, move your mouse over it to see any translations available.

Note: The Mini Translator will continue to appear whenever you move over words. To turn it off, repeat step 1 above.

For more information, see See translations with the Mini Translator.

This feature is only available if you have an Office 365 subscription, or Office 2019 for Mac, and only for Word, Excel, and PowerPoint.  For Translator in Outlook see Translator for Outlook for more information.

Translate a whole document

  1. Select Review > Translate > Translate Document.

  2. Select your language to see the translation.

  3. Select Translate. A copy of the translated document will be opened in a separate window.

    Available in: Word

Review tab with Translate Document highlighted

Translate selected text

  1. In your document, highlight the text you want to translate.

  2. Select Review > Translate > Translate Selection.

  3. Select your language to see the translation.

  4. Select Insert. The translated text will replace the text you highlighted in step 1.

    Note: In Excel, there is no Insert button, you’ll have to copy/paste the text you highlighted in step1.

    Available in: Word PowerPoint Excel

Review tab with Translate Selection highlighted

Translate a whole document

Word for the web makes it easy to translate an entire document. When you open a document that is in a language other than your default language, Word for the web will automatically offer to create a machine-translated copy for you.

A prompt in Word for the web offering to create a translated copy of the document.

If you’d prefer to initiate the translation manually, you can still do that with these steps:

  1. Select Review > Translate > Translate Document.

  2. Select your language to see the translation.

  3. Select Translate. A copy of the translated document will be opened in a separate window.

    Available in: Word

Translate selected text

  1. In your document, highlight the text you want to translate.

  2. Select Review > Translate > Translate Selection.

  3. Select your language to see the translation.

  4. Select Insert. The translated text will replace the text you highlighted in step 1.

    Available in: Word

Translate an email

  1. When you receive an email in another language, a prompt will appear at the top of the message asking if you’d like Outlook to translate it into your default language.

    Screenshot of the prompt to translate a message

  2. If you select Translate message, Outlook will replace the message text with translated text. 

    You can then select Show original message to see the message in the original language or Turn on automatic translation to always translate messages in another language.

  3. If you select Never translate, Outlook won’t ask you if you’d like to translate messages in that language in the future.

  4. You can change your translation preferences and choose your translation language by going to Settings Settings > View all Outlook settings > Mail > Message handling.

    Available in: Outlook

More information

  • Microsoft Translator languages

  • Right-to-left languages

  • Language Accessory Pack for Office

  • Change the language Office uses in its menus and proofing tools

  • Enable or change the keyboard layout language

  • Check spelling and grammar in a different language

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Translate in Excel

Translate in Excel (Table of Contents)

  • Introduction to Excel Translate Function
  • How to Convert Words to Other Languages?
  • Install Excel Function Translator Add-In

Introduction to Excel Translate Function

Excel Translate is a function that helps to convert one language to another. In 99.99% of the cases, we all use the English language to present our data. However, we can change the content of the default English language to our own language; it could be a single word, it could be a full sentence, or it could be a paragraph as well. We can convert it to 51 available languages in excel.

Where is the Translator in Excel?

You must know where exactly the translator function is in excel. You must be thinking it could have been hidden like Data Analysis Toolpak or any other built-in options in excel. If you are thinking it is a hidden gem in excel, you are wrong because it is not a hidden gem in excel; rather, it is available upfront under the REVIEW tab in excel.

Translate in Excel

Yes, you are correct; this option is gone unnoticed because of the not exact requirement in our day-to-day work. We learn only what is necessary for us; apart from that, we will not even bother about learning other things that add value to our career. But we will overcome that today and learn the unnoticed option called Excel Translator.

How to Convert Words to Other Languages?

Let’s start something new by converting words to other languages. Follow the below steps to convert words into other languages.

You can download this Translate Excel Template here – Translate Excel Template

Step 1: Go to the REVIEW tab and click on Translate.

Translate in Excel

Step 2: Now, we will see the below option on the right-hand side.

Translate in Excel 1-1

Step 3: In the Search for, type the word you want to convert.

Translate in Excel 1-2

Step 4: Select the From & To language.

Translate in Excel 1-3

Step 5: Now click on OK to complete the process. It will show the result of this word in Hindi.

Translate in Excel 1-4

Step 6: If you click on Insert, it will insert the converted text to the active cell in the worksheet.

Translate in Excel 1-5

Install Excel Function Translator Add-In

If you are not a regular of English language, then it is quite difficult to understand the functions in excel. In order to overcome this barrier, we can install the free excel function Translator add-in to the excel. Note: I am using Excel 2013 version. This Excel add-in can convert 800 different functions into 80 different languages. Add-in can convert the function to 15 different languages, and common languages are English, Danish, German, Spanish, French, Italian, etc.

Follow the below steps to install the Excel Functions Translator. You need an internet connection to install the Add-In.

Step 1: Go to the INSERT tab and click on Store.

Translate in Excel 1-6

Step 2: Now, you will see the Online Browser option.

Translate in Excel 1-7

Step 3: Now, in the Search field, type Excel Function Translator and search. You will see this Add-In.

Translate-in-Excel-1-8

Step 4: Now click on Add; it will add the add-in to your excel. Before that, you need to do some installation process. You will see on Function Translator installation wizard on the right-hand side.

Translate-in-Excel-1-9

Step 5: Scroll down and select Get Started.

Translate in Excel 1-9

Step 6: Here, you need to select converting language. I have selected English to Danish. Click on Start Working.

Translate in Excel 1-10

Step 7: Go to the Translator and enter the formula you want to convert.

Translate in Excel 1-13

Step 8: Now click on the down arrow key to convert.

Key to Convert

Step 9: Now, it will convert the formula to the selected language.

Converting the Formula

Things to Remember About Translate in Excel

  • Once the excel translator is installed, it is available under the INSERT button and Under My Apps.

My Apps

  • You can select any language available under the usage language section.

usage language section

  • We can sort all the formulas from A to Z under toggle sorting.

toggle sorting

  • Once the language is selected, we can see the formula name in other languages as well as the English language.

Formula Names

  • Under the dictionary, we can search for the function that we want.
  • You need an internet connection to work with these excel function translator.
  • There are 51 languages available in excel, and you can convert the function to any of them with the description in the selected language.

Recommended Articles

This is a guide to Translate in Excel. Here we learn to translate text to different languages using Translate in excel and how to add a translate option in Quick Access ToolBar. You can also go through our other suggested articles –

  1. Mixed Reference in Excel
  2. Spelling Check-in Excel
  3. Excel Quick Access Toolbar
  4. Excel Toolbar
  • Перевод в Excel с помощью API Deepl
  • Перевод текста через Google Translate
    • Бесплатный перевод с Google Translate
    • Платный API Google Translate
    • Бесплатная Функция GTranslate
    • Таблица обозначений языков для перевода Google
  • F. A. Q.

Excel-переводчик пригодится всем, кто производит локализацию сайтов, интерфейсов приложений и прочих больших массивов текста.

В Excel есть встроенный переводчик от Microsoft, но со своими причудами. Например, перевести можно только одну ячейку, а что делать, когда их сотни?

Можно попытаться использовать возможности VBA для использования онлайн-переводчиков в Excel. Сервисы предоставляют API для подобных задач.

Deepl — это сервис перевода, основанный на глубоком (машинном) обучении и нейросетях. Нетрудно догадаться из названия (Deep Learning – глубокое обучение).

Deepl — заслуженно крутой переводчик, качество перевода точно не уступает и часто превосходит конкурентов (а это, на минуточку, Google, Microsoft и другие гиганты, чей бизнес изначально был построен на текстовом анализе). О том, что их перевод лучше остальных, основатели проекта не скромничают на своём сайте. И с ними нельзя не согласиться — качество переведенного текста и в самом деле практически не требует дополнительной редактуры.

Deepl популярен в среде SEO-специалистов, которые локализуют тексты с его помощью. Есть подозрения, что Google может пессимизировать тексты, переведенные им же самим, это еще один довод в пользу сторонних решений.

Deepl позволяет выбирать формальность перевода (в языках где это есть, например, в русском яркий пример Ты-Вы).

К сожалению, сейчас Deepl доступен далеко не во всех странах – нужна карточка, выпущенная банком стран EU, US, Японии и еще нескольких стран.
Но если вам нужен действительно качественный перевод – вас это вряд ли остановит.

Поддержка перевода с помощью бесплатного и платного API Deepl появилась в !SEMTools 17 февраля 2023г.

переводим текст с русского на английский в Excel с помощью Deepl

Переводим в Excel с русского на английский текст документации Deepl

Перевод текста через Google Translate

Google Translate — замечательный продукт. Перевод с его помощью довольно качественный и при этом моментальный. Но у веб-интерфейса есть свои недостатки. Например, ограничения по количеству знаков.

А что, если бы можно было пользоваться Google Translate прямо в Excel?

Это было бы просто замечательно! Поэтому я и реализовал в !SEMTools функции и процедуры для перевода текста на популярные языки.

Бесплатный перевод с Google Translate

Использовать процедуры несколько удобнее, чем функции, т.к. все действия осуществляются парой кликов мыши. Доступен перевод с русского на 6 популярных языков и обратно. Здесь используется бесплатная веб-версия переводчика, подходит для перевода небольших объемов текста.

Для редких случаев перевода с иностранного на иностранный можно воспользоваться отдельной процедурой с выбором языка. Она поддерживает выбор 12 наиболее популярных языков и доступна в полной версии !SEMTools.

Инструменты перевода текста в Excel (!SEMTools)

Перевод текста в Excel

Платный API Google Translate

У многих при использовании бесплатной версии переводчика возникают проблемы с превышением бесплатных лимитов. Разумеется, Google не готов абсолютно бесплатно делиться столь сложным в разработке и полезным инструментом, поэтому ограничивает “недобросовестное” использование бесплатной версии сервиса.

Альтернатива – это возможность пользоваться сервисом через платный API.

Но на текущий момент (2023 г.) Google предоставляет перевод первых 500.000 знаков бесплатно! Нужно только подключить платежный профиль, но первые 500.000 знаков деньги расходоваться не будут.

Для тех, кому нужно переводить многие сотни строк текста и многие тысячи знаков, инструмент будет очень полезен. Поддержка платного API доступна с версии 10.23.14 (февраль 2023 г.), только в полной версии надстройки.

Если вы еще не прописали ваш персональный API-токен, процедура уведомит вас о его отсутствии (и перевод, конечно же, не сработает).

Для активации токена в меню присутствует отдельная процедура:

процедура активации Google Translate API токена

После активации токена процедуры будут переводить текст в любых объемах, но будьте внимательны и следите за превышением начальной квоты в 500.000 знаков, и дальнейшим расходом средств (хотя расценки Google вполне скромные). Вся информация доступна на дашборде Google Cloud.

Как получить токен

Чтобы получить токен API Google Translate, вам потребуется:

  • Зарегистрировать Google аккаунт
  • Перейти в Google Cloud Console: https://console.cloud.google.com/apis/dashboard
  • Создать там аккаунт и подключить биллинг (потребуется зарубежная карта)
  • Активировать Cloud Translation API
  • Найти токен на вкладке Credentials: https://console.cloud.google.com/apis/api/translate.googleapis.com/credentials

Бесплатная Функция GTranslate

Функция доступна всем бесплатно – нужно только скачать !SEMTools и подключить надстройку к вашему Excel.

Синтаксис функции аналогичен таковому в Google Spreadsheets:

=GTranslate(A1;"en";"ru")

Преимущество перед самими “гуглодоками” в том, что Spreadsheets зависнут и перестанут отдавать перевод раньше.

С функциями можно использовать любой язык из предложенных на сервисах. Используется “бесплатная” версия перевода, что означает небольшие лимиты на количество строк и знаков.

Таблица обозначений языков для перевода Google

Afrikaans af Galician gl Latin la Sesotho st
Albanian sq Georgian ka Latvian lv Shona sn
Amharic am German de Lithuanian lt Sindhi sd
Arabic ar Greek el Luxembourgish lb Sinhala (Sinhalese) si
Armenian hy Gujarati gu Macedonian mk Slovak sk
Azerbaijani az Haitian Creole ht Malagasy mg Slovenian sl
Basque eu Hausa ha Malay ms Somali so
Belarusian be Hawaiian haw (ISO-639-2) Malayalam ml Spanish es
Bengali bn Hebrew he or iw Maltese mt Sundanese su
Bosnian bs Hindi hi Maori mi Swahili sw
Bulgarian bg Hmong hmn (ISO-639-2) Marathi mr Swedish sv
Catalan ca Hungarian hu Mongolian mn Tagalog (Filipino) tl
Cebuano ceb (ISO-639-2) Icelandic is Myanmar (Burmese) my Tajik tg
Chinese (Simplified) zh-CN or zh (BCP-47) Igbo ig Nepali ne Tamil ta
Chinese (Traditional) zh-TW (BCP-47) Indonesian id Norwegian no Telugu te
Corsican co Irish ga Nyanja (Chichewa) ny Thai th
Croatian hr Italian it Pashto ps Turkish tr
Czech cs Japanese ja Persian fa Ukrainian uk
Danish da Javanese jv Polish pl Urdu ur
Dutch nl Kannada kn Portuguese (Portugal, Brazil) pt Uzbek uz
English en Kazakh kk Punjabi pa Vietnamese vi
Esperanto eo Khmer km Romanian ro Welsh cy
Estonian et Korean ko Russian ru Xhosa xh
Finnish fi Kurdish ku Samoan sm Yiddish yi
French fr Kyrgyz ky Scots Gaelic gd Yoruba yo
Frisian fy Lao lo Serbian sr Zulu zu

F. A. Q.

Можно ли сделать собственный переводчик в Excel?

Можно составить словарь слов и их аналогов на другом языке – по тому же принципу, как это сделано в моей процедуре лемматизации. Но пословный перевод редко получается корректным.
Например, фразовые глаголы в английском языке уже приносят страдания тем, кто их учит, т.к. два слова рядом переводятся совсем не так, как по отдельности.
Словоформы глаголов в русском языке зависят от рода субъекта, а в английском – нет.
Нужно переводить не только слова, но и фразы, определяя контекст и взаимоотношения слов. Более того, одни и те же сочетания могут по разному переводиться в зависимости от пунктуации – ее тоже нужно учитывать.
Все это делает задачу составления собственного переводчика очень сложной. Гораздо проще воспользоваться готовыми решениями.

Подходит ли бесплатный функционал для объемов в тысячи строк?

Нет. Если попытаться перевести сотни строк и тысячи-десятки тысяч слов одновременно, Google наложит временный бан на IP. Как правило, это несколько часов.
Для перевода в промышленных масштабах нужно использовать платный API.

Будет ли в !SEMTools включена поддержка других API (например, Deepl)?

Да, другие API также планируются.

Нужно перевести текст в Excel? Установите надстройку !SEMTools и переводите любые объемы текста на нужный вам язык!

Sometimes you may be in a situation where you are required to work with and share Excel documents that are not in your native language.

Excel’s translation features come in handy in making the workbooks accessible to yourself and other team members.

This tutorial shows you when and how to use the translation features of Excel.

When to Use Excel’s Translation Features?

The following are examples of situations where you might need to use Excel’s translation features:

  • When working in a culturally diverse office with staff who speak different languages. 
  • When working with a multinational company using several versions of Excel in different languages. 
  • When you receive a workbook that is outside your primary language.
  • When you work with remote teams that are multi-ethnic.

How to Use Excel’s Translation Features?

We will show you how to translate in Excel using an example of translating English to Swahili. 

Imagine you are working for a multinational company as Human Resource Manager, and you conducted a survey to find out the level of satisfaction of company staff.

The results of the study are as follows:

Dataset that needs to be translated

You are required to share these results with a colleague manager from Tanzania.

The manager’s native language is Swahili, and he does not understand English very well.

However, you can translate the document to Swahili using the following steps:

  1. Select cell A1 which contains the header text you want to translate first, and click the Review tab and then the Translate button in the Language group.
Click the translate icon

The Translator pane appears on the right of the Excel window.

  1. Set the source language and the target language, which are English and Swahili, respectively. 
select the source and the target language

After selecting the target language, you can see a preview of the translation. 

  1. Manually copy the translated segment and paste it into cell A1 as follows:
copy and paste the translated text in Excel

Note: If you are pasting into merged cells, Excel returns a message box with a warning:

When you click OK on the warning message box, you get the following warning message:

warning when trying to paste in merged cells

To prevent this problem, unmerge the cells before pasting. Then, you can merge the cells again after pasting.

  1. Repeat steps 1 to 3 to translate the text in the rest of the cells.
all text translated in Excel

Additional Information on the Excel Translate Feature

  • Excel’s built-in Translator can sometimes give the wrong translation; therefore, it cannot be relied upon for professional use.
  • You cannot use the Translator to translate formulas and functions because it does not preserve the formula behind the text displayed in the cells. To translate formulas and functions, you need to use the Functions Translator add-in, which will be looked at later in this tutorial.

Is there a Translate Formula in Excel?

Many Google Sheets users often wonder if there is a translate formula in Excel (similar to the GoogleTranslate function in Google sheets).

As of writing this tutorial, there is no translation function in Excel that can take a cell reference and give you the translated text.

While there is a translation feature, you need to first manually translate the text and then copy and paste the translated text back into Excel.

Given that Excel and Google Sheets keep learning from each other and keep adding functions, I’m hoping that a similar translate function will soon be available in Excel.

How to Translate Functions in Excel?

If you want to translate your Excel functions into a different language, the Excel native translator cannot cut it; therefore, you must use the Functions Translator add-in.

The Functions Translator is made for people who use Excel in several languages.

Install the Functions Translator Add-In

You must install the Functions Translator add-in before you can use it. 

To install the Functions Translator add-In, use the following steps:

  1. Click the Insert tab, and select the Get Add-ins button in the Add-ins group.
click on get add ins
  1. In the Office Add-ins Store, select the Productivity category and scroll down until you find the Functions Translator, and click the Add button.
add the functions translator addin
  1. Click Continue to accept the license terms and privacy policy.

The Functions Translator add-in is added to the very right of the Home tab.

functions translator add in added to the home tab

Additional Information on the Functions Translator Add-in

You will see the Reference and Translator buttons In the Functions Translator group.

It does not matter which one you click; either one will take you to the Functions Translator pane, only to different tabs.

The Reference button will take you to the Reference tab, and the Translator button will take you to the Translator tab.

Note: You are taken to the Welcome screen the first time you open the Functions Translator.

welcome screen of the functions translator addin

When you click the Get Started button on the Welcome screen, you are taken to the screen where you can set the From and To languages.

select the from and to language

You are taken to the Functions Translator when you click the Start Working button. 

The add-in has three tabs; Reference, Dictionary, and Translator tabs.

tabs in the functions translator add in

Note the gear button at the bottom of the pane:

gear button in the functions translator add in

The gear button allows us to change the From and To usage languages.

Let’s click on it and set the From language to English and the To language to Dutch.

Of course, we do this assuming we are working with the Dutch version of Excel.  

Click the back arrow to go back to the three tabs.

click the back arrow

The Reference Tab

The Reference tab gives you a reference sheet for all Excel functions in the source and target languages. 

the reference tab

You can use the Function category drop-down to sort the functions.

functions category drop down

The Dictionary Tab

The Dictionary tab grants you access to a searchable dictionary of all the Excel functions:

the dictionary tab in functions translator addin

The Translator Tab

The Translator tab allows you to translate all Excel functions and delimiters in a formula.

Type in or paste the formula you want to be translated in the top box and click the down arrow to see the translation in the target language. 

the translator tab

Click the first button below the text boxes to replace the formula in the currently selected cell with content in the text box.

replace the formula in the currently selected cell

Click the other buttons below the text boxes to choose the correct delimiter symbol if the auto-detection process selected the wrong one. 

choose the column separator

This tutorial has explained in detail how to translate in Excel using Excel’s built-in Translator and the Functions Translator add-in.

These translation features are helpful for people who work with Excel workbooks that are not in their native language.

Examples of situations where the translation features are handy are; culturally diverse offices with staff who speak different languages and multinational companies that use many versions of Excel in several languages.

Other situations include when you receive Excel documents in a language that is not your primary language and when you are collaborating with multi-ethnic remote teams.

Note that Excel’s built-in Translator can sometimes give wrong translations, and so we can’t apply it for professional use. 

We hope you found the tutorial helpful.

Other articles you may also like:

  • How to Find out What Version of Excel You Have
  • How to Start Excel in Safe Mode
  • How to Make Excel File Read Only
  • Why does Excel Open on Startup (and How to Stop it)
  • How to Open Excel File [xls, xlsx] Online (for FREE)

Понравилась статья? Поделить с друзьями:
  • Translate spoken word to text
  • Translate phrase and word combinations
  • Translate pdf to word online
  • Translate pdf for word
  • Translate pages to word