How to find an appropriate key in the xml file for translating language?

Hi,

I am using ojs 302. Currenly, I am trying to translate some keys which not available yet in my Indonesia language, such as: read more, archives, make submission, etc. I have found some keys, but many keys I dont (like attached figures).
I found this common.xml (pkp-lib/common.xml at e3c2c9572bcc2582d74e0d9c8f0c44364bdb92f3 · NateWr/pkp-lib · GitHub) to translate like “read more” in the announcement, but nothing is happens.
How can I find an appropriate key in the xml file for translating language?

Hi @eddhie,

Tagging @mtub, who manages translations.

There are a few ways to work with translations – you can use the Translator plugin, or work with the XML files directly. Make sure that you’re putting translation strings in the file that corresponds to where they appear in the English translation. Depending on what operating system you’re using, you can search the English files for strings by name. For example, in a Linux environment I could run…

fgrep -l -i common.homepagenavigationlabel `find . -name \*.xml | grep en_US`

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,

Currently, I am working with XML files and using Windows, but I dont know how to find an appropriate . I will try to use Translator plugin,

If anything happens, I will inform you

Thanks in advance,

Eddie