Changed Addon Plus

Changed Addon Plus

148k Downloads

Automatically downloads the latest translation packages/Automated Resource Kit Compression Workflow

gengyoubo opened this issue ยท 11 comments

commented

I was browsing through the modules and came up with a thought... if you automatically download the latest translation resource packs you don't have to put the lang files in them over and over again to be able to translate them properly? Then we can write the lang file in the resource pack, can't we?

commented

I use github's workflow to be able to zip a folder.

commented

I was browsing through the modules and came up with a thought... if you automatically download the latest translation resource packs you don't have to put the lang files in them over and over again to be able to translate them properly? Then we can write the lang file in the resource pack, can't we?

Yet ever time that the Build task is executaded the resources is reset due mcreator so i have a python script in my local workspace that copy the lang files of other folder and paste in the build/resources

I use a github workflow that allows me to submit a translation file while packaging it into a resource package.

commented

I was browsing through the modules and came up with a thought... if you automatically download the latest translation resource packs you don't have to put the lang files in them over and over again to be able to translate them properly? Then we can write the lang file in the resource pack, can't we?

Yet ever time that the Build task is executaded the resources is reset due mcreator so i have a python script in my local workspace that copy the lang files of other folder and paste in the build/resources

commented

If you read the code I submitted you'll know I'm using SubscribeEvent, so there's no need to register it manually.

commented

Or do you mean that the automatically downloaded translation packages also disappear?

commented

Or do you mean that the automatically downloaded translation packages also disappear?

Any File in Resorces/assets/lang will be overrite

commented

That's not what I'm talking about, it's under run/resources.

commented

In my setup, the translation packs start downloading after the module is initialized, so it makes sense that they wouldn't be completely deleted as a problem.

commented

That's not what I'm talking about, it's under run/resources.

What i mean is that The files in run/resources/assets/lang is removed and overite and due that if i 0ate the langs in there the files will just be removed -_-

commented

So you don't have to put the translation package into resources.