This GitHub action uses OpenAI's GPT-4 to automatically translate the README.md
file to Japanese.
The action simplifies the process of translating README.md
files to japanese language, leveraging
the power of OpenAI's GPT-4 technology.
By using this action, you can reach over 121 million
Japanese-speaking developers and users, significantly expanding your project's accessibility in one of the world's
largest tech communities.
- uses: humonnom/readme-in-japanese@v1 with: # Path to the source README file # # Optional # Default: README.md source_file: '' # OpenAI API Key for translation # # Required api_key: ''
${source_file name || 'README'}.ja.md
.
translate-me.md
will be translated to translate-me.ja.md
.README.ja.md
is used.- uses: humonnom/readme-in-japanese@v1 with: api_key: ${{ secrets.OPENAI_API_KEY }}
- uses: humonnom/readme-in-japanese@v1 with: source_file: docs/README.md # Path to the source README file api_key: ${{ secrets.OPENAI_API_KEY }}
name: Translate README on: push: paths: - 'README.md' jobs: translate: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Translate README uses: humonnom/readme-in-japanese@v1 with: api_key: ${{ secrets.OPENAI_API_KEY }}
This action follows the Semantic Versioning convention for versioning.
When specifying the action version, you have two approaches:
Major Version Tracking:
Scenario: Version update process
Specific Version Pinning:
v1.0.7
).The scripts and documentation in this project are released under the MIT License.
There are no models linked
There are no datasets linked
There are no models linked
There are no datasets linked