Jump to content
We've recently updated our Privacy Statement, available here ×

Localization Trouble


thanosk

Recommended Posts

I have been trying to do localization for the Jasper Server for Greek.

I followed the instructions in the pdf but as soon as I change the jasper_messages.properties file

the greek language characters appear all messed up.

The file formating is in UTF-8.

II made sure that applicationcontext.xml has correctly set UTF-8 for encoding.

    <bean id="encodingProvider" class="com.jaspersoft.jasperserver.api.common.util.StaticCharacterEncodingProvider">
        <constructor-arg value="UTF-8"/>
    </bean>

 

What can I be doing wrong ?

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

I attempted to use Jasper Babylon in the hope that the file automatically produced by that service would work properly and have the ability to do the actual translation.

 

Unfortunately the file produced the characters were all messed up (they show up correctly on the Babylon web-page) and in the form :
jasper.report.view.hint.previous.page=u03A0u03C1u03BFu03B7u03B3u03BFu03CDu03BCu03B5u03BDu03B7 u03A3u03B5u03BBu03AFu03B4u03B1

 

Using that file ofcourse produces a server error.

Can anyone help out or tell me that such a translation is possible or should I should just give up on the project ?

Link to comment
Share on other sites

OKs I managed to solve the problem by saving the .properties file using SC UniPad in ASCII (Decimal).

Pity with JasperBabylon since I am going to do a full translation anyways but it will not really be usuable from there.

 

 



Post Edited by Thanos Koukoulis at 02/18/09 15:08
Link to comment
Share on other sites

  • 1 year later...

swood
Wrote:

Those are Unicode codes. You need to use the right editor to update the localized properties files.

 

Sherman

Jaspersoft

Tell us the right editor name and right Unicode encoding (UTF-1, UTF-5, UTF-8, UTF-16, UTF-32, etc.) please !

 

I want localize JasperServer to Russian and get it back to community.

I read JasperServer-Localization-Guide.

I read http://en.wikipedia.org/wiki/Unicode.

I tried save jasperserver_messages_ru.properties in AkelPad:

- UTF-8 (with/without BOM)

- UTF-16 LE (with/without BOM)

- UTF-16 BE (with/without BOM)

I tried save it in MS Windows Notepad and Wordpad:

- Unicode

- Unicode Big Endian

- UTF-8

But russian characters displayed scrawl or even default properties file used by JasperServer.

 

P.S. I use JasperServer 3.7 with bundled Apache-Tomcat and MySQL on MS Windows Server 2003 32-bit

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...