Skip to content

Conversation

desrosj
Copy link
Member

@desrosj desrosj commented Jul 1, 2025

Proposed changes

In #45, a new workflow was introduced to perform string translations using Azure AI. This has been merged and is working great so far after resolving a few bugs.

There are a few other workflows related to translations in the repository:

  • i18n-update.yml
  • i18n-crowdin-download.yml
  • i18n-crowdin-upload.yml

The last two are for a service that will no longer be utilized, and eventually can be removed. The workflows that reference these two have already been updated to only run on workflow_dispatch.

The first one, however, is still used in many repositories and suffers from several shortcomings. This includes the fact that it opens a new pull request every single time it runs, which becomes overwhelming when merging multiple commits in a short period of time without the time.

The workflow runs i18n related composer scripts before committing back and creating a pull request. The new, translation workflow should be updated to also run any repository-defined i18n scripts before creating or updating a pull request to avoid the need for multiple workflows.

Type of Change

Production

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Dependency update
  • Refactoring / housekeeping (changes to files not directly related to functionality)

Development

  • Tests
  • Dependency update
  • Environment update / refactoring
  • Documentation Update

Video

Checklist

  • I have read the CONTRIBUTING doc
  • I have viewed my change in a web-browser
  • Linting and tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

@desrosj desrosj self-assigned this Jul 1, 2025
@desrosj desrosj requested a review from circlecube July 1, 2025 17:35
@desrosj desrosj marked this pull request as ready for review July 1, 2025 17:38
desrosj added a commit to newfold-labs/wp-module-performance that referenced this pull request Jul 1, 2025
This adjusts the new translation workflow to account for proposed changes in newfold-labs/workflows#58 which eliminates the need for the old-style `i18n-update.yml` file.
circlecube
circlecube previously approved these changes Jul 1, 2025
@desrosj desrosj merged commit 7fdf98c into main Jul 1, 2025
10 checks passed
@desrosj desrosj deleted the combine/general-translation-workflow branch July 1, 2025 18:07
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.

2 participants