I would like to use openremote in Japanese.
Could you please tell me how to add an unsupported language and try it?
Hi language files can be added here openremote/manager/src/web/shared/locales at master · openremote/openremote · GitHub
Would be great if you could create the Japanese file and share? We’ll happily add it to the code for other Japanese users.
Hi Pierre,
Thanks for the advice.
I will check the code and give it a try.
If I have any questions, I will ask.
Once we are sure everything is okay, we will share it with you!
Don’t forget to update this file as well, to show Japanese as an option: openremote/index.ts at master · openremote/openremote · GitHub
Your timing was good.
I just found this code a few minutes ago.
Is it OK if I modify the translation file (ja folder) and this file and docker build it?
Should be OK indeed to modify it.
Hello,
How can I add new language (translated by myself) to my local OR instance built by issuing:
wget -c https://raw.githubusercontent.com/openremote/openremote/master/docker-compose.yml
docker-compose pull
OR_HOSTNAME=openremote.somedomain.com docker-compose -p openremote up
Regards,
Krzysztof
Hi!
You need to clone the OpenRemote repository on GitHub, and adjust the language files.
They should be located in the manager/src/web/shared/locales
folder.
Unfortunately, you need to build a new Docker image to apply these changes.
You’ll need to run the Gradle build process as shown here,
and then run your classic docker build
command.
Normally we tend to handle language contributions through GitHub pull requests instead haha