title: iOS - How to change app language in storyboard strings without programmatically?
body: <p>I am developing an app in which an user can change language at any time. I have done this in a demo app. It is working fine. But there is an issue with it, that is for localisation app I have to do following 2 tasks.</p>
  
  <p><strong>Step 1:</strong> I have to create IB outlet for every object (i.e in every class ==> buttons, labels, textFields, TextViews). </p>
  
  <p><strong>Step 2 :</strong> I have to set language for every objects for example : <code>[myButton setTitle:[Language get:@"Language Test" alter:nil] forState:UIControlStateNormal];</code> 
   OR  <code>myLabel.text=LocalizedString(@"Forgot Passoword");</code></p>
  
  <p>I have a project which has many screens, around 60 screens (in storyboard). Unfortunately in this project there is no IB outlet for all objects. Strings are set in via storyboard. Now I have to make support this app in another language  also (current language english )name Arabic language.</p>
  
  <blockquote>
    <p>Conclusion : If I do above 2 steps (create IB outlet for every objects
    , then write code in .m file for every object). It will take very much
    time. Is there any other better options please ? I want do not want
    create IB outlet and coding in .m file. Any suggestion will be great!!</p>
  </blockquote>
  
  <p>What I have done till now :</p>
  
  <p>Follow these tuttorials :</p>
  
  <p>(1).  <a href="https://stackoverflow.com/questions/1669645/how-to-force-nslocalizedstring-to-use-a-specific-language">How to force NSLocalizedString to use a specific language</a>  </p>
  
  <p>and sample projects :</p>
  
  <p>(1). <a href="https://github.com/tonisalae/TSLanguageManager" rel="nofollow noreferrer">https://github.com/tonisalae/TSLanguageManager</a> </p>
  
  <p>(2). <a href="https://github.com/object2dot0/Advance-Localization-in-ios-apps" rel="nofollow noreferrer">https://github.com/object2dot0/Advance-Localization-in-ios-apps</a></p>
  
  <p>My code :</p>
  
  <p>example calls:</p>
  
  <p><code>[Language setLanguage:@"it"];</code>  </p>
  
  <p>OR</p>
  
  <pre><code>[Language setLanguage:@"de"];
  
  
  +(void)initialize {
          NSUserDefaults* defs = [NSUserDefaults standardUserDefaults];
          NSArray* languages = [defs objectForKey:@"AppleLanguages"];
          NSString *current = [languages objectAtIndex:0];
          [self setLanguage:current];
  
      }
  
          +(void)setLanguage:(NSString *)l {
          NSLog(@"\n\n\t ***** Hint Lang. selected by user: %@   ****\n\n", l);
          NSString *path = [[ NSBundle mainBundle ] pathForResource:l ofType:@"lproj" ];
          bundle = [NSBundle bundleWithPath:path];
      }
  
          +(NSString *)get:(NSString *)key alter:(NSString *)alternate {
          return [bundle localizedStringForKey:key value:alternate table:nil];
      }
  </code></pre>