What does “WARNING: Input Manager could not load static dictionary for: nl_NL” mean?

I worked on the Dutch localization of the xib file. When I run my application in the simulator, I get the following message in the log console:

WARNING: the input manager could not load the static dictionary for: nl_NL

I tried to use the reset simulator, I deleted the application, I deleted the localization material and added it again, I cleaned my project, but nothing works. I keep getting this warning.

My questions are: - Can I ignore him? - how can I get rid of this warning?

I searched the Internet but cannot find an answer.

+3
source share
3 answers

, . .

:

SDK ? , Xcode ? - ?

+2

, (es_ES), , ( , ).

. xib, , :

- (NSString *)language {    
    NSSet *supported_languages = [NSSet setWithObjects: @"en", @"es", @"ja",
                                @"zh-Hans", nil];
    NSUserDefaults *defs = [NSUserDefaults standardUserDefaults];
    NSArray *languages = [defs objectForKey:@"AppleLanguages"];
    NSString *primary_language = [languages objectAtIndex:0];
    if ([supported_languages containsObject:primary_language]) { 
        return primary_language;
    }
    return @"en";
}

.

, , .

+2

4.2 SDK. . - .

, , : , didFinishLaunchingWithOptions AppDelegate.m:

AboutViewController * controller = [[AboutViewController alloc] initWithNibName: @ "AboutViewController" bundle: nil]; [self.window addSubview: controller.view];
[self.window makeKeyAndVisible];

, . AboutViewController . , (i) , . , AppDelegate.

0

Source: https://habr.com/ru/post/1787913/


All Articles