ios - iPhone - Localizable.strings - string with single quotes inside -



ios - iPhone - Localizable.strings - string with single quotes inside -

i need add together french translation ios application. don know how utilize single qute char in localizable.strings file. illustration text :

"invalid username or password."="nom d'utilisateur ou mot de passe incorrect.";

causes error. i've tried adding backslashes, havn't worked well.

did seek escaping backslash?

"\'"

as lastly resort utilize direct u codes:

you can include arbitrary unicode characters in value string specifying \u followed 4 hexadecimal digits. 4 digits denote entry desired unicode character; example, space character represented hexadecimal 20 , \u0020 when specified unicode character. alternative useful if string must include unicode characters reason cannot typed. if utilize option, must pass -u alternative genstrings in order hexadecimal digits interpreted correctly in resulting strings file. genstrings tool assumes strings low-ascii default , interprets backslash sequences if -u alternative specified.

the apostrophe should \u0027

ios iphone nslocalizedstring

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -