Skip to content

How to develop and translate

Tatsuhiko Syoji edited this page Jul 5, 2026 · 1 revision

How to develop and translate

Develop

Requirement software for develop

  • Visual Studio 2012 and later(Visual C++)

Build process

  1. Run Visual Studio.
  2. Open noMeiryoUI.sln(Visual Studio 2022/2026)/noMeiryoUI_2012.sln(Visual Studio 2012) in program folder.
  3. Write program by UTF-8 with BOM. To avoid No!! Meiryo UI treated as virus by antivirus software, you write source code can compile by Visual Studio 2012.
  4. Build your source and test. To build portable version(entire version) choice the build settings name with "_portable". To build portable version(since Version 3.5.0) choice the build settings name without "_portable".
  5. After test, Check noMeiryoui.exe by Virus Total.

Translate application

Requirement software for translate application

  • Text editor which can save without UTF-8.(You should choice text editor which can edit by Japanese and English. Since original language files are written by Japanese and English.)

Application translate process

  1. Move lang folder.
  2. Copy ja-JP.lng(Japanese) or en.lng(English) to (language tag)-(locale code).lng or (language code).lng. (language tag)-(locale code).lng format is suitable for translate to your country like China and Taiwan. (language code).lng format is suitable for translate to some language.
  3. Translate messages. "&" and after character is shortcut key.
  4. Save file as UTF-8 without BOM.
  5. Copy your language file to program file folder and check translation.

Translate way is here.

Translate line "key=message" below "[RESOURCE]" Example:
In line DLG_ALL_FONT=All fonts, translate "All fonts".

Program display font

Line with FONT_FACE=System is font face.
You must translate "System".
Line with FONT_CHARSET=1 is font character set.
Replace "1" to your language.

Character set numbers are here.

  • ANSI : 0
  • Font default character set : 1
  • Symbol : 2
  • Japanese : 128
  • Hangeul : 129
  • Simplified Chinese : 134
  • Traditional Chinese : 136
  • OEM character set:255
  • johab : 130
  • Hebrew : 177
  • Arabian : 178
  • Greece : 161
  • Turkish : 162
  • Vietnam : 163
  • Thai : 222
  • Eastern Europe : 238
  • Russian : 204
  • MAC : 77
  • Baltic : 186
  1. Lines below "[PRESET]" are the font settings in preset menu font information. Describe initial font name and font size by each OS.
    Line which starts "CAPTION" is the title bar font informations.
    Line which starts "ICON" is the icon font informations.
    Line which starts "SMALLCAPTION" is the pallet font informations.
    Line which starts "STATUS" are status bar and hint font informations.
    Line which starts "MESSAGE" is the message box font informations.
    Line which starts "MENU" is the message box font informations.

Preset font informations

Line which starts "FACE", write font name.
Line which starts "SIZE", write font size.
Line which starts "CHARSET", write font character set.
Line which starts "_8", write the font informations for Windows 8/8.1. Line which starts "_10", write the font informations for Windows 10. Line which starts "_11", write the font informations for Windows 10.

Example:
If Title bar font is Segoe UI, font size is 11 point, character set is default, OS is Windows 8.1

CAPTION_FACE_8=Segoe UI  
CAPTION_SIZE_8=11  
CAPTION_CHARSET_8=1  

Translate

Requirement softwares for translate application

  • Text editor which can save without UTF-8.(You should choice text editor which can edit by Japanese and English. Since original language files are written by Japanese and English.)
  • HTML help compiler.

Help contents translate process

  1. Move help folder.
  2. Copy ja-JP folder (Japanese) or en folder (English) to (language tag)-(locale code) or (language code). (language tag)-(locale code) format is suitable for translate to your country like China and Taiwan. (language code) format is suitable for translate to some language.
  3. Translate each files. Help file name format is same as language file.
  4. Execute hhc help_(language tag)-(locale code).hhp.
  5. Check translations.

Packaging

Requirement software for packaging

  • 7-Zip
  • Inno setup
  • nmake(Shipped by Visual Studio)
  • curl(Shipped by Windows)
  • Text editor

Preparation for packaging

  1. Add path to 7-Zip installed folder.
  2. Build and virus check.

Packaging process

Portable version

  1. Run command prompt and move packaging folder.
  2. Open makeportable.bat by text editor.
  3. Change path of noMeiryoUI.exe after copy /y to portable release version program file path.
  4. Run makeportable.bat.
  5. Check contents in noMeiryoUI.zip and rename with version number(noMeiryoUIx.y.z.zip).

Installer version

  1. Run Developer command prompt and move packaging folder.
  2. Open makeinstallable.bat by text editor.
  3. Change path of noMeiryoUI.exe after copy /y to portable release version program file path.
  4. Run nmake get-inno-setup-language.
  5. Run makeinstallable.bat.
  6. Run Inno setup, and make installer by setup.iss
  7. Check compile result and rename noMeiryoUIsetup.exe in output folder to filename with version number(noMeiryoUIx.y.zsetup.zip).