ios - Xamarin - Accent symbol in es.strings file preventing compiling? -


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:

  1. in ios project, create folder called "resources".
  2. inside of resources folder, create folder called "es.lproj".
  3. inside of es.lproj folder, add file named "localizable.strings".
  4. in file add: "connection" = "conexión";
  5. 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.
  6. 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