How to turn off localization

3 messages Options
Embed this post
Permalink
Esteban Ignacio Masoero

How to turn off localization

Reply Threaded More More options
Print post
Permalink
Hi:

I'm using slf4j with jdk14, and all my log messages are in spanish, according to my pc configuration. However, most of the translations are really ugly so i'd like to make it do the logging in english. 
Is it possible? can it be done by just adding something to my logging.properties file?

Thanks in advance,

Esteban

_______________________________________________
user mailing list
[hidden email]
http://www.slf4j.org/mailman/listinfo/user
Ceki Gulcu

Re: How to turn off localization

Reply Threaded More More options
Print post
Permalink

Hi Esteban,

SFL4J does not know about jdk14 translations. It delegates all work to to jdk14
logging because you have placed slf4j-jdk14.jar on the class path. You would
need to tweak jdk14 logging, SLF4J cannot help you in this regard.

Cheers,

Esteban Ignacio Masoero wrote:

> Hi:
>
> I'm using slf4j with jdk14, and all my log messages are in spanish,
> according to my pc configuration. However, most of the translations are
> really ugly so i'd like to make it do the logging in english.
> Is it possible? can it be done by just adding something to my
> logging.properties file?
>
> Thanks in advance,
>
> Esteban
>

--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
_______________________________________________
user mailing list
[hidden email]
http://www.slf4j.org/mailman/listinfo/user
Esteban Ignacio Masoero

Re: How to turn off localization

Reply Threaded More More options
Print post
Permalink
Yeah, you're right. I just thought that maybe somebody in this list
could know something about. I ended up sending the VM argument
-Duser.language=EN, and it worked just fine.

Thanks anyway!

Esteban

Ceki Gulcu escribió:

>
> Hi Esteban,
>
> SFL4J does not know about jdk14 translations. It delegates all work to
> to jdk14 logging because you have placed slf4j-jdk14.jar on the class
> path. You would need to tweak jdk14 logging, SLF4J cannot help you in
> this regard.
>
> Cheers,
>
> Esteban Ignacio Masoero wrote:
>> Hi:
>>
>> I'm using slf4j with jdk14, and all my log messages are in spanish,
>> according to my pc configuration. However, most of the translations
>> are really ugly so i'd like to make it do the logging in english. Is
>> it possible? can it be done by just adding something to my
>> logging.properties file?
>>
>> Thanks in advance,
>>
>> Esteban
>>
>
_______________________________________________
user mailing list
[hidden email]
http://www.slf4j.org/mailman/listinfo/user