In my application, I translated everything. This also includes my dialogues. Since yesterday, everything worked fine. Today I added a line for a new dialogue. When I run my application, it provides me with incorrect lines, which are very strange.
For example, I call String x and y, and it shows me String w and z. Not only in my new dialogue, but also in my existing dialogs! As for the tables, it's all right. Did I do something wrong?
In my String.xml file, I declared a lot of lines, here is an example of one that it mixes.
<string name="EvenGeduld">Even geduld...</string> <string name="TweetProgress">De Tweets worden ingeladen</string> <string name="Voornaam">Voornaam</string> <string name="Geboortedatum">Geboortedatum</string>
This is my code for my dialog (it is installed in the AsyncTask class, the dialog is declared on top of my class, initialized in onCreate ()):
dialog.setTitle(R.string.EvenGeduld); Resources res = getResources(); String test = (res.getString(R.string.TweetProgress)); dialog.setMessage(test); dialog.show();
source share