Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327364

Summary: BIRT parameter dialog captions translated for server locale
Product: z_Archived Reporter: Uhlersoth 872325412 <uhlersoth>
Component: BIRTAssignee: Birt-ReportViewer <Birt-ReportViewer-inbox>
Status: RESOLVED INVALID QA Contact: Xiaodan Wang <xwang>
Severity: normal    
Priority: P3 CC: bluesoldier
Version: 2.2.1   
Target Milestone: 3.7.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Uhlersoth 872325412 CLA 2010-10-08 15:40:00 EDT
1) Setup the BIRT runtime on a server whose locale is non-English.

2) From a system whose locale is English, launch a report from the non-English server. This report should have required parameters, and the captions for these parameters should properly be contained in a .properties resource file server-side.

3) When the parameters dialog appears, the captions will be displayed in the server (non-English) locale, rather than the client (English) locale.
Comment 1 Xiaoying Gu CLA 2010-10-13 04:37:02 EDT
I think it's the common behavior to load the client's locale.
If you'd like all the clients to show the server side captions, you can add property files for different clients locale to the resource folder.
Comment 2 Uhlersoth 872325412 CLA 2010-10-13 07:49:31 EDT
(In reply to comment #1)
> I think it's the common behavior to load the client's locale.
> If you'd like all the clients to show the server side captions, you can add
> property files for different clients locale to the resource folder.

To clarify, this goes either way --- if the server is English, and the client is non-English, the parameter captions are being displayed in English. The .properties resource files already exist in the resource folder.
Comment 3 Uhlersoth 872325412 CLA 2010-10-13 08:51:27 EDT
(In reply to comment #2)
> (In reply to comment #1)
> > I think it's the common behavior to load the client's locale.
> > If you'd like all the clients to show the server side captions, you can add
> > property files for different clients locale to the resource folder.
> 
> To clarify, this goes either way --- if the server is English, and the client
> is non-English, the parameter captions are being displayed in English. The
> .properties resource files already exist in the resource folder.

Also, the report itself displays in the proper language. It is just the parameters dialog which does not.