Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can not localize my XCode Project ? Says Project has not been localized

I am currently trying to localize my Project but it doesnt work. I simply want to add a new language to it but i can not choose any resource. If i try to localize a specific resource i got a message like "You have to localize your Project first"

I am stuck and i have no clue what to do ?

Any ideas ?

enter image description here

enter image description hereenter image description here

like image 966
Sebastian Boldt Avatar asked Dec 26 '22 04:12

Sebastian Boldt


1 Answers

The other solutions didn't work for me so I ended up solving this by editing the project.pbxproj file in textedit. Change knownRegions from an empty list to include en and Base:

        knownRegions = (
            en,
            Base,
        );

Now I can add languages and it doesn't complain that the project isn't localized.

I wasn't able to localize the project because none of the resources appeared in the list and I couldn't add resources to the list because the project wasn't localized. Catch 22. (this is with Xcode 6.2)

like image 168
progrmr Avatar answered May 24 '23 06:05

progrmr