Swift, Swiftui, iOS Development, Ios Developer, Mobile Development.
a Bundle instance, we can use the resources in that Bundle as follows: Text("MAIN_APP", bundle: .i18n) .foregroundColor(Color("i18nColor", bundle: .i18n)) Therefore, creating a Bundle instance that can point to a specific directory in any state became the key to solving the problem. The reason for