WINDEV Concepts
Part 4: Advanced concept 137 Language options The "Languages" tab of the project description also allows you to define all language-specific options: number, currency, date, etc. The parameters used by default are the ones defined in the Windows language options (accessible from the Windows control panel). When an Edit control or a Table control column that shows numeric data (number, currency, date, time, etc.) is created, it will automatically use the input mask defined in the project language options. This option is available in the windows. At runtime , when an Edit control or a column in a Table control has a mask "Defined by the project", the input/display mask will automatically adapt according to the options selected in the project for the language displayed at runtime. Remark : The language options also allow you to define the writing direction and the character set used ("Miscellaneous" option). Executable program When creating the executable file, you can specify the languages that will be included in it. You can create a different executable file for each language supported by the project. This feature is used to reduce the executable size. 2.2 Languages supported by the analysis If your project uses an analysis, the languages supported by the analysis are selected in the data model editor. The same analysis can be shared between different projects that do not use the same languages. Therefore, the analysis might use more languages than the project. To configure the languages supported by the analysis: 1. Open the project analysis in the editor. 2. Open the analysis description window: on the "Analysis" tab, in the "Current element" group, click "Description". 3. Select the "International" tab in the description window of the analysis. The different languages set in the analysis will be available: • when configuring the shared information of the items. The description of the controls bound to the items (options, captions, etc.) can be entered in the different languages supported by the analysis. When generating a "full RAD" or window RAD, this information is automatically used for all languages common to the analysis and the project. • for the information printed in the technical documentation (notes of data files or items). • for the information managed by "Reports and Queries". If "Reports and Queries" is provided with your WINDEV application, you can translate the names of the data files and the items. Users will be able to use the names in the desired language when creating their reports and queries. This information can be entered in the "Reports and Queries" tab of the data file and item description. 2.3 Languages supported by the different project elements By default, the different elements of the project (windows, reports, code, classes, sets of procedures, etc.) support the same languages as the project in which they were created. An element can support more languages than the project (when the element is shared between several projects that support different languages, for example).
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==