Spread for WPF allows you to use language packs in worksheets. By utilizing language packs, you can set the desired language for processing the worksheet and display function names and formula keywords in the chosen language. This feature is achieved by creating function aliases in the specified language, making it easier to manage worksheets.
Each language pack includes localized functions for both simple and advanced calculations. For example, the "SUM" function in the English language pack is represented as "SUMME" in the German language pack.
Spread for WPF includes 19 built-in language packs that allow you to display function names, special function logic, CalcError names, formula keywords, Boolean values, and more in the localized language. Additionally, other terms and screen tips can be displayed in the selected language.
By default, the English language pack is applied. To use your local language, you can choose from the following built-in language packs:
To set the language pack for a workbook, you can use the LanguagePackage property of the IWorkbookSet interface.
Refer to the following example code to set the language pack to “German”.
You can create a custom language pack to display function names, formula keywords, screen tips, boolean values, CalcError clauses, and other terms in a specific language.
Steps to Create and Use a Custom Language Pack:
The following image illustrates how a custom-defined language pack works within a worksheet.
Refer to the following example code to create and use a custom language pack.