-
Notifications
You must be signed in to change notification settings - Fork 4
FAQ_Contribute
Install Qt Linguist
to compile translate source code to release file.
Click on "File\Open", select multiple file to open, prefetch_en_US.ts
and your language one.
They are located at qpp\prefetch\Source\Translate\File
.
Press Ctrl+Enter
after finished a translation to mark it available.
If a translation is not "available", the English version will be used,
so you don't need to translate all at once.
If you see something like "Rarely necessary to modify these texts",
ignore the translation unless it is necessary.
Click on "File\Release All", *.qm
file should save in the same folder with *.ts
.
Move the *.qm
file to "program install folder\translate\prefetch",
they should load automatically if the file name match the format.
Or you can use command lang languageName
, or put the value to "prefetch.ini
\Language=languageName".
For example, file name prefetch_en_US.qm
, command lang en_US
, ini Language=en_US
.
If your language file not exist:
- Duplicate the
prefetch_en_US.ts
file, maybe copy and paste. - Name the file to something like
prefetch_en_GB.ts
,prefetch_zh_TW.ts
.
If file name not match the format, it is still possible to use, but can't recognize automatically on launch. - In Linguist, click on "File\Open", but only open 1 file, the new one.
- "Edit\Translation File Settings...".
- Change "Target language" to your language, "OK" to confirm.
- "File\Save", "File\Close"
- "File\Open", select multiple file to open,
prefetch_en_US.ts
and your language one. - Go to
Update exist translate
to know how to edit translate.