Search code examples
iosxcodelocalizationios17

How to remove unused languages from Localizable.xcstrings


I created the file and added a language that I don't want to translate in my app, how can I delete the language and keep only the others that I want?

unused

In the image, for example, I wanted to keep only English and Portuguese, and delete Danish and Swedish.

PS1: I cannot remove by pressing delete on keyboard

PS2: There are no references to the language in source of the file, only the default language (English) and the translation in this case (Portuguese)

source

How the delete the unused languages?


Solution

  • It depends on Known Regions in your project settings. You should remove there.

    enter image description here