Skip to Content
author's profile photo Former Member
Former Member

Supported locale in JRC

Hi there,

I would like to know what locales are supported in the JRC.

Thanks for any info on this,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 22, 2008 at 01:54 PM

    Supported languages for the latest version of the Java Reporting Component (JRC) - Crystal Reports for Eclipse version 1, is described in the supported platforms list, currently found [here|].


    Ted Ueda

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi, Pascal,

      This page from Sun lists which locales are supported and how to use them:

      I notice that SPAIN, MEXICO, SPANISH, etc. are not in the list, but those are just default locales that it creates for you. You can create your own:

      page import="java.util.Locale"

      Locale myLocale = new Locale( "es", "ES" ) ;

      Locale.setDefault( myLocale ) ;

      will give you Spain Spanish. If you want a country that's not in the list, say Mexico ("MX"), you can find it by setting your machine's locale (Control Panel, Regional Options) then printing out Locale.getDefault(). I set my system to Spanish (Spain) and Locale.getDefault() showed "es_ES". The Locale constructor wants that as two separate strings, as shown above.

      You'll need to stop and restart Tomcat (or whichever app server you're using) when you change your machine's locale so that it'll pick it up.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.