title: Localizing UIWebView with stringWithContentsOfFile:encoding:error: in XCode 4?
body: <p>I'm trying to load up a localized html into an UIWebView. All resources I find on google are for the old XCode versions, using en.proj XX.proj Folders in the main Folder.</p>
  
  <p>For localizing my about.htm I go to the "Identity and Type">"Localization" window and add the localisations to about.htm. On the file system this creates the XX.proj Folders, but in XCode 4 it shows as </p>
  
  <pre><code>&gt; about.htm
    about.htm (English)
    about.htm (German)
  </code></pre>
  
  <p>I senn fill the about.htm (German) wiff se German html.</p>
  
  <p>I use one AboutViewController.xib, with one UIWebView and load up as follows:</p>
  
  <pre><code>NSString *path = [[NSBundle mainBundle] bundlePath];
  NSURL *baseURL = [NSURL fileURLWithPath:path];
  NSString* html = [NSString stringWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"about" ofType:@"htm"]
                                             encoding:NSUTF8StringEncoding
                                                error:nil];
  [aboutUIWebView loadHTMLString:html baseURL:baseURL];
  /*
  // this one doesn't show the css images
  NSString *indexPath = [[NSBundle mainBundle] pathForResource:@"about" 
                                                        ofType:@"htm" 
                                                   inDirectory:nil];
  [aboutUIWebView loadRequest:[NSURLRequest 
               requestWithURL:[NSURL fileURLWithPath:indexPath]]];
  */
  </code></pre>
  
  <p>This correctly shows the English, but never the German. Even though the rest of the app shows in German, the UIWebView refuses to show the German. A "Reset Content and Settings.." and clean run on the simulator does not help either.</p>
  
  <p>What am I missing? What can be done? 
  Thank you</p>