Resource bundles are for internationalization and not applicable ot your situation (unless I misunderstand your question). In my project, I have a HelpDialog that shows HTML help. These help pages are kept in the .jar and shown in my help dialog. Does that help/make sense? brian
I must agree with you the html files are packed in to a jar archive but .. at run time all url's can be group in to a resource bundle(and access via). So my question was if is a good technique to use (access) URLs via resource bundle ?This can be aslo an internationalization case because the html documents are for more then one language. ThankX
You 're right.I reformulate I have some htlm files in 2(or more language) and I try to use(show) them in the same way ->from a resource bundle the I get the url using a key, the same key for all laguages.Using the locale & the resource bundle I show (ivariably) the right url.
Not sure if this will help you or not..... I have internationalized HTML help in my Java app (MACCC - see link below). What I did is no matter what language the user is running in, if they choose help, the first page they get is the one that they get to choose which language they want the help in - it is just an HTML page with links to each of the different language help files. It's similar to what you are doing. If you want to do it your way, you could prefix each HTML page with the 2 letter language string (like this: en_help.html, jp_help.html, etc.) then, when they choose help, you can figure out which page to show. brian