Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Babel » Is it possible to get the dates/time in a specific locale but not the translations from that locale?
Is it possible to get the dates/time in a specific locale but not the translations from that locale? [message #29051] Tue, 09 June 2009 14:48 Go to next message
Eclipse User
Originally posted by: w.roeckelein.begis.com

Hi,

is it possible to get the dates/time in a specific locale but not the translations from that locale?

eg. have german style date/time but all UI text in english, ie no translations, esp not translations from features/plugins which have translations inside.

Thanks,
Wolfgang
Re: Is it possible to get the dates/time in a specific locale but not the translations from that loc [message #29091 is a reply to message #29051] Mon, 15 June 2009 22:30 Go to previous messageGo to next message
Kit Lo is currently offline Kit Lo
Messages: 100
Registered: July 2009
Senior Member
Most Eclipse project calls ICU4J and Java APIs to get time and date info.
If you launch Eclipse with no language pack installed with "-nl de" option
(no quotes), Eclipse will use German time and date info.

I created a new project and the last modifed time stamp was: 15. Juni 2009
18:20:59

Everything else was in English.
Re: Is it possible to get the dates/time in a specific locale but not the translations from that loc [message #29123 is a reply to message #29091] Mon, 22 June 2009 05:53 Go to previous messageGo to next message
Eclipse User
Originally posted by: w.roeckelein.begis.com

Kit Lo wrote:
> Most Eclipse project calls ICU4J and Java APIs to get time and date
> info. If you launch Eclipse with no language pack installed with "-nl
> de" option (no quotes), Eclipse will use German time and date info.

Yes, but all plugins who bring in their own localization will be in German then,
so I have a nice mixture of english and german then...

Thanks,
Wolfgang
Re: Is it possible to get the dates/time in a specific locale but not the translations from that loc [message #29160 is a reply to message #29123] Mon, 22 June 2009 15:19 Go to previous messageGo to next message
Kit Lo is currently offline Kit Lo
Messages: 100
Registered: July 2009
Senior Member
Wolfgang Rï¿œckelein wrote:
> Yes, but all plugins who bring in their own localization will be in German
then,
> so I have a nice mixture of english and german then...

I can think of 2 options:
1) In Eclipse software configuration, you may disable the language
fragments for those plugins
2) Assuming that you are on Windows (Linux should have similiar setup),
you may set the system locale to English, but customize the date and time
format in Regional Options to German
Re: Is it possible to get the dates/time in a specific locale but not the translations from that loc [message #29198 is a reply to message #29160] Tue, 23 June 2009 08:09 Go to previous messageGo to next message
Eclipse User
Originally posted by: w.roeckelein.begis.com

Kit Lo wrote:
> Wolfgang Rï¿œckelein wrote:
>> Yes, but all plugins who bring in their own localization will be in
>> German
> then,
>> so I have a nice mixture of english and german then...
>
> 2) Assuming that you are on Windows (Linux should have similiar setup),
> you may set the system locale to English, but customize the date and
> time format in Regional Options to German

Will try that and report results.

Wolfgang
Re: Is it possible to get the dates/time in a specific locale but not the translations from that loc [message #29236 is a reply to message #29160] Thu, 25 June 2009 16:34 Go to previous messageGo to next message
Eclipse User
Originally posted by: w.roeckelein.begis.com

Kit Lo wrote:
> Wolfgang Rï¿œckelein wrote:
>> Yes, but all plugins who bring in their own localization will be in
>> German
> then,
>> so I have a nice mixture of english and german then...
>
> I can think of 2 options:
> 1) In Eclipse software configuration, you may disable the language
> fragments for those plugins

at least eg. on 3.3 for com.essiembre.eclipse.i18n.resourcebundle_0.7.7.200809291519 .jar
from the http://www.nightlabs.de/updatesites/development/ update site
the localized messages properties are just inside this plugin jar, so I can't see how to do this...

Thanks,
Wolfgang
Re: Is it possible to get the dates/time in a specific locale but not the translations from that loc [message #29274 is a reply to message #29236] Sat, 27 June 2009 19:49 Go to previous messageGo to next message
Kit Lo is currently offline Kit Lo
Messages: 100
Registered: July 2009
Senior Member
Wolfgang Röckelein wrote:

> at least eg. on 3.3 for
com.essiembre.eclipse.i18n.resourcebundle_0.7.7.200809291519 .jar
> from the http://www.nightlabs.de/updatesites/development/ update site
> the localized messages properties are just inside this plugin jar, so I
can't see how to do this...

If a plugin does not separate their localized messages into a plugin
fragment, I can't think of a way to get around that either.
Re: Is it possible to get the dates/time in a specific locale but not the translations from that loc [message #29311 is a reply to message #29051] Sun, 28 June 2009 11:33 Go to previous message
Werner Keil is currently offline Werner Keil
Messages: 1083
Registered: July 2009
Senior Member
Hi,

Do you want to format the date/time in your own application or wish to do so
in Eclipse IDE?

I believe in some OSs you may also do so on a lower level, I remember even
using UK keyboard or date/time format in Dubai or Switzerland (even though
the language was German or US English)

In your own code, using Java DateFormat with a Locale different than the
default would do the trick.

Werner
Re: Is it possible to get the dates/time in a specific locale but not the translations from that loc [message #578947 is a reply to message #29051] Mon, 15 June 2009 22:30 Go to previous message
Kit Lo is currently offline Kit Lo
Messages: 100
Registered: July 2009
Senior Member
Most Eclipse project calls ICU4J and Java APIs to get time and date info.
If you launch Eclipse with no language pack installed with "-nl de" option
(no quotes), Eclipse will use German time and date info.

I created a new project and the last modifed time stamp was: 15. Juni 2009
18:20:59

Everything else was in English.
Re: Is it possible to get the dates/time in a specific locale but not the translations from that loc [message #578976 is a reply to message #29091] Mon, 22 June 2009 05:53 Go to previous message
Eclipse User
Originally posted by: w.roeckelein.begis.com

Kit Lo wrote:
> Most Eclipse project calls ICU4J and Java APIs to get time and date
> info. If you launch Eclipse with no language pack installed with "-nl
> de" option (no quotes), Eclipse will use German time and date info.

Yes, but all plugins who bring in their own localization will be in German then,
so I have a nice mixture of english and german then...

Thanks,
Wolfgang
Re: Is it possible to get the dates/time in a specific locale but not the translations from that loc [message #578991 is a reply to message #29123] Mon, 22 June 2009 15:19 Go to previous message
Kit Lo is currently offline Kit Lo
Messages: 100
Registered: July 2009
Senior Member
Wolfgang Rï¿œckelein wrote:
> Yes, but all plugins who bring in their own localization will be in German
then,
> so I have a nice mixture of english and german then...

I can think of 2 options:
1) In Eclipse software configuration, you may disable the language
fragments for those plugins
2) Assuming that you are on Windows (Linux should have similiar setup),
you may set the system locale to English, but customize the date and time
format in Regional Options to German
Re: Is it possible to get the dates/time in a specific locale but not the translations from that loc [message #579021 is a reply to message #29160] Tue, 23 June 2009 08:09 Go to previous message
Eclipse User
Originally posted by: w.roeckelein.begis.com

Kit Lo wrote:
> Wolfgang Rï¿œckelein wrote:
>> Yes, but all plugins who bring in their own localization will be in
>> German
> then,
>> so I have a nice mixture of english and german then...
>
> 2) Assuming that you are on Windows (Linux should have similiar setup),
> you may set the system locale to English, but customize the date and
> time format in Regional Options to German

Will try that and report results.

Wolfgang
Re: Is it possible to get the dates/time in a specific locale but not the translations from that loc [message #579039 is a reply to message #29160] Thu, 25 June 2009 16:34 Go to previous message
Eclipse User
Originally posted by: w.roeckelein.begis.com

Kit Lo wrote:
> Wolfgang Rï¿œckelein wrote:
>> Yes, but all plugins who bring in their own localization will be in
>> German
> then,
>> so I have a nice mixture of english and german then...
>
> I can think of 2 options:
> 1) In Eclipse software configuration, you may disable the language
> fragments for those plugins

at least eg. on 3.3 for com.essiembre.eclipse.i18n.resourcebundle_0.7.7.200809291519 .jar
from the http://www.nightlabs.de/updatesites/development/ update site
the localized messages properties are just inside this plugin jar, so I can't see how to do this...

Thanks,
Wolfgang
Re: Is it possible to get the dates/time in a specific locale but not the translations from that loc [message #579061 is a reply to message #29236] Sat, 27 June 2009 19:49 Go to previous message
Kit Lo is currently offline Kit Lo
Messages: 100
Registered: July 2009
Senior Member
Wolfgang Röckelein wrote:

> at least eg. on 3.3 for
com.essiembre.eclipse.i18n.resourcebundle_0.7.7.200809291519 .jar
> from the http://www.nightlabs.de/updatesites/development/ update site
> the localized messages properties are just inside this plugin jar, so I
can't see how to do this...

If a plugin does not separate their localized messages into a plugin
fragment, I can't think of a way to get around that either.
Re: Is it possible to get the dates/time in a specific locale but not the translations from that loc [message #579083 is a reply to message #29051] Sun, 28 June 2009 11:33 Go to previous message
Werner Keil is currently offline Werner Keil
Messages: 1083
Registered: July 2009
Senior Member
Hi,

Do you want to format the date/time in your own application or wish to do so
in Eclipse IDE?

I believe in some OSs you may also do so on a lower level, I remember even
using UK keyboard or date/time format in Dubai or Switzerland (even though
the language was German or US English)

In your own code, using Java DateFormat with a Locale different than the
default would do the trick.

Werner
Previous Topic:Is it possible to get the dates/time in a specific locale but not the translations from that locale?
Next Topic:Missing/Changed Galileo Update Sites?!
Goto Forum:
  


Current Time: Wed Oct 01 08:22:53 GMT 2014

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

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