AlertController: Word splits into 2 words on new line


I’m showing some message in AlertController. Issue is when there is new line in message, last word is splits into 2 words.

See below image for reference:

Issue: ‘version’ word is splits to ‘versi’ & ‘on’(goes to new line).
Expected behavior: if whole word ‘version’ can’t fit into same line, it should display in new line as whole word ‘version’.


I tried creating new project and realized that using Ionic Translation cause the issue.

I tried to look html element so i found 2 cases:

  1. Without using translation

  2. With translation

How can i solve this now?