Dynamics 365 Translation Service Visual Studio Code extension (Public Preview)

Very interesting Microsoft public extension, still in preview mode but already usable (i did some tests); the convenience is that it can be used within VSCode, calling the translations services directly.

The Microsoft Dynamics 365 Translation Service (DTS) extension for Visual Studio Code (VS Code) lets users interact with DTS from the VS Code editor.

This extension was created for Dynamics 365 Business Central users who develop extensions in AL. It provides a user interface (UI) for creating, submitting, and retrieving new DTS translation requests.

Installing

Install Public Extension DTS (Dynamics Translation Service)

Accessing the DTS Extension

After first activation, you can use the ICON

DTS icon in the Activity Bar in VS Code.

The DTS view is opened. It consists of the resource file explorer and the translation request configuration view.

Resource file explorer

The resource file explorer provides a tree view that you can use to navigate your project’s resources. To view the translation files for a given source XLIFF, select the source node to expand it.

You can also use the Refresh button if the tree view wasn’t automatically updated after a translation job.

Resource file explorer.

Configure translation requests – “How-to” steps
  1. In the translation request configuration view, select the AL project that you want to configure. Unless you’re working with multiple AL project folders in one workspace, only one project will be available.
  2. In the Target Languages list, select the target languages.
  3. If you have any XLIFF files to recycle, you can add them by using the Choose Files button.
  4. If you want all data to be processed in the European Union (EU), select the Process request within the European Union checkbox.
  5. Select Save.

Change Folding Maximum Regions 🡪 Up to 65000

Submit translation requests

Submit a new translation request, make sure that you’ve saved the configuration for translation requests (“SAVE”). That configuration will be used for alluture requests, unless it’s overridden by a new save operation.

To submit a new request, select the ellipsis button (…) in the resource file explorer, and then select Submit Translation Request on the menu.

Each translation file is written to the folder where the source translation file is located.

Notifications about request status.

Authentication

If you aren’t signed in, you’re prompted to authenticate.

Make a note of the authentication code in the prompt, and then select Open URL (Copy and Paste)

Authentication prompt.

Pending requests after Submit

If you terminate your VS Code session before all translation requests have been downloaded, you will receive a notification that lets you download the completed requests.

Mailing from Microsoft (Translation Job started, Translation Job ended)

You will receive a notification when the processing of the request begins and another notification when it’s completed.

Source

Dynamics 365 Translation Service Visual Studio Code extension (Public Preview) – Finance & Operations | Dynamics 365 | Microsoft Docs

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.