"Create new galley" language selection based on UI not Submissions

Hi @asmecher ,

I noticed that the language selection here is based on the UI language setting, not the Submissions language setting as I would presume. Is this a mistake or is there some logic here I did not understand?

So maybe this should be getSupportedSubmissionLocales instead? https://github.com/pkp/ojs/blob/master/controllers/grid/articleGalleys/form/ArticleGalleyForm.inc.php#L71

Hi @ajnyga,

I think @bozana might already be working on this.

Alec Smecher
Public Knowledge Project Team

1 Like

Hi @ajnyga

Ah, no, I am not already working on this – Alec probably thought about this: [OJS] Localised filenames complicate uploading submission files in multilingual journals · Issue #2114 · pkp/pkp-lib · GitHub.
But I think it does make sense to use submission locales for that list. It is also like this in OJS 2.4.x. S. the new issue for that: use supported submission locales for galley language · Issue #2509 · pkp/pkp-lib · GitHub

Thanks a lot!