ENIGMA Forums

Outsourcing saves money => Issues Help Desk => Topic started by: AGPLCZ on March 30, 2020, 10:54:49 am

Title: Translating - messages.properties
Post by: AGPLCZ on March 30, 2020, 10:54:49 am
I don't speak English very much.  I am a teacher,  I want to create a translation of lateralGM for children.

I read -> https://enigma-dev.org/docs/Wiki/Translate

Where to paste?
org/lateralgm/messages/messages.properties
org/enigma/messages/messages.properties

*messages_cs_CZ.properties

Here? -> enigma-dev/plugins/

I tried to put in but it doesn't work.

LateralGM (no recompile necessary) ??
lateralGM/org/lateralgm/messages_cs_CZ.properties
Where to paste? to enigma?
msys32/home/user/enigma-dev/

I can't compile the lateralGM project to create .jar

My translation beta 0.001
https://github.com/AGPLCZ/LateralGM/blob/master/org/lateralgm/messages/messages_cs_CZ.properties

Don't have a screenshot or video?

Or do I have to "install" again and do "make" or something like that? install.sh

Thank you
Title: Re: Translating - messages.properties
Post by: Goombert on April 07, 2020, 10:55:37 am
Hi! I'm familiar with the LGM code base, you could try creating a folder named "messages" next to the jar file and put your message properties file there, mimicking the directory structure of the jar itself. I can't guarantee that it will work as I don't think we've programmed an override to pick up external message properties in LGM, but it may be built into Java.

If you are still unable to get it to work, this is a reasonable feature I could add to LGM for you if you would like. I would also be willing to accept your properties file in the master repository.
Title: Re: Translating - messages.properties
Post by: Josh @ Dreamland on June 29, 2020, 08:26:25 am
We have a section in the wiki about this: https://enigma-dev.org/docs/Wiki/Translating#Translating_LateralGM

No promises as to how fresh it is.