Re: eclipse android java xml strings
Originally Posted by aspidistra
If you think about it, it's actually a very good idea.
What happens if you want to release this app in another country which speaks a different language? If your Strings are hard coded in the Java classes, then you would have to change them all and rebuild your app specifically for each country.
By using an xml file with the Strings in, you can have a different xml for each language. You can now easily deploy your app in different languages without ever having to change the Java code.
- "Make me a coffee..."
- "sudo make me a coffee"