Skip to content

Conversation

mr-vara
Copy link
Contributor

@mr-vara mr-vara commented Jun 23, 2025

Proposed changes

This PR sets up the repository to use a centralized, reusable GitHub Actions workflow that automates localization file translation using Azure AI Translation (Microsoft Translator).

What’s Included

  • Calls the reusable translation workflow from the central repository.
  • Supports translation of .po and .json files with optional context stripping.
  • Allows configuration of text_domain, defaulting to the repository name if not provided.

Configuration Notes

  • Triggers on push to main and via manual workflow_dispatch.
  • Requires the following secrets:
    • TRANSLATOR_API_KEY (Azure AI Translation)
    • NEWFOLD_ACCESS_TOKEN (for creating pull requests)

This setup helps automate translation updates across repositories using a single, centralized translation logic.

Documentation

AI Translation Workflow Documentation

Copy link
Contributor

github-actions bot commented Jun 23, 2025

wpscholar
wpscholar previously approved these changes Jun 23, 2025
@circlecube circlecube merged commit 177dcd8 into main Sep 2, 2025
15 of 19 checks passed
@circlecube circlecube deleted the PRESS11-157 branch September 2, 2025 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants