Dear OJS Community,
we don’t need the OJS distinction between portuguese “from portugal” and portughese “from Brazil”. Therefore i would try to delete merely the specification label “portugal” in brackets which usually appear in the right side of the Table of contents (see below):
I can’t find the text in brackets neither in locale files “LOCALE/es_ES” nor "LIB/PKP/LOCALE/es_ES
It would be nice if someone could give me some directions about the exact location (file path) of the text in brackets.
Kind regards
Froberger
Hi @Froberger ,
What version of OJS are you using? (Please include this in your posts.)
Regards,
Alec Smecher
Public Knowledge Project Team
bozana
June 19, 2017, 8:01am
3
Hi @Froberger
I think they come from the file registry/locales.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!--
* registry/locales.xml
*
* Copyright (c) 2013-2019 Simon Fraser University
* Copyright (c) 2003-2019 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Locales registry file.
*
* This file lists all locales available to the system.
* (i.e., existing under the locales/ directory)
-->
<!DOCTYPE locales SYSTEM "../lib/pkp/dtd/locales.dtd">
<locales>
<locale key="ar_IQ" complete="true" name="العربية" iso639-2b="ara" iso639-3="ara" stylesheet="lib/pkp/styles/rtl-arabic.css" />
<locale key="ca_ES" complete="false" name="Català" iso639-2b="cat" iso639-3="cat" />
This file has been truncated. show original
Best,
Bozana
Thank you Bozana for your help.
@asmecher : thank you for reply. I am currently using OJS 2.4.3.0
@bozana : “(portugal)” is not a label, but rather belongs to syntax of “locale key”:
<locale key="pt_PT" complete="false" name="Português (Portugal)" iso639-2b="por" iso639-3="por" />
what do you think, could I delete it without stability problems?
all the best!
Froberger
bozana
June 19, 2017, 10:17am
6
Hi @Froberger
Yes, I think you can change the attribute “name” in that XML file…
Best,
Bozana