"Attribute not set" error message not translated in Spanish or French, it server locale is English
![](http://jazz.net/_images/myphoto/74cc5f0c959f8de0b1ece956a341150e.jpg)
I am using RTC 4.0 GA and found that "Attribute not set" error message is not translated in Spanish or French, it server locale is English.
steps I used:
- Install Spanish and French language on a RTC 4.0 server with an English locale
- Change browser locale to Spanish or French or system locale
- Create a Spanish or French PA from a Spanish or French template
- Create a WI in the PA, without one of the required attributes
--> I get the untranslated "Attribute not set" error message
whereas I would expect the translated message.
is this a defect ?
steps I used:
- Install Spanish and French language on a RTC 4.0 server with an English locale
- Change browser locale to Spanish or French or system locale
- Create a Spanish or French PA from a Spanish or French template
- Create a WI in the PA, without one of the required attributes
--> I get the untranslated "Attribute not set" error message
whereas I would expect the translated message.
is this a defect ?
One answer
![](http://jazz.net/_images/myphoto/74cc5f0c959f8de0b1ece956a341150e.jpg)
no - this is working as designed.
Upon saving the work item, the server side validation regarding mandatory attributes will kick-in.
If the server is started with default options, it will pick-up the system locales as default (here, English).
In order to overcome this, start the server with the expected locale option.
example for French and Tomcat:
Upon saving the work item, the server side validation regarding mandatory attributes will kick-in.
If the server is started with default options, it will pick-up the system locales as default (here, English).
In order to overcome this, start the server with the expected locale option.
example for French and Tomcat:
- edit server.startup.bat and go to the bottom of this file
- locate this line: set JAVA_OPTS=%JAVA_OPTS% -Dlog4j.configuration=file:///%PATH_URL%conf/startup_log4j.properties
- add this lines after the above one: set JAVA_OPTS=%JAVA_OPTS% -Duser.language=fr
- save your changes
-
restart your server