on-internet
← Community

NSBundle "not yet loaded" for existing path

Stack Overflow ·

I'm trying to implement a way to change language inside the application. I think I have it all figured it out, but for some reason the folder is not laded as a bundle I have a folder called kh.lproj NSString *path = [[NSBundle mainBundle] pathForResource:newLanguage ofType:@"lproj"]; if ([[NSFileManager defaultManager] fileExistsAtPath:path]) { bundle = [NSBundle bundleWithPath:path]; DLOG(@"Language: %@ from path %@ (%@)", newLanguage, path, bundle); } The output of my dlog is Language: kh from path ......../F1AA1E74-A014-4331-BD1B-D05D0E54AFF3/console.app/kh.lproj (NSBundle <......./F1AA1E74

Comments

Sign in or sign up to comment and upvote.

No comments yet.