iOS: Localise multi-line string literals
Both keys and values in the Localizable.strings
file can be multi-line.
With
"Hi, I would like to share the following feedback: " = "Hallo, ich möchte folgendes Feedback geben: ";
the call
let localizedMessage = NSLocalizedString("""
Hi,
I would like to share the following feedback:
""", comment: "")
expands as intended.
This might however not work with localization tools, and also does not display with the correct syntax coloring in the Localizable.strings, which might be confusing.
I would use a short (single-line) key instead, and localize that for all languages (including the default language english).