Change Translation for a button

Hi some of our powerusers want to change the name of a button in the german version of indico.
Would the correct way be to change the entry here:
/translations/de_DE/LC_MESSAGES/messages-all.po
If yes would this change be persistent or would we need to change it back after every indico update?
If it’s not persistent would there be a different way to make it persistent other than to contribute to the german translation?

The translation as it is now is correct so a change probably wouldn’t be approved anyway.

Editing the file and then running indico i18n compile indico --python --locale de_DE is correct.
You will need to do it after every update.

Also note that if it’s a string in a JSX component this won’t work, because compiling those requires a JS dependency which is not available on a prod setup. In that case you’d need to build your own Indico wheel after making the change.