OJS and CustomLocale Plug-in

Hi everybody,
I have a question: I already checked old post but I could not find the answer.
I’d like to change the text “Current Issue” to “Current Volume”.
I have OJS and I just installed Custom Locale Plugin: customLocale-v1_1_0-1.tar.gz

Can you help me?

Thanks a lot,

Hi @Pau,

I see we don’t have much guidance on how to use that plugin, so I’ll describe it here:

  1. Install the Custom Locale Plugin (currently available in the Plugin Gallery).
  2. On the Installed Plugins list, click the checkbox beside Custom Locale Plugin to enable the plugin.
  3. In Settings > Website, you should now see a tab called Locales:

Good, you now have your plugin installed and ready to use. Now to change some specific text. There are a few steps involved:

  1. Find the text you want to change in the locale files. There are a few ways to do this:
    a. Use the Github search tools, specifying the following query:
    org:pkp "Current Issue" path:locale/en_US language:"Gettext Catalog"
    …where Current Issue is the text you want to search for, and locale/en_US says you want to search for locale files in the U.S. English language. (This helps narrow down the results to something helpful.)
    This will turn up the following result:
    …so the text you’re looking for appears in locale/en_US/editor.po.
    b. Use command-line tools on your server (or development machine):
    $ find . -name \*.po -exec fgrep -l "\"Current Issue\"" "{}" ";"
    …so the text could appear in those two files.
  2. Edit the text using the Custom Locale Plugin.
    Once you’ve identified the file that you need to edit, choose it in the Custom Locale Plugin. You can now use the Search tool to find and edit the piece of text you’re targeting:

Alec Smecher
Public Knowledge Project Team

1 Like

Hi Alec,
what I have to say: so clear now!!

Thanks a lot for your work, really!

Kind regards,

1 Like