...
- XSS safety has been documented in Preventing XSS in React.
- i18n-tools validation also supports:
- Ensuring interpolation variables in default and translated strings match (i.e. same number of variables, same names).
- what it covers
- react-intl-translations-manager finds missing translations, etc.
translation: jobs run weekly on Jenkins
PR has merged: https://github.com/edx/edx-internal/pull/734 and this ticket to reseed the jobs:
Jira Legacy server System JIRA columns key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution serverId 13fd1930-5608-3aac-a5dd-21b934d3a4b4 key DEVOPS-8285 - jobs are at https://tools-edx-jenkins.edx.org/job/translations/ - must be on VPN
some of these jobs have been failing for months
- to prepare your repo for pulling message files from Transifes, in your repo you must pip install transifex-client and then run tx init, then commit those two filesadd a .tx/config file-- can copy from Profile
- Transifex project is at https://www.transifex.com/open-edx/edx-platform/
- notes
...
- put your translated messages file at src/i18n/messages/es.json (or whatever locale)
- update src/i18n/i18n-loader.js to load your new locale and your new messages file
react-intl and gender agreement
PL translation:
Male:
Female:
Other:
Incorporating i18n dependencies
...