Internationalization of BCB5 software development

zhaozj2021-02-08  200

Internationalization of BCB5 software development

The functions of customizing different language versions for the application are provided in BCB5, and the implementation process is explained below by specific examples.

1: Establish an English-like window, there is a button on the window. Such as (Figure 1)

(Figure 1)

2: Compile, link programs.

3: Close the program, open the Add Languages ​​dialog by main menu project | language | add ..., follow the prompt information, one step in the middle requires the language, such as (Figure 2) Please select the language you need, for example

(Figure II)

Choose China (play sign before China). After the selection, press Next to do it, the intermediate is compiled, until the Translation Manager window appears.

4: In the Translation Manager window, expand the tree control on the left, then position it to Forms | Unit1

(Figure 3)

As shown in Figure 3, then modify the character's content can be modified in the window on the window. Save and close the Translation Manager window on page 15 and change to the Show dialog box.

6: In the BCB integrated environment, save all modifications, and save the .bpg file to the directory. Then compile, link new projects. Haha, multi-language version is complete.

转载请注明原文地址:https://www.9cbs.com/read-3249.html

New Post(0)