crowdin / translate-readme Goto Github PK
View Code? Open in Web Editor NEWA GitHub Action to automate the translation of your README.md files via Crowdin ✨
License: MIT License
A GitHub Action to automate the translation of your README.md files via Crowdin ✨
License: MIT License
Recently, I tested this GitHub Action, but it failed with the following error:
Error: Invalid name given. Name must be unique
The following is my test action:
- name: Translate Readme
uses: crowdin/[email protected]
with:
upload_sources: true
download_translations: false
language_switcher: true
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_API_TOKEN }}
The following is my test README.md:
<!-- TRANSLATE-README-LANGUAGES-START -->
<h2 id="table-of-contents">
Table of Contents
</h2>
* <a href="#introduction">Introduction</a>
* <a href="#documentation">Documentation</a>
* <a href="#progress-of-translations">Progress of Translations</a>
* <a href="#preview-translations">Preview Translations</a>
* <a href="#preview-in-local-build">Preview in Local Build</a>
* <a href="#preview-in-gh-pages">Preview in GitHub Pages</a>
* <a href="#contributors-list">Contributors</a>
* <a href="#github-contributors">GitHub Contributors</a>
* <a href="#crowdin-contributors">Crowdin Contributors</a>
<!-- TRANSLATE-README-LANGUAGES-END -->
And the following is my full log of this step:
Run crowdin/[email protected]
with:
upload_sources: true
download_translations: false
language_switcher: true
file: README.md
destination: ./
env:
CROWDIN_PROJECT_ID: ***
CROWDIN_PERSONAL_TOKEN: ***
Start...
Adding language switcher to README.md...
Uploading sources...
Error: Invalid name given. Name must be unique
crowdin/[email protected]
I'm Just wondering what languages this action supports. As its not clear in the readme
Hello, Author.
I wonder what does the language switcher this GitHub Aciton generate for us look like?
Can you take a screenshot for us to take a look?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.