am doing correctly? want include spanish translations in ios app i'm getting compile error. want check if i'm doing right or not.
how reproduce problem:
- in ios project, create folder called "resources".
- inside of resources folder, create folder called "es.lproj".
- inside of es.lproj folder, add file named "localizable.strings".
- in file add:
"connection" = "conexión";
- build , error: /library/frameworks/mono.framework/external/xbuild/xamarin/ios/xamarin.ios.common.targets: error: tool exited code: 1. output: resources/es.lproj/localizable.strings: property list error: unexpected character " @ line 1 / json error: json text did not start array or object , option allow fragments not set.
- replace accented "o" regular "o" , build again. no errors.
versions
xamarin: 5.10.1
xamarin.ios: 9.4.0.0
does happen else?
mgchristopher correct. somehow localizable.strings had wrong encoding.
the solution delete file , recreate it. once pasted in original content built , ran fine.
Comments
Post a Comment