Use Chinese in extreme toolkit pro 11.2.1

Source: Internet
Author: User
Extreme toolkit is a good interface library and has Chinese resources, but it does not support Chinese well. We still need to do some work before use to make it easy to use Chinese.

The modification includes two parts: compiling the dynamic link library and modifying the Project Wizard.
Compile the Dynamic Link Library:

  1. In the source \ taskpanel \ res folder, copy resource. RC to resource_zh_cn.rc, open it in notepad, and modify the content: # If ! Defined (afx_resource_dll) | defined (afx_targ_enu)
    # Ifdef _ Win32
    Language lang_english, sublang_english_us
    # Pragma Code_page (1252)
    # Endif   // _ Win32

    Replace: # If! Defined (afx_resource_dll) | defined (afx_targ_enu)
    # Ifdef _ Win32
    Language lang_chinese, sublang_chinese_simplified
    # PragmaCode_page (936)
    # Endif //_ Win32

  2. Modify the source \ xttoolkitpro. RC file. The modification content is as follows: # DefineLanguage_default (prodname) <## prodname ## \ res \ resource. rc>

    Replace:

    # DefineLanguage_default (prodname) <## prodname ## \ res \ resource_zh_cn.rc>

Modify Project Wizard:

  1. Modify the utils \ Appwizard \ vc80 \ vcwizards \ xtpappwizard \ HTML \ 1033 \ apptype.htm file, search for populatelanguages (), and modify the content:

    // VaR strinstalledlangs = Window. External. getinstalledlangs ();
    VaR Strinstalledlangs =   " 1033 "

    Replace:

    VaR Strinstalledlangs = Window. External. getinstalledlangs ();
    // VaR strinstalledlangs = "1033"
  2. In the utils \ Appwizard \ vc80 \ vcwizards \ xtpappwizard \ Templates folder, copy the 1033 folder to the 2052 folder.
  3. Compare the 2052 folder with the <vs2005 installation folder> \ Vc \ vcwizards \ appwiz \ MFC \ Application \ Templates \ 2052 resource file all. RC, dlgall. RC, Root. RC2: Change the string to Chinese. We recommend that you use the comparison function of ultraedit.
  4. Modify frame in the 2052 folder. CPP folder, replace _ T ("menu bar") with _ T ("menu bar"), and replace _ T ("standard") with _ T ("standard ").

After completion, run deploy.exe to deploy.

For the convenience of everyone, I package the modification results to save everyone's time. Copy and overwrite the package. Extreme toolkit Chinese download

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.