We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get the default from Language resource database: https://github.com/gnustep/libs-base/blob/master/Resources/Languages
Edit principal constants: https://github.com/gnustep/libs-base/blob/master/Headers/Foundation/NSUserDefaults.h
baseBundle = [NSBundle bundleForClass:[NSObject class]]; NSLog(@"base bundle: %@", baseBundle); langPath = [[baseBundle bundlePath] stringByAppendingPathComponent:@"Languages"]; NSLog(@"langpath %@", langPath); langArray = [NSMutableArray arrayWithArray:[fm directoryContentsAtPath:langPath]]; NSLog(@"lang array: %@", langArray); [langArray removeObject:@"Locale.aliases"]; [langArray removeObject:@"Locale.canonical"]; [langArray removeObject:@"Locale.encodings"]; NSLog(@"lang array: %@", langArray); langDictDB = [NSDictionary dictionaryWithContentsOfFile:[langPath stringByAppendingPathComponent:[langArray objectAtIndex:0]]]; NSLog(@"langDb: %@", langDictDB);
The text was updated successfully, but these errors were encountered:
rmottola
No branches or pull requests
Get the default from Language resource database:
https://github.com/gnustep/libs-base/blob/master/Resources/Languages
Edit principal constants:
https://github.com/gnustep/libs-base/blob/master/Headers/Foundation/NSUserDefaults.h
The text was updated successfully, but these errors were encountered: