So, this issue is easily solved by fixing the original translation by replacing ' n' with '\n'. Instead of calling replace or replaceAll method in the speed code because you will end up with a simple 'n' character. You can see that some languages translated by the community contain a single '\n' character and the JS popup will display two lines of text.
Nikita Petrenko on 14/Aug/25 12:08
So, this issue is easily solved by fixing the original translation by replacing '\\n' with '\n'. Instead of calling replace or replaceAll method in the speed code because you will end up with a simple 'n' character. You can see that some [languages|https://github.com/search?q=repo%3Axwiki%2Fxwiki-platform+platform.wiki.admin.wiki.ownerProblemConfirmation&type=code] translated by the community contain a single '\n' character and the JS popup will display two lines of text.
Nikita Petrenko on 14/Aug/25 12:09
So, this issue is easily solved by fixing the original translation by replacing ' {noformat} \\n'{noformat}
with ' {noformat} \n'{noformat} . Instead of calling replace or replaceAll method in the speed code because you will end up with a simple 'n' character. You can see that some [languages|https://github.com/search?q=repo%3Axwiki%2Fxwiki-platform+platform.wiki.admin.wiki.ownerProblemConfirmation&type=code] correctly translated by the community contain a single '\n' character and the JS popup will display two lines of text.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.