0 Replies Latest reply on Apr 11, 2011 3:29 AM by ralf.bokelberg

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

    ralf.bokelberg Level 1

      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.