I never paid attention to this, but I had to remove one language from a project.. And I really can’t find how? 🙂
So, just cause of a full example. Simple setup:
import SwiftUI
extension String {
var localized: String {
return NSLocalizedString(self, comment: "(self)_comment")
}
}
struct ContentView: View {
var body: some View {
VStack {
Image(systemName: "globe")
.imageScale(.large)
.foregroundStyle(.tint)
Text("hello-word".localized)
}
.padding()
}
}
and in project settings:
and lets say I want to remove one of the languages? How I do that?
I really tried few things, but seems like there is no way (or at least normal way) to remove a language (removing language in Project Info doesn’t really remove the translation and the language itself from catalogue file).