I need to create an iPhone/Mac app that is in a non-English language only. What’s the right way to do this? The app’s name even has some non-English (unicode) characters in it. I can separate the problem into three specific questions:
-
How should I deal with the fact that my app’s name is, say, “Déclaration”? I know I should probably not name my project Déclaration.xcodeproj from the start (e.g. because that makes output from
giton the Terminal look painful). How should I set up my project? -
How should I deal with
NSStrings in my code? Should I just write things likeNSString *labelTitle = @"Bienvenue à la déclaration!";without any hesitation? I know that a more proper way would be to use localization techniques, but isn’t that too much pain, given that I only need the foreign language? It seems rather fishy having to make the whole app in English, even if I don’t need it. -
Are there any other things I should take into consideration, when writing a non-English only app?
Don’t worry about the Git output. Mac filenames have been Unicode for a very long time now. Git is using UTF-8 but it’s cautious about printing out non-ASCII characters so it escapes them. You can still do things like this:
You can turn the escaping off using the
core.quotepathsetting:Yes, you do not need to hesitate. You can always localize later, using strings in your native language as the starting point.
Yes, in the
Info.plistchange the “Localization native development region” to the language you are using instead of English.