How to set different language?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Antti
Posts: 3
Joined: Mon Mar 24, 2014 1:35 pm
antibot: No, of course not.

How to set different language?

Post by Antti » Mon Mar 24, 2014 1:49 pm

Hi, I failed to find a way to change the language on ChartPanel's list menu and properties window. I would like to have an option to use english or finnish depending on which language is selected in the parent application. How can it be done if it possible?

If I can't find a way to translate all JFreeChart texts to finnish, I'm forced to disable properties window and ChartPanel's list menu.

Cheers!

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: How to set different language?

Post by david.gilbert » Sat Mar 29, 2014 12:28 pm

At the moment, the localisation files are loaded statically according to the default locale. There's no option to configure on-the-fly the locale/language for a given chart or chart-panel. It would be a nice feature to have.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked