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.
Install Public Extension DTS (Dynamics Translation Service)
Accessing the DTS Extension
After first activation, you can use the ICON
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.
Configure translation requests – “How-to” steps
- 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.
- In the Target Languages list, select the target languages.
- If you have any XLIFF files to recycle, you can add them by using the Choose Files button.
- If you want all data to be processed in the European Union (EU), select the Process request within the European Union checkbox.
- 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.
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)
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.