localize ai
1.0.0
Lokalisierung AI ist eine leistungsstarke GitHub-Aktion, die den Lokalisierungsprozess Ihrer Apps mithilfe des hochmodernen GPT-4-Sprachmodells automatisiert. Es übersetzt nahtlos den Inhalt Ihrer App in mehrere Sprachen mit einem einfachen Konfigurationsaufbau und speichert Ihnen Zeit und Ressourcen.
Hauptmerkmale:
Beispiel Repository
Beispiel React Project
Erstellen Sie eine Workflow -Datei in Ihrem Repository, z. workflow.yaml :
name : Localize strings
on :
push :
paths :
- locales/**
jobs :
localize :
runs-on : ubuntu-latest
steps :
- uses : actions/checkout@v2
- name : Localize strings
uses : voloshinskii/[email protected]
with :
model : gpt-4
openai-token : ${{ secrets.OPENAI_TOKEN }}
locales-path : ./locales
main-locale : en
- name : commit and push all changed files
env :
CI_COMMIT_MESSAGE : Localize new strings
CI_COMMIT_AUTHOR : CI
run : |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "[email protected]"
git commit -a -m "${{ env.CI_COMMIT_MESSAGE }}"
git push