From what I've seen, strings are not getting translated in pure React pages coming from plugins. Translations work as long they are being done on the backend, but if they are done on the frontend, they end up not translated.
When updated translations are pulled in Foreman, a po_to_json
rake task is called which converts the *.po
files into javascript files under app/assets/javascripts/locale/$lang/app.js
. These files usually look like this
var locales = locales || {}
locales['it'] = {
"domain": "app",
"locale_data": {
"Failed to fetch: ": ["Recupero fallito:"],