XWIKI-9885: Add method to translate log in logging script service