Open strings file from recource folder
<p>I have a language file downloaded from a web service located in my resources folder of the project. The file name is "no.properties" and I need to load the file into a string to make further use of it..</p>

<p>The content of my file is displayed like this: </p>

<p>CMD_EXIT = Avslutt</p>

<p>CMD_PAUSE = Pause</p>

<p>CMD_SCAN = Skann</p>

<p>ect.....</p>

<p>Here is my code of loading the file into a string:</p>

<pre><code>NSString* path = [[NSBundle mainBundle] pathForResource:[defaults objectForKey:@"language"]  
                                                 ofType:@"properties"];

NSString* content = [NSString stringWithContentsOfFile:path 
                                              encoding:NSUTF8StringEncoding 
                                                 error:NULL];
</code></pre>

<p>The problem is that the "content" string is null even though the file contains a lot of data. Anyone know what might be the problem? </p>

<p>note: I´ve checked that the value received from userdefaults equals "no". I have also tried to rename the file to "no.txt", but still the "content" string is null.</p>
