The correct way to remove ONE localization

Seeing how the localization of sv_SE does not affect the iPhone simulator, but sv does (with the same language settings as in Swedish (AND), now I would like to remove the localization of sv_SE so that everything is in order.

What is the right way to do this?

Do I need to delete all localizations and repeat the translation work for XIB, since there is no other way to do this in the information window?

Mark localization of resources and delete? Delete the folder /.lproj? What is right?

+4
source share
1 answer

Xcode 3.2 : extension of the localized file subtree in the left pane (files and groups). Then remove the unnecessary localization. You might want to click the "Also move to cart" button.

Xcode 4 : select the file, show utilities box (on the right), select the "show file inspector" button. There is a section with localizations. Select unwanted, press the minus (-) button. Confirm. Or do it the way you did in Xcode 3.2 by removing the localization from the project navigator. It is up to you.

Xcode 5 : works like Xcode 4.

If you delete all localizations (for example, by mistake), you can add lproj folders to the project. You do not need to do one after another localized again.

Tip. Better do your work, experiment if your changes will not work on the previous version and try again.

+12
source

Source: https://habr.com/ru/post/1346710/


All Articles