XWIKI-8641: GLOBAL scope does not work for translations
(cherry picked from commit b299343bf435ed2ad2f7d8ca73963adefa29cb23)