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.
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.
2 answers
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