Try this method..
First you declare language bundle globally like as below
var languageBundle:Bundle?
then you set path for your language ,
if let path = Bundle.main.path(forResource: "Fr", ofType: "lproj") {
languageBundle = Bundle(path: path)
} else {
languageBundle = Bundle(path: Bundle.main.path(forResource: "Base", ofType: "lproj")!)
}
then you assign the key name to your label
labelTerms.text = ((languageBundle?.localizedString(forKey: "labelAcceptTerms", value: "", table: nil) as String!))
Thats all!!
Before you proceed please confirm you followed below steps for creating localized string file
Select project —> Select Use base Internationalization — > add language —> Goto storyboard and add select the checkbox (New languages added) — > add a string file localized.string —> add list of strings in that --> Use the key name .localizedString(forKey:"addyourkeyname"