It's all about the answers!

Ask a question

"Attribute not set" error message not translated in Spanish or French, it server locale is English

Eric Jodet (6.3k5111120) | asked Jan 29 '13, 3:16 a.m.
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 ?

One answer

permanent link
Eric Jodet (6.3k5111120) | answered Jan 29 '13, 3:21 a.m.
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:
  • 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/
  • add this lines after the above one: set JAVA_OPTS=%JAVA_OPTS% -Duser.language=fr
  • save your changes
  • restart your server

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.