Quantcast

Re: Help on I18N

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Help on I18N

Dejan Glozic
George,

You can get the current platform locale by calling 'Platform.getNL()'. This
value can be taken from the VM or set on the command line using '-nl'
command line argument.

Regards,

Dejan Glozic, Ph.D.
Manager, Eclipse Development 1A
D1/R0Q/8200/MKM
IBM Canada Ltd.
Tel. 905 413-2745  T/L 969-2745
Fax. 905 413-4850



                                                                       
             "Sebastian,                                              
             George"                                                  
             <George.Sebastian                                          To
             @ca.com>                  <[hidden email]>      
             Sent by:                                                   cc
             eclipse-dev-bounc                                        
             [hidden email]                                        Subject
                                       [eclipse-dev] Help on I18N      
                                                                       
             04/25/2005 11:53                                          
             PM                                                        
                                                                       
                                                                       
             Please respond to                                        
                 "General                                              
                development                                            
              mailing list of                                          
                the Eclipse                                            
                 project."                                            
                                                                       
                                                                       




Hi All,

I have a trouble..

I am developing a plug-in which should support internationalization, but I
don?t know how to obtain the current Locale of the eclipse platform.
I am able to get the Locale of the OS. but that is not enoughJ
My requirement is for e.g. I have an en_US operating system and have
eclipse settings ru_RU. How will I be able to get this ru_RU Locale with in
the eclipse workbench

Could anyone of you please help me on this?

George Sebastian
Computer Associates
Software Engineer
tel: +91 40 55670724
fax: +91 40 55670001
cell: +91 9849695808
email: [hidden email]
 _______________________________________________
eclipse-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev


_______________________________________________
eclipse-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Help on I18N

Sebastian, George
Thank You for the help Dejan,

But I still have the problem I have installed the NLS pack and tried
with the Chinese version by giving eclipse.exe -nl zh_CN -clean

It shows up a Chinese eclipse but still in the plugin when I use
Platform.getNL() I am getting it as en_US.

Could you please help on this?

Regards
George Sebastian

Computer Associates

Software Engineer

tel: +91 40 55670724

fax: +91 40 55670001

cell: +91 9849695808

email: [hidden email]


-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Dejan Glozic
Sent: Tuesday, April 26, 2005 7:19 PM
To: General development mailing list of the Eclipse project.
Cc: [hidden email]; [hidden email]
Subject: Re: [eclipse-dev] Help on I18N

George,

You can get the current platform locale by calling 'Platform.getNL()'.
This
value can be taken from the VM or set on the command line using '-nl'
command line argument.

Regards,

Dejan Glozic, Ph.D.
Manager, Eclipse Development 1A
D1/R0Q/8200/MKM
IBM Canada Ltd.
Tel. 905 413-2745  T/L 969-2745
Fax. 905 413-4850



 

             "Sebastian,

             George"

             <George.Sebastian
To
             @ca.com>                  <[hidden email]>

             Sent by:
cc
             eclipse-dev-bounc

             [hidden email]
Subject
                                       [eclipse-dev] Help on I18N

 

             04/25/2005 11:53

             PM

 

 

             Please respond to

                 "General

                development

              mailing list of

                the Eclipse

                 project."

 

 





Hi All,

I have a trouble..

I am developing a plug-in which should support internationalization, but
I
don?t know how to obtain the current Locale of the eclipse platform.
I am able to get the Locale of the OS. but that is not enoughJ
My requirement is for e.g. I have an en_US operating system and have
eclipse settings ru_RU. How will I be able to get this ru_RU Locale with
in
the eclipse workbench

Could anyone of you please help me on this?

George Sebastian
Computer Associates
Software Engineer
tel: +91 40 55670724
fax: +91 40 55670001
cell: +91 9849695808
email: [hidden email]
 _______________________________________________
eclipse-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev


_______________________________________________
eclipse-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev


_______________________________________________
eclipse-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev
Loading...