Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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 ?

0 votes



One answer

Permanent link
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/startup_log4j.properties
  • add this lines after the above one: set JAVA_OPTS=%JAVA_OPTS% -Duser.language=fr
  • save your changes
  • restart your server

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 29 '13, 3:16 a.m.

Question was seen: 4,931 times

Last updated: Jan 29 '13, 3:21 a.m.

Confirmation Cancel Confirm