XWIKI-8673: On demand translation does not seems to work
(cherry picked from commit 033b9b0634df3abe752c666a90550276cc51e31c)