ajnyga / tsvConverter

Excel to OJS3 XML conversion tool
GNU General Public License v3.0
17 stars 12 forks source link

What about if the artile have other main language #3

Closed josuevalrob closed 6 years ago

josuevalrob commented 6 years ago

I have a journal in Spanish.

Is it a good idea, just to upload all the fields in Spanish, and the translations fields, like fi:abstract, change to en:abstract and upload an abstract in English?.

ajnyga commented 6 years ago

Hi,

If you have all articles and all metadata in Spanish and an additional English abstract, then I would:

  1. Set https://github.com/ajnyga/tsvConverter/blob/master/convert.php#L12 to Spanish
  2. Add an extra en:abstract field to the excel sheet.

So basically exactly like you thought.

I would test this first for example with one issue and upload the XML file to a OJS test installation. This way you can check that the data is imported as expected and make possible corrections to the excel sheet if needed.

josuevalrob commented 6 years ago

Yeah, its work perfectly fine. I can navigate with the journal in Spanish and everything is fine.

When I change to English, the abstract change too. But not the title, I have just a Spanish title...

How can I add a title in English? Or in another language?

Can I contribute to your code?

ajnyga commented 6 years ago

You should be able to add en:title field to the excel sheet.

And of course you can.