Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to test internationalization plugin
How to test internationalization plugin [message #325983] Wed, 05 March 2008 06:07 Go to next message
Eclipse UserFriend
Originally posted by: sania12.yahoo.com

Hi

I have created a fragment project for internationalizing my plugin.
But I do not know how to test where the nl plugin created works..
Had a look at the tutorial "How to Test your Internationalized plugin" but
could not get much.

Thanks in advance
Sania
Re: How to test internationalization plugin [message #325985 is a reply to message #325983] Wed, 05 March 2008 07:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jacek.pospychala.pl.ibm.com

Sania,
Simplest way to test nl plugin is to launch your product with -nl
<language> and see if all looks ok.
Automated testing, i.e. automatic verification of properties files is I
think in scope of Babel project, which has recently started.


Sania wrote:
> Hi
>
> I have created a fragment project for internationalizing my plugin.
> But I do not know how to test where the nl plugin created works..
> Had a look at the tutorial "How to Test your Internationalized plugin"
> but could not get much.
>
> Thanks in advance
> Sania
>
Re: How to test internationalization plugin [message #326054 is a reply to message #325985] Thu, 06 March 2008 12:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chandra.mayamuthu.gmail.com

Hi sania,
If you have got answer for your question. Please reply me how did u
handle Double Byte Character Set in i18n, like Japanese language
characters.

Thanks in advance

Regards,
Chandra M
Re: How to test internationalization plugin [message #326085 is a reply to message #326054] Fri, 07 March 2008 08:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sania12.yahoo.com

Hi,

While running your application , open Run Dialog ---> Arguments tab-->
set the program argumnet for nl option ..

For example, for French set fr_FR like -nl fr_FR.. and run ur
application...

Thanks,
Sania
Re: How to test internationalization plugin [message #326105 is a reply to message #326085] Fri, 07 March 2008 11:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chandra.mayamuthu.gmail.com

Yes.. Sania, I did the same for French. Now my question is about double
byte characters handling. Example, Japanese letters are Double byte
characters, I am not able to save them in normal .properties files as we
used to for English and French, means we need to handle them in special
manner.

Please reply me.


Thanks,
Chandra M
Re: How to test internationalization plugin [message #326118 is a reply to message #326105] Fri, 07 March 2008 13:36 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

The japanese chars are saved in a properties file, as normal. Download
the NL pack from
http://download.eclipse.org/eclipse/downloads/drops/L-3.2.1_ Language_Packs-200609210945/
and check it out.

As for how to enter them ... if you are editing and can type the real
chars from the keyboard, that works. These language packs simply escape
the chars in the properties file. ex:

CloseAllAction_text=\u3059\u3079\u3066\u9589\u3058\u308B(&am p;L)

Later,
PW

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


Previous Topic:How to overwrite text in about dialogs
Next Topic:Display actions when a project has a certain file
Goto Forum:
  


Current Time: Sun Jul 07 08:51:40 GMT 2024

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

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

Back to the top