More localization
More localization
- Subject: More localization
- From: Jens Bauer <email@hidden>
- Date: Tue, 11 Dec 2001 19:56:30 +0100
Hi all,
I've tried localizing my application, but I don't think I had any luck
this time.
I basically did this:
1: Create a cocoa application
2: Create a "Localizable.strings" in the "Resources" group containing one
English and one Danish file:
/* in the file "./Danish.lproj/Localizable.strings" I have: */
/* Danish: */
"Edit" = "Rediger"
"Undo" = "Fortryd"
"Redo" = "Genskab"
"Cut" = "Klip"
"Copy" = "Kopier"
"Paste" = "Lim Ind"
"Clear" = "Slet"
"Select All" = "Vflg Alt"
"Spelling" = "Stavekontrol"
"String1" = "Fxrste besked"
"String2" = "Anden besked"
"String3" = "Tredje besked"
/* in the file "./English.lproj/Localizable.strings" I have: */
/* English: */
"Edit" = "Edit"
"Undo" = "Undo"
"Redo" = "Redo"
"Cut" = "Cut"
"Copy" = "Copy"
"Paste" = "Paste"
"Clear" = "Clear"
"Select All" = "Select All"
"Spelling" = "Spelling"
"String1" = "First message"
"String2" = "Second message"
"String3" = "Third message"
I mark "Localizable.strings" to be included in the build.
Now, I build the project. I now expect the "Edit" menu to show up in
danish, if I change my preferred language list to include Danish at the
top, but it still shows up in english..
I also tried adding a duplicate file called "Dansk" which means "Danish"
in danish, that did not help.
Did I miss something, or do I need to do some further work ?
Love,
Jens