I'm trying to localize Main.storyboard
, localization doesn't work.
I have files:
Main.storyboard
|--Main.storyboard (Base)
|--Main.strings (Russian)
|--Main.strings (English)
In russian .strings
file I wrote something like
/* Class = "NSButtonCell"; title = "rus-example"; ObjectID = "0XB-XT-cHW"; */
"0XB-XT-cHW.title" = "rus-example";
In Main.strings (English)
(for the same button):
/* Class = "NSButtonCell"; title = "en-example"; ObjectID = "0XB-XT-cHW"; */
"0XB-XT-cHW.title" = "en-example";
When I run the app on English OS, I get the same result, when on Russian.
I turned on "Show non-localized strings"
feature in Xcode, it shows all strings as non-localized.
How can I enable localization?