Pages: 1
  Print  
Author Topic: Translating - messages.properties  (Read 16340 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: 2993

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.

Offline (Male) Josh @ Dreamland
Reply #2 Posted on: June 29, 2020, 08:26:25 am

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
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.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Pages: 1
  Print