Custom Locale Plugin structure

I have the Custom Locale Plugin enabled. I’m having a hard time making sense of where things are. For example, how do I found out which xml locale file refers to the items on my home page?

Hi @inferlinkdev,

That plugin could use a little bit of UI/UX work before it’ll be as helpful as I’d like.

In order to know what locale key to modify, you’ll generally need to learn the layout of the template files so that you know where to look. Another option would be to add a “fake” locale with no translations, as OJS shows the translation key itself when the value is untranslated.

What text do you want to change?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher

Just saw your reply.
I’m just trying to change the “Current Issue” header to “Current Volume” on the front page.
Here’s my site: http://journals.sfu.ca/jair/index.php/jair

Kane

Hi @inferlinkdev,

That’s the journal.currentIssue and site.journalCurrent keys in locale/en_US/locale.xml.

Regards,
Alec Smecher
Public Knowledge Projcet Team

1 Like