linerdna.blogg.se

Deepl translator plugin
Deepl translator plugin






deepl translator plugin
  1. DEEPL TRANSLATOR PLUGIN GENERATOR
  2. DEEPL TRANSLATOR PLUGIN CODE

There’s more to configure, but you can get started right away by executing 'npm run start’.

DEEPL TRANSLATOR PLUGIN CODE

The process is covered here: Office Add-in Yeoman Generator.Īfter following the setup instructions, copy the code from Script Lab to your newly created repository.

deepl translator plugin

For Office Add-ins, there’s a pre-made template by Microsoft you can use, often referred to as “Yo Office”. Yeoman is an open-source scaffolding tool that makes new projects relatively easy. Now that we’ve done some prototyping in Script Lab and know the basics of Office scripting, we can start to create an actual add-in using Yeoman.

DEEPL TRANSLATOR PLUGIN GENERATOR

Tip 2: Creating an Office Add-in project with the Yeoman Generator The best part? The Script Lab snippet can be repurposed as you're setting up the add-in template, so all the work you do in Script Lab will come in handy later. Simply copy and paste the Gist YAML as outlined in the instructions, insert your DeepL API key in the placeholder in line 32, and you'll be able to run our snippet in just a few clicks. You’ll also need a DeepL API key if you'd like to follow along with this step. While this initial step isn’t the add-in you can share with team members just yet, it gives you an idea of what is possible with the DeepL API and what sort of user experience you'll be able to provide with your add-in.Įarlier in the post, we promised you an open-source code! Script Lab offers a way to import someone else’s “snippet”, so we’ve open sourced the DeepL-Word snippet we created so that anyone can give it a try. We used Script Lab to create an initial prototype of our add-in because it's an ideal way to quickly write code and see it in action-and it consists of only a single JavaScript, HTML, and CSS file. The Script Lab GitHub repository includes a tutorial to help you get started.

deepl translator plugin

Script Lab makes it possible to experiment with the Office JavaScript API without leaving Excel, Outlook, Word, or PowerPoint. Script Lab is an open-source project maintained by Microsoft. Tip 1: Building a prototype with Script Lab (or use ours) It could also be helpful to skim through this tutorial before moving to Tip 1. In short, all Office products provide a Common API with product-specific APIs on top. If you’re brand new to the Office APIs, we suggest reading Understanding the Office JavaScript API in Microsoft’s documentation. Ready? Let’s build! Tip 0 (optional): Do a little homework We'll also provide open-source code to help you get your project off the ground more quickly. In this post, we’ll share what we learned. We wanted to learn first-hand what an integration would require so that we can provide better answers when our customers ask us questions. We often hear requests from customers who want to build their own Office Add-in with the DeepL API and are looking for resources to get started. Why were we interested in this integration?īusiness communication is a popular DeepL use case-DeepL translations can enable a global, multilingual workforce to collaborate efficiently while keeping sensitive company data secure.








Deepl translator plugin