Porting code changes of 2.4.8 to 3.0.2

Hi!
As was many times mentioned, we desperaly need localization for names. At the same time we needed localization for references, as general rule is to have them all in Latin transcription but it is silly to give out to Russian readers reference list of Russian sources in English. we managed to patch our OJS 2.4.8 to have 2 versions of citations/references. Not to disengage citations functionality we decided just to replace the “citations” with localized “references” in Russian and made it by adding a localized “references” to “article_settins” table. Now we are trying to impose our 2.4.8 patches to 3.0.2. We generally managed with giving the localized references to reader but got stuck at saving the metadata. We can show it in forms, but can’t save it.
Pulled the data to forms @ file lib/pkp/templates/submission/submissionMetadataFormFields.tpl

///replace on line 67
{if $referencesEnabled} {fbvFormSection label="submission.citations"} {fbvElement type="textarea" id="citations" value=$citations disabled=$readOnly} {/fbvFormSection} {/if}

///with
{if $referencesEnabled} {fbvFormSection label="submission.citations"} {fbvElement type="textarea" id="citations" value=$citations disabled=$readOnly} {/fbvFormSection} {fbvFormSection label="submission.citations"} {fbvElement type="textarea" id="references" multilingual=true value=$references disabled=$readOnly} {/fbvFormSection} {/if}

Assumed data is saved @file classes/submission/SubmissionMetadataFormImplementation.inc.php, but generally can’t make the system save the edited metadata. Looks like Java is performing form verification at some point, but where? Also confused about localization_popover_container **localizationIncomplete**:

				<span class="label">Литература</span>								
							
<div>
	<script>
	$(function() {
		$('#references-localization-popover-container-590c2065690c0').pkpHandler(
			'$.pkp.controllers.form.MultilingualInputHandler'
			);
	});
	</script>
		<span id="references-localization-popover-container-590c2065690c0" class="localization_popover_container localizationIncomplete">
		<textarea id="references-ru_RU-590c2065690c0" rows="10" cols="80" class="localizable  " name="references[ru_RU]">

Any ideas?

Hi @apapyn,

These changes would be of use to others – would you be willing to put them in a branch on github.com? It’s a lot easier to work at code review and discussion in that environment.

Regards,
Alec Smecher
Public Knowledge Project Team