Skip navigation
ralf.bokelberg
Currently Being Moderated

Check if a property that is used in getString is defined in a properties file?

Apr 11, 2011 3:29 AM

Hi guys

 

I hope you are doing well.

 

I'm currently working on a project that uses localization via properties files. It would be nice if we could check, that a property that i'm using in my code exists in a properties file. Of course there are many possibilities to implement localization, therefore we cannot have one rule to cover everything. But maybe a rule that covers the most basic usage of resourceManager.getString("bundleName", "propertyName") can serve as a starting point for people to implement their own rules.

 

Best,

Ralf.

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points