Batch translations / Translating Content in batches

82 views
Skip to first unread message

tanisfr...@gmail.com

unread,
Oct 24, 2018, 4:37:25 PM10/24/18
to ica-ato...@googlegroups.com
Hi all,

but in batch/bulk for a fonds down to the item level. There are hundreds of items so it would be tedious to translate it field by field. Is there a way? I took a cursory look here and in the AtoM documentation but can't find anything.

Thanks for your assistance!
Tanis

Dan Gillean

unread,
Oct 29, 2018, 11:02:46 AM10/29/18
to ica-ato...@googlegroups.com
Hi Tanis, 

Unfortunately, there's no easy way to do this in AtoM currently.

For future descriptions, there is a way to import translated content at the same time as a new CSV import: if a row has the same legacyID as the preceding row, but a different value in the culture column, then AtoM should understand it as a translation and import it as such, rather than as a new / separate record. However, unfortunately this is not going to help you in the current situation. Sorry!

Regards, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory


On Wed, Oct 24, 2018 at 4:37 PM <tanisfr...@gmail.com> wrote:
but in batch for a fonds down to the item level. There are hundreds of items so it would be tedious to translate it field by field. Is there a way? I took a cursory look here and in the AtoM documentation but can't find anything.

Thanks for your assistance!
Tanis

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/632718bf-aa05-424c-a420-051c84e896e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

tanisfr...@gmail.com

unread,
Oct 30, 2018, 4:07:03 PM10/30/18
to AtoM Users
Hi Dan,

Actually that sounds good because I haven't published the description yet, I am testing it first to see if it works. FYI I'm trying to do something in Tamil and English.

I tried importing with the same legacy ID but different culture but it didn't work. I'll include a picture of what I tried. The slug is the fonds level. Any idea why it's not working? The English doesn't get input.

Thanks,
Tanis
Screen Shot 2018-10-30 at 3.58.40 PM.png

Dan Gillean

unread,
Oct 30, 2018, 5:53:17 PM10/30/18
to ica-ato...@googlegroups.com
Hi Tanis, 

I may have been premature in sharing that tip - I apologize, but it appears it may no longer work!

I was basing my suggestion off of this ticket: 
Back when we were working in 2.2, a developer and I discussed wanting a feature that would allow you to import translations, and filed this ticket. The developer I was working with at the time ended up marking the ticket as invalid because he discovered that this had already been added to the code, but never documented. I haven't yet documented it formally myself because I hadn't had the opportunity to test it out and discover exactly how it works, and its limitations, but it's something I've been meaning to investigate for a while. 

However, based on your reply, I did just perform a test, which also failed. I tried it both from the command-line and via the user interface, and in both cases, new records were made for all rows, and there were no warnings or errors when I used the same legacyID values for multiple rows. 

The CSV import code has undergone a lot of changes in both the 2.3 and 2.4 releases, and it's possible this legacy functionality was removed or overwritten at some point. Previously, if a CSV had the same legacyID value in more than 1 row and the culture values were the same, the import would throw an error and halt. As per the ticket linked above, if they had the same legacyID values but different culture values, then they should have been imported as translations. 

I am going to update the ticket linked above as new, and move it to the wish-list project, so we can review the functionality and hopefully include it in a future release, though it may require community sponsorship for us to be able to do so. For my own curiousity, I'm also going to ask around about this - unfortunately the original developer is no longer with us, but hopefully someone can point me to where this code is in older releases, and why / how it was removed. 

In the meantime, sorry for pointing you in the wrong direction! I regret to say that without this, I don't currently have any other suggestions for bulk translation in AtoM at present. 

Regards, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

tanisfr...@gmail.com

unread,
Oct 31, 2018, 9:23:52 AM10/31/18
to AtoM Users
Thanks so much for all that info and research. I will continue to follow this and maybe ask around about sponsorship. If there are any updates I will keep following or perhaps if you remember you can let me know.

Thanks again,
Tanis
Reply all
Reply to author
Forward
0 new messages