Bug 32929

Summary: ERM - 'Submit' button untranslatable
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: I18N/L10NAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: f.demians, jonathan.druart
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Crowdfunding committed: 0
Crowdfunding contact: Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Caroline Cyr La Rose 2023-02-09 15:27:40 UTC
Hopefully, this is a "me" problem, but for some reason, I can't get the "Submit" button in the ERM module to translate.

To get to the button:
1. Enable the ERMModule system preference
2. Go to E-resource management
3. Click "Agreements"
4. Click "New agreement"
   --> "Submit" button is at the bottom of the form

I found this string in the xx-XX-messages-js.po file (example in fr-CA, but I also tried in es-ES and de-DE)

#: koha-tmpl/intranet-tmpl/prog/js/vue/dist/main.js:2
msgid "Submit"
msgstr "Valider"

I did 

./translate install xx-XX

but the button stays in English
Comment 1 Jonathan Druart 2023-05-11 13:25:52 UTC
messages-js is generated using:
  gulp po:update --lang fr-CA