WINDEV Concepts

136 Part 4: Advanced concept Multilingual applications in practice 1 Overview A multilingual application can be distributed in multiple languages. The different languages of the application will be taken into account during the different development steps. The main steps for developing a multilingual application are as follows: 1. Choosing the languages supported by the project and the analysis. 2. Writing the different elements (window, code, etc.) in the different languages of the project. 3. Defining the project language programmatically. 4. Managing specific character sets in the data files. 5. Creating the executable and the setup program. Remarks : • If the operating system supports several languages (Hebrew, Arabic, Greek, etc.), the corresponding character set will be automatically used when translating to these languages. • If your application is multilingual, this feature must also be supported in the User Groupware and the automatic HFSQL error handling windows. For more details, see the online help. • Unicode is available in the HFSQL data files, window controls and WLanguage code. 2 Choosing the languages supported by the project and the analysis 2.1 Languages supported by the project The different languages supported by the project are defined in the project description: 1. On the "Project" tab, in the "Project" group, click "Description". The project description window appears. 2.  In the "Languages" tab, you can add or delete the languages supported by the project. The selected languages will be available for all multilingual resources that can be translated (captions of controls, menu options, help messages associated with a control, etc). When changing the project language, changes will be automatically taken into account: • for each new element or object created in the WINDEV editor, • for each new element or object opened in the WINDEV editor. The main language corresponds to the language used by default at runtime.

RkJQdWJsaXNoZXIy NDQ0OA==