your current location:首页 > news>AutoTranslation Minecraft

AutoTranslation Minecraft

2024-12-15 01:26:25|Myriagame |source:minecraft skins

Foreword

Because many modules do not have Chinese translations, even if domestic submitted PR can not be updated soon, there are many people who do not accept PR at all, so other MODDER in China has made automatic Chinese update modules.Some niche modules are not translated at all, and some hard -codes cannot be Chinese in the code.To solve these pain points, the author developed this module.

Function

Translation language file

Automatic translation without current language translation language files, loading after automatic translation, not the official loading resource package form. In the game directory, there is an AutoTranslation folder.Resource packages should be very useful for the integration of the Chinese group.

You can reload it through /auto_translation reload.

Screen translation (experimental, open cautiously)

This function needs to set the interface that needs to be translated in the shortcut key setting, and then press the shortcut key. This function should translate most of the modules that use the original Screen rendering mechanism.Its shortcut keys are default, and need to be specified by itself.

If there is a editing box in the screen interface of the translation, please do not open it. The non -editing mode of the FTB task currently test can be opened;

This function needs to be calculated because of each frame rendering, which consumes more performance. Do not open it.

Configuration item

Through the module configuration menu, the parameters required for the module can be configured, which can be viewed in the game.

In -game instruction

/Auto_Translation Reload heavy load resource/Auto_Translation Confirm confirmed execution instructions/Auto_translation Pack_Resource Full full amount of package resource package/Auto_tr. Anslation Pack_Resource increment incremental packing resource package 

Translation API

Google

Because Google's translation has withdrawn from the Chinese market, translate.google.cn service cannot be accessed, translate.google.com is also a wall, so you can configure Google translation mirror stations in the configuration item, or configure DNS direct Google translation services.Use https://github.com/ponderfly/googletranslatecheCheck (the default has been configured with 5 domestic direct IPs, and if you still cannot translate, you can obtain it through this tool).

other

At present, the MOD is only integrated with Google. If other translation APIs are required, you need to wait for development or develop it yourself. You only need to realize the interface iTranslator, and then call the translatorManager.registerTranslaslator (String name, the support, Configuration itemCan switch translation API.

download

Please go to Modrinth or CurseForge (may not be updated or not in time) to download;

If you need to get the development version, go to https://github.com/langyuemc/autoTranslation/Actions to get it (you need github to log in).

About other versions

After the test is basically passed, other versions can be compiled, or you can compile it by yourself. Welcome to submit PR.

Currently compiled 1.19.2 and 1.18.2 theoretically 1.19.2 support 1.19.1, 1.18.2 supports 1.18 full version, but the author is not tested, if it is not suitable for discovery, please give feedback in time.screenshot

Minecraft images

Minecraft images

Minecraft images

Minecraft images

Minecraft images

Minecraft images

Minecraft images

Minecraft images