| |

VerySource

 Forgot password?
 Register
Search
View: 1427|Reply: 8

How to make multiple languages, does Delphi have corresponding third-party controls?

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 United States

Post time: 2020-3-12 14:00:02
| Show all posts |Read mode
I saw that some people use borland's own multi-language wizard, and then it translates. After translation, resource files in several languages ​​are generated. This is automatically selected. You can also choose it manually.
What is an INI translation file and how do I do it?
Is GetOEMCP () an interface that determines what language to use.
What heroes tell me !!!!
Reply

Use magic Report

0

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-6-9 23:30:01
| Show all posts
cnpack has this multilingual processing!
http://www.cnpack.org
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-6-12 08:45:01
| Show all posts
Which package should I download? I don’t understand CVSTracNT multilingual version and CnPack package. I don’t know which package to use?
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-6-26 03:45:02
| Show all posts
There are N multiple methods for multilingual applications
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Singapore

Post time: 2020-8-26 11:45:01
| Show all posts
There are many ways to multi-language. Although Delphi has its own multi-language method, I still choose the Ini file method to achieve it. Personally, I feel better and flexible.

This has been happening many years ago, and you can search for a lot of information.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-26 12:00:01
| Show all posts
siLang is a good control, go to download and use it
Reply

Use magic Report

0

Threads

12

Posts

12.00

Credits

Newbie

Rank: 1

Credits
12.00

 China

Post time: 2020-8-26 12:15:01
| Show all posts
case GetOEMCP() of
    936:
      begin
        faces := @cnstrings; // Use simplified Chinese resources
        facefont :='Song Ti';
      end;
    950:
      begin
        faces := @twstrings; // Use traditional Chinese resources
        facefont :='Chan bang' // detailed body
      end;
    else
      begin
        faces := @enstrings; // Use English resources
        facefont :='MS Sans Serif';
      end;
  end;
Reply

Use magic Report

0

Threads

16

Posts

16.00

Credits

Newbie

Rank: 1

Credits
16.00

 China

Post time: 2020-8-26 12:30:01
| Show all posts
Just use the multi-language function provided by delphi directly.
The cnpack control writes the value in the txt file, which is similar to what I wrote in the ini before. It is estimated that the speed of large projects is not good (I haven't looked at his implementation code, it is uncertain whether it is so).
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-26 12:45:01
| Show all posts
It is possible to use the controls in this TntUnicode control package
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list