Hmmm, I'm not so clever as I thought I was. Struggling all day with a few lines of code.
char latChar = (actLat > 0) ? 'N' : 'S';
NSString *latString = [NSString stringWithFormat:@"%c" , latChar];
NSString *latStringLocal = [NSString stringWithFormat:NSLocalizedString(@"%c",nil), latString];
In the first line: wich character is the correct one. Latitude > 0 degrees it's N, < 0 it is a S. This works. In the second line I'm converting the char to a string. Works OK too. In the third line all of it went wrong. When running the app all kind of symbol and normal characters are shown. Every second a new one. That last part is understandable because the locationmanager is constant updating.
But why those characters? What am I doiing wrong here? See both localizable.strings files
en.lproj
"N" = "N";
"S" = "S";
"W" = "W";
"E" = "E";
nl.proj
"N" = "N";
"S" = "Z";
"W" = "W";
"E" = "O";
The app displayname works fine so the .strings file is found en "read". Please advice. Thank you in advance.