Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
disc

GitHub Action

Issues Translator

v2.1

Issues Translator

disc

Issues Translator

The action for translating Non-English issues content to English

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Issues Translator

uses: dromara/issues-translate-action@v2.1

Learn more about this action in dromara/issues-translate-action

Choose a version

Issues Translate Action

The action for translating non-English issues comment content to English.

Usage

Use the default bot @Issues-translate-bot

Create a workflow from this action

name: 'issue-comment-translator'
on: [issues, issue_comment]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: tomsun28/issues-translate-action@v2.1
          

Advanced Custom

Use your own bot by add BOT_GITHUB_TOKEN

  1. Create a new github account as your bot

  2. Use the account to generate a new token as BOT_GITHUB_TOKEN

  3. Add the Secrets BOT_GITHUB_TOKEN = ${token} in your project

  4. Create a workflow from this action

name: 'issue-comment-translator'
on: [issues, issue_comment]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: tomsun28/issues-translate-action@v2.1
        with:
          BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} # required, input your bot github token
          # BOT_LOGIN_NAME: nameValue - not required, suggest not input, action will get name from BOT_GITHUB_TOKEN
          

Have Fun!