localization.md

Microsoft 365 integrations · Local agent

Translate straight from Teams · SharePoint · Power Automate, and the result comes back where the original was.

Documents encrypted with sensitivity labels are handled by the local agent.

  • Teams app

    Pick a channel file to translate, and the result is uploaded to the same channel file location.

    Learn more

  • SharePoint command

    Select a file in a document library and translate it; the result appears in the same folder.

    Learn more

  • Power Automate connector

    Build flows that translate automatically when a file is added to a library.

    Learn more

  • Local agent

    Unlock sensitivity-labeled documents on your own PC, send only a plaintext copy for translation, and reapply the original label to the result.

    Learn more

Teams app

In a Teams channel, pick a channel file from a message extension or tab and translate it. Channel files live in the connected SharePoint site, so the translation is uploaded to the same channel file location (SharePoint folder).

  • Message extension: pick a file to submit it for translation; the result is uploaded when done.
  • Tab: request translations from the channel file list and see their status.
  • Result files keep the original's protection (label).

SharePoint command

Translate with a command in the document library.

  1. Select a file

    Pick a file in the document library and run "Translate to Korean".

  2. Translate

    The file is read with your permissions, submitted for translation, and its status is checked until it finishes.

  3. Saved in the same folder

    The result appears in the original's folder as {original}_ko.{ext} and keeps the original's protection (label).

Power Automate custom connector

The connector offers three actions: translate a file (TranslateFile) · get status (GetJob) · download the result (DownloadResult). For example, a "translate automatically when a file is added to the library" flow looks like this.

  1. Trigger

    Use SharePoint's "When a file is created" with the site and library.

  2. Translate the file

    Get the file content, pass it to the translate action, and receive a job ID.

  3. Check status

    Repeat get status until the job is ready or failed.

  4. Save the result

    When ready, download the result and save it to the same library as {original}_ko.{ext}.

Local agent

PPTX and DOCX files encrypted with sensitivity labels (RMS/IRM) can't be translated on the server directly. The local agent unlocks the file with the Office permissions on your PC, sends only a plaintext copy for translation, and reapplies the original label to the result.

  1. Decrypt on your PC

    Using local PowerPoint or Word permissions, the label is removed into a temporary plaintext copy.

  2. Send only the plaintext copy

    Only the temporary copy is uploaded to the translation service, and the agent waits for it to finish.

  3. Get the result

    The translation is downloaded to the folder you specify.

  4. Reapply the label

    The original's label is applied to the result again.

  5. Securely delete plaintext

    When processing ends, the temporary plaintext file is always securely deleted, whether the job succeeded or failed.

What the local agent needs

  • A Windows PC with PowerPoint or Word installed locally
  • Signed in with an account in the tenant that issued the sensitivity label (met if the file opens on that PC)
  • A translation service to connect to

Audit records never contain file content or plaintext.

How they're deployed

The Teams · SharePoint · Power Automate integrations are deployed by your organization's admin, who builds the package (manual packaging).

  • Teams app: upload the app package (zip) to your organization's app store, or sideload it.
  • SharePoint command: upload the solution package to the app catalog and add it to a site.
  • Power Automate connector: import the connector definition to create it, then connect with OAuth2.
  • Local agent: an installer package is coming later; for now it runs as a command-line tool.

All three integrations first need a Microsoft Entra app registration and delegated authentication.

Connecting through the API directly?

The Developers page gives an overview of the same API these integrations use.

Developers