OJS contact form field not completed in Multilanguage

Dear All,
Recently I had installed OJS 3.2.1.2 in English and Arabic ,when I tried to edit contact details with 2 language ,All the field come with one language ,except Affiliation field “contactAffiliation-en_US” ,“contactAffiliation-ar_IQ” , the other fields come in one language . see photo attached.
image
How Can I enable the hidden fields

Hello @falmekhlafi,

Do you have the forms option enabled in the settings (Under Settings → Website - Setup (Languages) ) ?

Screen Shot 2020-12-08 at 8.20.57 AM

Best regards,

Roger

Hello @rcgillis
Thanks for your reply, yes it already enabled ,see attached photo
image

I have the same issue. OJS doesn’t show the form for the secondary language except affiliation field.

@rcgillis , @asmecher

the attribute isMultilingual is only for contactAffiliation field, other fileds doesn’t have this column. I added the attribute for other fields but that gives me an error.

Could anyone help here.

Hi @asrarahmadehsan (and @falmekhlafi),

The “Principal Contact” fields (except Affiliation) are currently not multilingual. If you’d like that to change, consider adding a feature request by creating a post following the template in this part of the forum:

I’m guessing you’d like to have contact information in both English and Arabic as they use different character sets, but that’s just my guess – if you can include information on why you’d like to request the change, that’ll help!

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks @asmecher for your reply,

In the contact page of the journal, email and phone number doesn’t need transalation since mostly emails are in english and phone numbers are numbers though everyone understands it. but Name, Affiliation and Mailing address need to be translated based on the selected language of the journal, because the character set is different as you mentioned.

In order to solve the problem somehow on my journal, first, I added secondary language locale in journal_setting table for name, affiliation and mailing address. second, I change the getData function to getLocalizedData in the following file and it show the content based on the selected language of the journal. But there changes cause an bug on the journal which does not change the language of the journal on this contact page.

Hi all,

You’re probably missing the changes to the JSON schema to match. Look in lib/pkp/schemas/context.json and make sure the multilingual attribute is set to true for data you want to make multilingual.

(And watch out for the data cache – make sure to reset that after making changes directly to the database.)

Regards,
Alec Smecher
Public Knowledge Project Team

This topic was automatically closed after 10 days. New replies are no longer allowed.