I work with multi language app, i want to change language manually in profile user.
I already have Localization.string
And if i change device language, langu
in my recent app I used this localize , its simple and with out closing app we can switch the app based on the language .
add the localize.swift file to your project and finally call the following func where you need
if let pre = Bundle.main.preferredLocalizations.first, !pre.isEmpty {
if pre == Language.english.rawValue{
Language.language = Language.arabic
}else{
Language.language = Language.english
}
}