Skip to content

Conversation

@MAVRICK-1
Copy link
Contributor

Adding Automated Translation for Higress

This PR introduces a GitHub Actions workflow that automates translations for non-English issues and PR comments. By implementing this workflow, we aim to enhance Higress's global visibility and make it more accessible to international users and contributors.

Features Implemented

  • Added a GitHub Actions workflow that automatically detects and translates non-English content in:

    • Issues (when opened or edited)
    • Issue comments
    • Pull requests
    • PR review comments
  • The translation is appended to the original content for a non-intrusive user experience

Implementation Details

  • Uses the lizheming/github-translate-action which is specifically designed for GitHub content translation
  • Configured to translate to English by default
  • Permissions are properly set to allow writing to issues and pull requests
  • Retains the original non-English content while adding the translation

Testing Done

  • Verified the workflow triggers correctly on new non-English issues
  • Tested with non-English PR comments to ensure proper translation
  • Confirmed the action runs with appropriate permissions

Benefits for the Project

This implementation will help Higress in several ways:

  1. International users can comfortably write in their native language while maintainers can read in English
  2. Reduces communication barriers for global contributors
  3. Makes the project more inclusive and accessible
  4. Maintainers can respond to all issues regardless of language used

This is a step toward making Higress a truly global open source project with contributors from diverse linguistic backgrounds.

Next Steps

After this is merged, we can:

  • Collect feedback on translation quality
  • Consider extending translation capabilities to documentation
  • Explore options for translating the project website

Fixes #2226

@MAVRICK-1
Copy link
Contributor Author

@cr7258 @hanxiantao test example MAVRICK-1#2

@MAVRICK-1
Copy link
Contributor Author

Is there any community channel or slack channel. Where I can ask about my doubts

@CLAassistant
Copy link

CLAassistant commented May 14, 2025

CLA assistant check
All committers have signed the CLA.

Signed-off-by: Rishi Mondal <[email protected]>
@MAVRICK-1 MAVRICK-1 force-pushed the test-translation-action branch from 6c08b93 to bf29aaf Compare May 14, 2025 06:47
@cr7258
Copy link
Collaborator

cr7258 commented May 14, 2025

Hi @MAVRICK-1 you can join our discord group from this link: https://discord.gg/reymxYM5

@MAVRICK-1
Copy link
Contributor Author

@cr7258 done

@johnlanni johnlanni merged commit 675a8ce into alibaba:main May 14, 2025
1 check passed
VinceCui pushed a commit to VinceCui/higress that referenced this pull request May 21, 2025
ink-hz pushed a commit to ink-hz/higress-ai-capability-auth that referenced this pull request Nov 5, 2025
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.

Add a Github Action to translate non-English Github issue and PR comments to English

4 participants