Pages: 1
Author Topic: Translating - messages.properties  (54,565 Views)
Offline (Unknown gender) AGPLCZ

Member
Joined: Mar 2020
Posts: 1
View profile
Posted on: March 30, 2020, 03:54:49 PM
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
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #1 Posted on: April 07, 2020, 03:55:37 PM
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.
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #2 Posted on: June 29, 2020, 01:26:25 PM
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.
Pages: 1