Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Danish localization broken in iOS 8?

I've seen other threads about the simulator, but I'm experiencing a 90% break which is nothing short of miraculous.

Our app is localized in 5 languages. All of them work perfectly, except Danish.

Only certain words are translated, even though all of them use the shortcut "NSLocalizedString". Also, the BarButtonSystemItem "Back" and "Cancel" both work.

The symptoms are exactly the same in the simulator, device, iOS 7 & 8. I've also tried both "Danish" (da) and "Danish (Denmark)" (da-DK) in different combinations.

Is anybody else experiencing weird localization issues like this?

like image 666
swebal Avatar asked Nov 26 '25 17:11

swebal


1 Answers

I knew it would be a stupid bug, but this one takes the prize.

In the danish Localizable.strings file, an EMPTY ROW had a SPACE CHARACTER in it.

I'm not kidding.

This made the app find all the translations up to the space character, then nothing after it... OMG what a stupid parsing error bug from Apple.

File a bug anyone? facepalm

like image 187
swebal Avatar answered Nov 29 '25 06:11

swebal



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!