Don't add extra newlines to Android strings
Exporting an Android string file seems to add extra newline characters which end up splitting strings in weird places in the UI.

-
We didn't fix anything since we don't add newlines without a reason. We do export them if they are in the translation, of course. How did they get there... From the import or from some editing (tests?).
-
Jason Hanley commented
After a full re-import and replace, then re-export, the newlines appear to be right again, so perhaps this was already fixed.
-
Jason Hanley commented
Is it perhaps in the BitBucket import routine?
-
Jason Hanley commented
It's definitely reformatting the file. Seems like it's trying to keep it to a maximum of 100 characters.
We have an English strings.xml file checked into Bitbucket with some long strings. Example:
Original line:
<string name="dialog_install_progress_error_storage_description">"There is not enough free space to finish the installation. " </string>Reformatted lines:
<string name="dialog_install_progress_error_storage_description">"There is not enough free space
to finish the
installation.
"</string>These extra newlines show up in the user interface.
-
Hi,
On a first look, it seems that the translators preserved the new lines they found in the Default Reference Language.
It would be wrong not to export the new lines, no matter where are they placed.