OJS 3, multi language article name

Hi everybody,

We have a 2 languages journal (English and Persian). For each article OJS 3.1 automatically get both English and Second language (here is Persian) field for abstract, title, keywords and … .But not for name and family name. Therefor we have problem for article details page while switching language from English to Persian all field change but not name and family name and it’s not appropriate.

Dear @asmecher I read here you told this feature is can be done but for some reasons this feature is not enabled. This is so important for languages like Persian. So I want to add this feature manually.


I understood for this purpose in `fbvFormSection` for name we have to add the feature `multilingual="true"` and also might change set and get username functions in `PKPUser.inv.php` to this:
	function getUsername($locale) {
		return $this->getData('username',$locale);
	}
	function setUsername($username, $locale) {
		$this->setData('username', $username, $locale);
	}

Is that true? Should I have make these changes at all.

And by the way what changes should I have make in root\templates\frontend\objects\article_details.tpl and any other file?

Thank you for your help

Hi @Frosty ,

Adding support for multilingual author/user names is a priority, but isn’t completed yet. See Improve author/user names · Issue #2958 · pkp/pkp-lib · GitHub for details.

Regards,
Alec Smecher
Public Knowledge Project Team

Dear @asmecher
Thanks for your reply. I was not available lest week to check your answer and thank you for your reply.

I checked the gitgub pull but I am not familiar with github at all. I tried to download changes of pull #3128 but I could not.
Is pull #3128 stable and I can use for my website? I also downloaded this link, but this files has not contained changes of pull #3128.
I will appreciate your help

Hi @Frosty,

This work has not yet been completed. There is a proposal from a contributor, but it hasn’t yet been merged into the core codebase. I would suggest waiting for a finalized official release of OJS with support for multilingual author/user names included.

Regards,
Alec Smecher
Public Knowledge Project Team

Dear @asmecher
Thanks for your reply. I have tested that codes for testing on a journal for couple of days and I find some bugs :grinning:, but OK I will wait for official OJS update for my main Journal.
Hope to here new update as soon as possible
Thank a lot

Dear @asmecher
Is there any approximate date for this update to be release?

Thanks

Hi @Frosty,

Not yet – the best way to watch for news on this is to sign up for notifications on the issue linked above.

Regards,
Alec Smecher
Public Knowledge Project Team