-
Notifications
You must be signed in to change notification settings - Fork 457
Localization
George Dawoud edited this page Nov 17, 2017
·
11 revisions
ChurchCRM Supports Localization is 20+ languages.
- French
- Portuguese
- Spanish
- Albanian
- Arabic
- Central Khmer
- Chinese (simplified)
- Chinese (traditional)
- Dutch
- English (AU)
- English (CA)
- German
- Hungarian
- Italian
- Norwegian
- Polish
- Romanian
- Russian
- Spanish
- Swedish
- Thai
- Vietnamese
For PHP server-side code, ChurchCRM uses gettext: GNU gettext Manual
For JavaScript client-side code, ChurchCRM uses i18next: https://www.i18next.com/
- ssh into vagrant box
- cd /vagrant
- Run
npm run locale-gen
- Review changes in /vagrant/src/locale/messages.po
- Commit messages.po
- Create a Pull Request for changes
- Upload to POEditor.com
- Tag the terms with the release version
- got to poeditor.com
- update locale values for terms
- download po and mo file to your locale server for testing
- Go to POEditor.com and generate an API Key
- Add the API Key to Build BuildConfig.json
- In CLI of your dev (local/remote) system run
npm run locale-download
- Review Changes
- Send a message to the team to download and create a locale-only-build or wait for the next release.