Closed qclmnt closed 6 years ago
This method uses local NSBundle
directly, by supporting NSLocalizedStringFromTableInBundle
do you mean having the plugin fallbacks to specific bundle if the plugin fails to load translations from OneSky?
We need it to force a language translation sometimes :
Like this :
NSString *forcedBundleString = bundleString;
NSBundle *bundle = [NSBundle bundleWithPath:[[NSBundle mainBundle] pathForResource:forcedBundleString ofType:@"lproj"]];
return NSLocalizedStringFromTableInBundle(([NSString stringWithFormat:@"******.%@",language]), nil, bundle, nil);
@bretdabaker We could do with this too. We use NSLocalizedStringFromTableInBundle
for accessing localized strings within our internal pods.
Hi do you guys planned to support
NSLocalizedStringFromTableInBundle
?