-
Notifications
You must be signed in to change notification settings - Fork 190
How to develop and translate
- Visual Studio 2012 and later(Visual C++)
- Run Visual Studio.
- Open noMeiryoUI.sln(Visual Studio 2022/2026)/noMeiryoUI_2012.sln(Visual Studio 2012) in program folder.
- 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.
- 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".
- After test, Check noMeiryoui.exe by Virus Total.
- 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.)
- Move lang folder.
- Copy
ja-JP.lng(Japanese) oren.lng(English) to(language tag)-(locale code).lngor(language code).lng.(language tag)-(locale code).lngformat is suitable for translate to your country like China and Taiwan.(language code).lngformat is suitable for translate to some language. - Translate messages. "&" and after character is shortcut key.
- Save file as UTF-8 without BOM.
- 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".
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
- 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.
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
- 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.
- Move help folder.
- Copy
ja-JPfolder (Japanese) orenfolder (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. - Translate each files. Help file name format is same as language file.
- Execute
hhc help_(language tag)-(locale code).hhp. - Check translations.
- 7-Zip
- Inno setup
- nmake(Shipped by Visual Studio)
- curl(Shipped by Windows)
- Text editor
- Add path to 7-Zip installed folder.
- Build and virus check.
- Run command prompt and move packaging folder.
- Open makeportable.bat by text editor.
- Change path of noMeiryoUI.exe after
copy /yto portable release version program file path. - Run
makeportable.bat. - Check contents in noMeiryoUI.zip and rename with version number(noMeiryoUIx.y.z.zip).
- Run Developer command prompt and move packaging folder.
- Open makeinstallable.bat by text editor.
- Change path of noMeiryoUI.exe after
copy /yto portable release version program file path. - Run
nmake get-inno-setup-language. - Run
makeinstallable.bat. - Run Inno setup, and make installer by setup.iss
- Check compile result and rename noMeiryoUIsetup.exe in output folder to filename with version number(noMeiryoUIx.y.zsetup.zip).