String not automatically displaying in String Catalog

Hi there, im trying to implement my app localization for the first time using the String Catalog! But when trying to create a label, the text inside it is not automatically added to the Catalog! Does anyone have an idea on how to fix this?

struct MainTabView: View {
    var body: some View {
        TabView {
            
            HomeView()
                .tabItem {
                    Label(String(localized: "home tab bar", defaultValue: "Home", comment: "Title for the home view"), systemImage: "house")
                }
            
        }
    }
}