Issue 71514 - Localisation support for Toolkit
Summary: Localisation support for Toolkit
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 2.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.2
Assignee: berend.cornelius
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-14 09:39 UTC by ab
Modified: 2007-02-05 13:34 UTC (History)
1 user (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ab 2006-11-14 09:39:40 UTC
The awt toolkit should be extended to support localized strings in
dialog and control properties. To achieve this it must be possible
to assign a com.sun.star.resource.XStringResourceResolver interface
to the dialog model, e.g. by creating a corresponding property. 

This interface and and also a corresponding service "com.sun.star.
resource.StringResource" additionaly supporting com.sun.star.re-
source.XStringResourceManager (to create and manipulate a string 
resource for testing purpose) are already available in the ab31/
m193 build.

When a dialog or control string property contains a XUL like es-
cape code like "&ID;" XStringResourceResolver.resolveString(ID)
has to be used to get the string to be displayed instead. The
string property's value must not be changed in the dialog/con-
trol model, the localised string has only to be displayed.

The ID can - but not needs to - be a hierarchical name like 
"foo.nothing.invalid".
Comment 1 carsten.driesner 2006-11-14 14:09:56 UTC
cd: Started.
Comment 2 carsten.driesner 2006-12-08 14:26:49 UTC
cd: Support for single properties done. We have to look if we are able to
support string lists for other properties.
Comment 3 ab 2006-12-18 10:48:24 UTC
Specification:
http://specs.openoffice.org/appwide/dialog_ide/GUI_Translation_in_Dialog_IDE.odt

This issue has been created to separate parts of the implementation work in a
reasonable way. Testing should be done in the scope of the complete feature
covered by the parent issue 71400. Set to FIXED.
Comment 4 ab 2006-12-18 11:13:00 UTC
ab->tbo: Please verify after testing parent issue 71400.
Comment 5 b.osi.ooo 2006-12-20 09:50:18 UTC
please verify
Comment 6 berend.cornelius 2006-12-21 16:32:14 UTC
verified in cws ab31
Comment 7 Mathias_Bauer 2007-02-05 13:34:50 UTC
closing ancient issues