H
hilz
Hi all
I have couple of files:
file_en.txt
file_fr.txt
file_es.txt
file_de.txt
they contain the same simple text in their corresponding languages.
and i want to be able to load these files according to the locale.
I know that:
ResourceBundle.getBundle("file", Locale Locale)
should be used if those files were ".properties" files and contained
key=value pairs. But my files contain just simple text. Is there an
equivalent way of getting the text from those files in a single call similar
to ResourceBundle.getBundle(String baseName, Locale locale)
thanks
hilz
I have couple of files:
file_en.txt
file_fr.txt
file_es.txt
file_de.txt
they contain the same simple text in their corresponding languages.
and i want to be able to load these files according to the locale.
I know that:
ResourceBundle.getBundle("file", Locale Locale)
should be used if those files were ".properties" files and contained
key=value pairs. But my files contain just simple text. Is there an
equivalent way of getting the text from those files in a single call similar
to ResourceBundle.getBundle(String baseName, Locale locale)
thanks
hilz