Implement Subtotal or Grand Total labels in other languages

Possible Usage Scenarios

Sometimes, you want to show subtotal and grand total labels in non-English languages like Chinese, Japanese, Arabic, Hindi etc. Aspose.Cells allows you to do this using the GlobalizationSettings class and Workbook.GlobalizationSettings property. Please see this article on how to make use of GlobalizationSettings class

Implement Subtotal or Grand Total labels in other languages

The following sample code loads the sample excel file and implements subtotal and grand total names in the Chinese language. Please check the output Excel file generated by this code for your reference. We first create a class of GlobalizationSettings and then use it in our code.

Now use above created class in the code like below: