{"id":6265,"date":"2018-04-18T07:01:02","date_gmt":"2018-04-18T14:01:02","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/translation\/?p=6265"},"modified":"2018-04-18T07:01:02","modified_gmt":"2018-04-18T14:01:02","slug":"microsoft-brings-ai-powered-translation-to-end-users-and-developers-whether-youre-online-or-offline","status":"publish","type":"post","link":"https://www.microsoft.com\/en-us\/translator/blog\/2018\/04\/18\/microsoft-brings-ai-powered-translation-to-end-users-and-developers-whether-youre-online-or-offline\/","title":{"rendered":"Microsoft brings AI-powered translation to end users and developers, whether you\u2019re online or offline"},"content":{"rendered":"

Microsoft Translator has added new capabilities that allow users and developers to get artificial intelligence-powered translations whether or not they have access to the Internet.<\/p>\n

The new capabilities allow both end-users and third-party app developers to have the benefit of neural translation technology regardless of whether the device is connected to the cloud or offline. \u200b<\/p>\n

When using the Microsoft Translator app, end users can now download free AI-powered offline packs. In addition, through the new Translator app local feature preview, Android developers will be able to quickly and easily integrate online and offline AI text translations into their apps.<\/p>\n

 <\/p>\n

New AI-powered offline language packs for the Translator apps for Android, iOS, and Amazon Fire<\/strong><\/p>\n

The development comes after two years of work, and it complements Microsoft\u2019s overall effort to make sure developers and users can access AI-powered tools where their data is<\/a>, whether that\u2019s in the cloud or on a device. That ability, which experts refer to as edge computing, comes as experts are figuring out ways to run powerful AI algorithms without the massive computing power of the cloud.<\/p>\n

Microsoft Translator released AI-powered online neural machine translation<\/a> (NMT) in 2016. Because of the computing power needed to run these high-quality translation models, this capability was only available online. In the latter part of 2017, this capability was made available on specific Android phones equipped with a dedicated AI chip. It allowed their users to get offline translation quality that was on par with the quality of online neural translation.<\/p>\n

Building on this initial work, the Translator team was able to further optimize these algorithms, allowing them to run directly on any modern device\u2019s CPU without the need for a dedicated AI chip. The new Translator apps now bring NMT to the edge of the cloud for all Android<\/a>, iOS<\/a>, and Amazon Fire<\/a> devices. Support for Windows devices is coming soon.<\/p>\n

These new NMT packs produce higher quality translations, which are up to 23 percent better, and about 50 percent smaller than the previous non-neural offline language packs. These NMT packs are available in Translator\u2019s most popular languages and new NMT languages will be added regularly. For the complete up to date list please check out https:\/\/translator.microsoft.com\/help\/articles\/languages<\/a>.<\/p>\n

 <\/p>\n

New Translator local feature preview for Android<\/strong><\/p>\n

For Android developers, the Translator app also now offers a preview of the new local feature, which enables developers to quickly and easily add text translation to any Android app that benefit from translation capabilities.<\/p>\n

In addition, thanks to these new NMT offline packs, Android developers can for the first time add offline NMT to their apps, allowing their users to get access to NMT translated content without an Internet connection.<\/p>\n

To integrate translation in their app, developers will just need to add some simple code that will use Android\u2019s bound service<\/a> technology with an AIDL interface<\/a> to silently call the Translator app. The Translator app will do the rest. If the device is connected to the Internet, the Translator app will retrieve the translation from the Microsoft Translator service on Azure. If Internet connectivity isn\u2019t available, the Microsoft Translator app will use the local NMT offline language packs to deliver this translation back to their app.<\/p>\n

The feature is expected to graduate from preview to general availability within 90 days of the preview release.<\/p>\n

\"\"<\/a><\/p>\n

When the device is online, translations can also leverage customized<\/a>\u00a0translation models that match the app and company\u2019s unique terminology.*<\/p>\n

Whether the app gets its translations online or offline, the local feature bills the developer\u2019s existing Microsoft Cognitive Services<\/a> Translator Text API subscription.* There is no need to create a new one and, as if the cloud API is being called directly, requests are not logged<\/a> for either online or offline translations.<\/p>\n

Learn more about how the local feature preview works in our\u00a0<\/span>GitHub\u00a0documentation<\/a>\u00a0and\u00a0sample app<\/a>.<\/p>\n

 <\/p>\n

* During the preview, some features may not be available or may be available at no cost. Please refer to the\u00a0documentation release notes<\/a>\u00a0for more information.<\/em><\/span><\/p>\n

 <\/p>\n

Learn more<\/strong><\/span><\/p>\n