- Run
update-source.yaml
(GitHub Actions)Remember to set
Workflow permissions
toRead and write permissions
inSettings > Actions > General
. - Pre-translated sources are generated in the
/template/source
directory. - Available crowdin(You need to apply to crowdin as OSS).
- Replace
<__lang__>
in lines 7 to 10 of/tools/Merger.py
to the Language Codes of your language. - Translate on crowdin and approval pull request.
- Execute the
Merge.yaml
that has been translated(GitHub Actions). ./localizations/<__lang__>.json
is output, success!
📦template
┣📂localizations
┃ ┗ 📜<__lang__>.json
┣ 📂source
┃ ┣ 📂extensions
┃ ┃ ┣ 📂tooltips
┃ ┃ ┃ ┗ 📜tooltip.json
┃ ┃ ┗ 📜extension.json
┃ ┣ 📜ExtensionList.json
┃ ┗ 📜StableDiffusion.json
┗ 📂<__lang__>
┣ 📂extensions
┃ ┣ 📂tooltips
┃ ┃ ┗ 📜tooltip.json
┃ ┗ 📜extension.json
┣ 📜ExtensionList.json
┗ 📜StableDiffusion.json