Pages: 1
  Print  
Author Topic: Translating - messages.properties  (Read 576 times)
Offline (Unknown gender) AGPLCZ
Posted on: March 30, 2020, 10:54:49 AM
Member
Joined: Mar 2020
Posts: 1

View Profile
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
Logged
Offline (Male) Goombert
Reply #1 Posted on: April 07, 2020, 10:55:37 AM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3108

View Profile
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.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Pages: 1
  Print