0

I have to research, if a normally Java-Project have the privilege to use a String.xml like a Android-Project, for store all the String variables. I haven't found anything on internet. When I search for String ressources, I get information only for Android.

I think it makes easier to translate the String-Values in each other languages.

When it is not possible: is there any other way to define Strings in Eclipse, to translate it easy? I wouldn't like use hardcoded strings. (Sorry for my english!)

2
  • 1
    you can use property files. Commented Sep 6, 2017 at 13:14
  • @mustafacil thank you now I can keep going on Commented Sep 6, 2017 at 13:25

1 Answer 1

1

Instead of xml file, you can use properties files: Look here

Sign up to request clarification or add additional context in comments.

1 Comment

thank you! I have found this for internalization with property-files : docs.oracle.com/javase/tutorial/i18n/intro/steps.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.