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

custom locale doesn't show minus sign for negative numbers


Recommended Posts

Hi

 

I've created a custom locale which I've placed in /.../webapps/jasperserver-pro/WEB-INF/bundles. I can fetch the reports from the jasper server with the right thousand and comma delimiters, but the report does not show the minus sign for negative numbers. It does so for the default locales.

Jasper reports studio shows it correctly but its wrong when I make a GET request with it from postman, where the Accept-Language cookie is set to the custom locale.

The locale was made by copying the default.properties files and rename them with my locale, and I've sthudown the server and started it up again after the files were created.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

It's also shown correctly when I select the locale before signing into the jasper-server and generating the report from there. Seems like it's only when I fetch the report through the API that it doesn't work.

Link to comment
Share on other sites

It seems that it's strictly the "-" sign that is the problem. I can substitute it with an em dash or any other sign and it gets displayed. 😅

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...