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

Obtain the locale used in the current process template

Is there an easy way to obtain the locale used in the process template, which is used in the project area?

Our code need to construct some messages on server and build machine, which might be using different language settings from the one used on client. I am thinking that using the locale used in the current process template as the default probably would be more appropriate than using the default locale used on the server or the build machine. Thanks.

0 votes



2 answers

Permanent link
Is there an easy way to obtain the locale used in the process template, which is used in the project area?

Our code need to construct some messages on server and build machine, which might be using different language settings from the one used on client. I am thinking that using the locale used in the current process template as the default probably would be more appropriate than using the default locale used on the server or the build machine. Thanks.


There is a server-side API that does what you're looking for. Instead of using the ClientMessages class, see com.ibm.team.process.service.ProcessAreaMessages.

- Jared

0 votes


Permanent link
Jared,

I will take a look at the code and see if I could do the similar things on build machine as well. Thanks a lot.

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
× 10,939

Question asked: Apr 08 '11, 10:58 a.m.

Question was seen: 4,106 times

Last updated: Apr 08 '11, 10:58 a.m.

Confirmation Cancel Confirm