Automatically downloads the latest translation packages/Automated Resource Kit Compression Workflow
gengyoubo opened this issue ยท 11 comments
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?
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.
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
If you read the code I submitted you'll know I'm using SubscribeEvent, so there's no need to register it manually.
Or do you mean that the automatically downloaded translation packages also disappear?
Or do you mean that the automatically downloaded translation packages also disappear?
Any File in Resorces/assets/lang will be overrite
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.
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 -_-