internationalization support?

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

internationalization support?

Postby ihhur » Thu Mar 25, 2004 1:11 am

I'm not using "externalize string" feature of eclipse because it has some problem making properties file(code conversion problem -> it is unreadable!!)

instead, I'm using a string resource file like following;

public final class Resources extends BaseResources {

// resource strings
private static final Object[][] contents = addResources(new String[][]{
{"property_getuserid_error", "localized message blah 1"},
{"property_getcontentsitem_error", "localized message 2"},


and I access the resource like;
BaseResources.getResourceString(RepositoryNode.class, "property_getuserid_error");


I'd like to know if swt-designer will support this way of internalization. If it can be done in 2 months, I would be more than happy. If not, I may be in a big trouble designing dialogs blind. :)
ihhur
 
Posts: 5
Joined: Tue Mar 09, 2004 2:34 am

Re: internationalization support?

Postby Eric Clayberg » Tue Mar 30, 2004 1:02 pm

ihhur wrote:I'd like to know if swt-designer will support this way of internalization. If it can be done in 2 months, I would be more than happy. If not, I may be in a big trouble designing dialogs blind. :)

We will certainly consider it. We do plan to enhance our internationalization support in the near future, so supporting different patterns (like yours) is quite possible.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Thank you!

Postby ihhur » Thu Apr 01, 2004 1:33 am

I really appreciate it!
ihhur
 
Posts: 5
Joined: Tue Mar 09, 2004 2:34 am


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest