温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,汇文网负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。
网站客服:3074922707
How
to
add
languages
create a language folder for your country (appropriate folder names are in the format of: en_US, nl_NL, ru_RU, etc...)
copy the .po files to the appropriate folder and then start editing
Order of picking:
if there is a cheatengine.po it will pick that, else cheatengine-x86_64.po and if that fails cheatengine-i386.po
the 32-bit version can work perfectly fine with the 64-bit po
Same for the tutorial
By default it picks the system language, but you can overide this by adding --LANG langstr or -l langstr to the parameters of Cheat Engine
editing po files.
There are some po editing tools but you can also do it by hand
msgid contains the original string and msgstr contains the translated string.
If msgstr is empty the original string will be shown
Certain strings are not present in the cheatengine.po file, but are present in lclstrconsts.po
The lclstrconsts.po file belongs to the LCL that the Cheat Engine GUI is build upon
Custom name for your translation:
place a name.txt file in your translation folder and name it anything you like instead of the language code
Custom lua script for your translation:
place an init.lua file in the translation folder and the code in there will be executed when CE starts. You can use this to shift objects around or adjust anchors to make space for your text
----
example for dutch
create the languages\nl_NL folder and move the .po files to there
then translate the .po files
e.g:
before:
#: mainunit.rscheatengine
msgid "Cheat Engine"
msgstr ""
after:
#: mainunit.rscheatengine
msgid "Cheat Engine"
msgstr "Valsspeel motor"
(This is just an example, please don't translate blindly like this...)
to test you would run cheat engine with --LANG nl_NL