Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Tue May 17, 2022 1:58 pm

We registered for a temporary license for Spire.XLS license and able to successfully use the license to validate our implementation.

But as part of the validation process we noticed an issue with the Spire.XLS free version & temporary licensed version as well. Please see the error from our logs below. Can you please help us understand if Spire.XLS is not supported for multiple regions? Our application is a global application and it will be used by users across the global with multiple regional settings (Russia, Austria, UK, Germany etc)

How do we get the application supported with different regions / cultures?

[Request processing failed; nested exception is class com.spire.xls.packages.sprgkC: Culture Name: en-AS is not a supported culture
com.spire.xls.packages.sprXsC.spr (blg:671)
com.spire.xls.packages.sprXsC.<init>(blg:188)
com.spire.xls.packages.sprXsC.spr (blg:1222)
com.spire.xls.packages.sprRFA.spr (Unknown Source)
com.spire.xls.packages.sprRFA.<init>(Unknown Source)
com.spire.xls.packages.sprksa.<init>(Unknown Source)
com.spire.xls.packages.sprHTa.<init>(Unknown Source)
com.spire.xls.core.spreadsheet.XlsWorkbook.<init>(Unknown Source)
com.spire.xls.Workbook.<init>(Unknown Source)

java.lang.Thread.run(Thread.java:748)] with root cause
com.spire.xls.packages.sprgkC: Culture Name: en-AS is not a supported culture
at com.spire.xls.packages.sprXsC.spr (blg:671)
at com.spire.xls.packages.sprXsC.<init>(blg:188)
at com.spire.xls.packages.sprXsC.spr (blg:1222)
at com.spire.xls.packages.sprRFA.spr (Unknown Source)
at com.spire.xls.packages.sprRFA.<init>(Unknown Source)
at com.spire.xls.packages.sprksa.<init>(Unknown Source)
at com.spire.xls.packages.sprHTa.<init>(Unknown Source)
at com.spire.xls.core.spreadsheet.XlsWorkbook.<init>(Unknown Source)
at com.spire.xls.Workbook.<init>(Unknown Source)

karthik.parasa541
 
Posts: 2
Joined: Thu May 12, 2022 1:29 pm

Wed May 18, 2022 7:42 am

Hello Team, We are a potential customer looking for resolution here. The problem we are facing is time bound and we would need the solution immediately. Can you please let us know if Spire.office or XLS packages can support multiple regions or cultures? The region on the laptop is set to English - American Samao in the logs that are attached.
Request you to respond at the earliest possible.

karthik.parasa541
 
Posts: 2
Joined: Thu May 12, 2022 1:29 pm

Wed May 18, 2022 10:03 am

Hello Karthik,

Thanks for your inquiry.
I made the following reply in email:

The Spire.Xls is supported for using in multiple regions, and for the issue of throwing “en-AS is not a supported culture”, you can add the following code in your code to set the language or culture area: Locale locale = new Locale("en", "AS");Locale.setDefault(locale); If the issue still exists after adding these code. Please offer the following message for do a further investigation and work out a solution for you. Thanks for your assistance in advance.

1) Your full test code.
2) Your input Excel file.
3) Your test environment, such as OS info (eg, Win10-64bit) and region setting (eg, China. Chinese).

In addition, the Spire.Xls license is only valid for functions of Spire.Xls when you apply the Spire.Xls license in Spire.Office. So if you want to evaluate other individual product features (eg. Spire.Doc) in Spire.Office, please contact our sales team (sales@e-iceblue.com) for a temporary license of Spire.Office.

Sincerely,
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 860
Joined: Tue Mar 08, 2022 2:02 am

Return to Spire.XLS