Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Internationalization of combobox values from database
Internationalization of combobox values from database [message #651259] Fri, 28 January 2011 15:31 Go to next message
Eclipse UserFriend
Originally posted by: hendrik.reddehase.wagner-gt.de

Hi all,

I have a Combobox filled with values from database. Now I want to
internationalize these values. What is the best approach?

One solution could be to write the key in the table and get the label
from the properties. But I want to have the label in my database.

So an other idea is to create an table with the columns "language,
country and value" and select the right label.

Is there a better solution?

Thanks for your help,
Hendrik
Re: Internationalization of combobox values from database [message #651533 is a reply to message #651259] Mon, 31 January 2011 15:23 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Maybe there's some accepted way of translating label entries in a
database field ... have you seen anything like that?


Just FYI, I saw a "label as a key" comment in a bug recently:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=306576#c49

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:Can i Create a new instance of a Handler.
Next Topic:How to add my importWizards in Toolbar
Goto Forum:
  


Current Time: Sun Nov 23 03:49:40 GMT 2014

Powered by FUDForum. Page generated in 0.02475 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software