https://github.com/frappe/translator
Translation Portal for Frappe
https://github.com/frappe/translator
Last synced: about 2 months ago
JSON representation
Translation Portal for Frappe
- Host: GitHub
- URL: https://github.com/frappe/translator
- Owner: frappe
- License: other
- Created: 2014-08-22T11:29:06.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2022-03-04T13:38:24.000Z (over 3 years ago)
- Last Synced: 2025-03-28T03:32:30.556Z (2 months ago)
- Language: Python
- Size: 205 KB
- Stars: 30
- Watchers: 26
- Forks: 54
- Open Issues: 75
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# Translator
Translation Portal for Frappe Apps
### To add a new language
1. Add a new **Language** via desk
2. `bench use translate.erpnext.com`
3. `bench translate-untranslated [language_code]`
4. Export new languages.json `bench execute frappe.core.doctype.language.language.export_languages_json` and commit it to the repo> Use the Wikipedia page [List of ISO 639-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) to look for the language code
### Update latest translations from apps
bench import-source-messages
### Update missing translations
bench translate-untranslated-all
### Copy translations from one language to another
bench copy-language [from] [to]
### Export
**On Remote:**
bench --site translate.erpnext.com execute "translator.data.write_csv_for_all_languages"
**On local bench:**
bench download-translations