Duplicate localized resource files

I have an application designed for localization in 5 languages ​​through the files Localizable.strings. When I look at Project> Info: Localizations information, I see duplicates of some languages ​​(English, French, German) and unintended language (Japanese).

enter image description here

My resources in Xcode are also displayed. But if I look at the Resources directory in Finder, they look exactly as I expected.

enter image description hereenter image description here

I tried:

  • Delete one of the duplicate files using the button - both lines disappear and the resource disappears from my resource tree in Xcode and in my resource directory in Finder.
  • Product> Empty Build Folder
  • View subversion file structure in versions

I would be grateful for any suggestions and explanations. I am using Xcode 6.1.1 on Mavericks. Thanks.

+7
xcode internationalization localization
source share
1 answer

I was working on the same problem, and this was fixed by manually editing the project.pbxproj file inside the project file .xcodeproj Xcode file container.

Before:

 ... knownRegions = ( English, German, en, de, Base, ); ... 

After:

 ... knownRegions = ( en, de, Base, ); ... 
+11
source share

All Articles