This discussion is archived
1 Reply Latest reply: Feb 12, 2011 9:06 AM by Kleopatra RSS

Keeping track of open localization resource files

834144 Newbie
Currently Being Moderated
Hi,

Does Java keep track of which localization resource files it is currently using?

Within a Java GUI app, is it possible to know which localized resource files (my app has thousands) the application - or more specifically the current screen - has opened?

I'd like to be able to know which resource files a particular screen is calling - this would help my linguistic testing / bug fixing.

I suspect there's no easy answer here, but here's hoping ...

Thank you.
  • 1. Re: Keeping track of open localization resource files
    Kleopatra Journeyer
    Currently Being Moderated
    JavaAmateur wrote:
    Hi,

    Does Java keep track of which localization resource files it is currently using?

    Within a Java GUI app, is it possible to know which localized resource files (my app has thousands) the application - or more specifically the current screen - has opened?
    Hmm ... what do you mean by "has opened"? Typically, an application adds the resources to the UIManager. Then there's no way (afaik) to track which value is found in which bundle.

    Don't understand why you want that anyway - how could this knowledge help in debugging/fixing ... what?

    Cheers
    Jeanette

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points