If you are already using the Microsoft Language Portal to find Microsoft product terminology and phrases, you’ll already be familiar with manual searches for translations from Windows, Office, Visual Studio, Dynamics, Windows Phone, Skype and many others.
We are now making this translation data even more accessible for developers. With the new Terminology Service API, you can now program your apps to access these translations. The API allows you to programmatically access the terminology, definitions and user interface (UI) strings available on the Language Portal through a web service, enabling you to write apps that call the data from the portal and display it on your website or translate your Windows Store or Windows Phone apps.
You can also use the Terminology Service API for:
- Dictionary-style terminology, definition, and translation lookups for Microsoft terminology on your site or from within your app.
- Integration with your localization or content authoring system for dynamic translation and localization.
- Combination with Bing Translator to translate your content using lookups to get the right Microsoft terminology and machine translation for the content.
- Suggestions for Microsoft terminology in community translation of content and wikis.
The content is the same as you will find on the Language Portal search page and includes terminology and English definitions for terms like “swipe”, “download”, “cloud”, in addition to the actual product user interface translations, such as “Save to phone,” “Pin to Start,” “Log on,” and other common UI terms in major Microsoft products.
Integration with Multilingual App Toolkit (MAT)
If you are developing international apps for Windows Store or Windows Phone, you’ve already enjoyed the free translations provided by the Multilingual App Toolkit with integrated Bing Translator service. The great news is that MAT now offers machine translation via Bing Translator as well as Microsoft terminology and user interface commands in one single tool, using the Terminology Service API! To find out more about the new MAT version, read Cameron Lerum’s overview on Michael Kaplan’s blog. And to learn more about MAT itself, take at look at the short Multilingual App Toolkit introduction video.
This screenshot shows how MAT integrates the Language Portal terms and phrases and displays them directly in the MAT editor, in this case the string “Service unavailable” and the available French translations from the Language Portal:
The languages supported by the API include all the languages you will find on the Language Portal. It currently enables translation from US English to any of the supported languages and/or any of the supported language to US English. To get a full listing, use the GetLanguages method in the Terminology Service API.
Locales and Languages
Note that language codes currently include both the language and the country/region, for example “en-us.” Neutral locales, such as “en” only, are not currently offered. However, some of the language and locale combinations reflect terminology and UI strings from products that are distributed in multiple countries where a language is spoken and can be regarded as “neutral” flavors of the language, in particular:
- English: en-us
- French: fr-fr
- Arabic: ar-sa
- German: de-de
- Dutch: nl-nl
- Spanish: es-es
To get started, download the Terminology Service API SDK document (PDF format) for the full technical specification to use the API.
Using the Terminology Service API