String(localized:locale) ignores locale parameter

I'm trying to load a localized string with a specific Locale, for example:

String(localized: "someKey", locale: Locale(identifier: "fr"))

However the locale I pass in is being ignored, no matter what I set it to the string returns a value using the Locale.current value not the parameter I pass in.

Am I doing something wrong, is there some way to specify a certain locale?

I believe you have to create localizable.strings resource file in FR locale. The String.init and runtime do not do the magic translation work.

String(localized:locale) ignores locale parameter
 
 
Q