title: Switching to a language and reload the ViewController in IOS
body: <p>I am using the code below to switch to a language:</p>
  
  <pre><code>-(void) switchToLanguage:(NSString *)lang{
  [[NSUserDefaults standardUserDefaults] setObject:[NSArray arrayWithObjects:lang, nil] 
            forKey:@"AppleLanguages"];
  [[NSUserDefaults standardUserDefaults] synchronize];
  [sliderViewController refreshView];
  }
  </code></pre>
  
  <p>I am not sure if it is right. After that, in the refresh view function of sliderViewController:</p>
  
  <pre><code>-(void)refreshView{
  slideLabel.text = NSLocalizedString(@"To Menu", @"To Menu");
  slogan.text = NSLocalizedString(@"Categories", @"Categories");
  }
  </code></pre>
  
  <p>But it doesn't work. Where am I wrong?</p>