Peter, Are you writing your service in Java or Minilang??
1) If you are writing the service in Java then you can use * org.ofbiz.base.util.UtilProperties* class and its methods to access the properties files. If you specifically want to get a map of all the properties in a field you can use *UtilProperties.getResourceBundleMap(String resource, Locale locale)* method which will return all the properties from the resource file in a Map. There are other useful methods as well which you can use according to your purpose. 2) If you are writing your service in minilang, than there are some special tags availble which adds, checks and return errors in a service which also uses localized strings from property files. The below structure can be used to return an error in a service containing a string from properties file: *<add-error> <fail-property resource=" " property=" "/> </add-error> <check-errors/> * There is another tag *<property-to-field>* which can be used to access any property from a property file in our service. If you want all the properties from a property file in a Map, than you can use *<call-class-method>* tag to call the static method that I suggested in first point above. On Wed, Mar 19, 2008 at 9:53 PM, Peter Felts <[EMAIL PROTECTED]> wrote: > Does anyone know if there is a way to access a uiLabelMap (the list of > local text strings, etc. associated with a language in an application > /Module/config/<your language here>.properties) from within a service that > only has access to the DispatchContext and the Map objects? > > What I am trying to do is return errors from a service containing > localized strings. Any ideas? > > > Thank you. > > > > > -- Thanks & Regards Mridul Pathak Hotwax Media http://www.hotwaxmedia.com [EMAIL PROTECTED] __________________________________ Office : 509.855.4113 Mobile : +919425926892