Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Babel » Internationalize RCP preference page
Internationalize RCP preference page [message #689359] Mon, 27 June 2011 09:51 Go to previous message
mousa.alsulaimi is currently offline mousa.alsulaimi
Messages: 18
Registered: June 2011
Junior Member
hello ,

i was wondering how can i internationalize eclipse RCP preference pages ,to be specific ( org.eclipse.ui.internal.themes.ColorsAndFontsPreferencePage) , i checked babel packages but i did not find org.eclipse.ui , it is there ? if not , how can i internationalize this page ?, i tried to create a property file called org.eclipse.ui.internal.themes.ColorsAndFontsPreferencePage_ar_KW.properties and added the required keys and values by copying the output of the follwoing (
 ResourceBundle bundle = ResourceBundle.getBundle(ColorsAndFontsPreferencePage.class.getName()) ;
		      //  bundle.
		    System.out.println("name: "+ ColorsAndFontsPreferencePage.class.getName()) ; 
		        Enumeration<String > list =bundle.getKeys() ;
		        String temp = new String() ; 
		        while(list.hasMoreElements())
				System.out.println("" +(temp=list.nextElement())+"=" +bundle.getString(temp) ) ; 

)

i also tried creating a package called org.eclipse.ui.internal.themes , and inside it i created a
file called ColorsAndFontsPreferencePage_ar_KW.properties with the same content but still it did not work.

appreciate your help

[Updated on: Mon, 27 June 2011 09:52]

Report message to a moderator

 
Read Message
Read Message
Previous Topic:(no subject)
Next Topic:Babel Id for UOMo?
Goto Forum:
  


Current Time: Mon May 20 17:26:09 EDT 2013

Powered by FUDForum. Page generated in 0.04987 seconds