Freelance Project Requests info@CodeDocu.de Software Development in C# WPF Asp.Net Core Vba Excel Word SQL-Server EF Linq, UWP Net
#

Word Addin: Automatic translation in Google Translate
 
Subject: Translation of Word documents into English
 
This entry contains a Word add-in, which can be used to translate texts under Google Translate.
 
This Word addin can be loaded into Word and then appears in the Ribbonbar as its own Ribbonbar area.
When you click on the translate button in the bar, the word text is transferred to a browser window, then translated into Google Translate and then imported into Word again.
The formatting and images and links are retained.
The current language is from German to English and serves to translate German texts into English.
 
In the appendix, the Word Addin is available for download and for developers the code in C # is freely available.

 
The program contains the following classes and variables

private string _sSplitSeq = "\n|| ";
private List<WordHyperlink> _arrWordLinks;
private class WordHyperlink
frmTranslate _frmTranslate;

 
And the methods

private async void do_translate_all()
//->Hauptmethode
 
private async Task<string> do_Translate_Browser(string sText)
//->Übersetzt den Text im Browser bei Google Translate
 
private void get_Hyperlinks()
//->sammelt Hyperlink Informationen

private string get_Sentences()
//->sammelt Original-Text Informationen
 

 
 
Video Tutorial
Mobile
»
PDF Text Reader for Excel Word Access
»
ActiveX Barcode 39 Control for Excel Access Word
»
Project template for an ActiveX control
»
Email Send Control for Office applications
»
COM: Run-time error 2147024894 80070002 automation error The system can not find the specified file
»
COM Error: DllRegisterServer entry point Error message when registering an ActiveX COM DLL
»
Code: Create your own ActiveX Component in Visual Studio 2017 and Office 2016 365
»
MS Office Access: Sending emails directly from the Office application without Outlook

.

Contact for Jobs, Project Requests: raimund.popp@microsoft-programmierer.de