Cannot load localization file

Stimulsoft Reports.WEB discussion
Post Reply
shadowkras
Posts: 27
Joined: Wed Jan 30, 2013 10:53 am
Location: Cuiabá/Mato Grosso - Brazil

Cannot load localization file

Post by shadowkras »

My localization files are not being loaded as an option or even the default language on my viewer and designer.
This is my Localization property on both my viewer and designer cshtml files:

Code: Select all

Localization = WebHost + "/stimul/localization/pt-BR.xml",
The file is on the correct path, as I can access the file if I enter the full url to the localization file:
localization.png
localization.png (20.24 KiB) Viewed 2382 times
I also noticed that the LocalizationList property is gone, so how do I add multiple languages now?

Im using Stimulsoft.Reports.Web.NetCore version 2018.1.3.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Cannot load localization file

Post by HighAley »

Hello.

The native .Net Core report engine is working on server-side.
So, please, use relative path or path to a file.
The HTTP URLs are not supported.

Thank you.
shadowkras
Posts: 27
Joined: Wed Jan 30, 2013 10:53 am
Location: Cuiabá/Mato Grosso - Brazil

Re: Cannot load localization file

Post by shadowkras »

That is much better then. Thank you.

How can we add multiple localization options to the user now?
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Cannot load localization file

Post by HighAley »

Hello.

Unfortunately, it's impossible to do now.
We will add the LocalizationDirectory property for the Designer in the 2018.1.5 build.

Thank you.
shadowkras
Posts: 27
Joined: Wed Jan 30, 2013 10:53 am
Location: Cuiabá/Mato Grosso - Brazil

Re: Cannot load localization file

Post by shadowkras »

Hey, just to give you some feedback. The LocalizationDirectory works great. Thanks!
Lech Kulikowski
Posts: 6265
Joined: Tue Mar 20, 2018 5:34 am

Re: Cannot load localization file

Post by Lech Kulikowski »

Hello

We are always glad to help you!
Please let us know if you need any additional help.

Thank you.
Post Reply