• Open module translation page and run next jquery in browser console: var ar = []; $('#translations_form .table input, #translations_form .table textarea').each(function(i){ if ($(this).css('background-color') == 'rgb(255, 187, 187)') { var index = $(this).attr('name'); var text = $(this).parent().prev().prev().text(); ar.push(index+' '+'||'+' '+text); } }); for (var i = 0; i < ar.length; i++) { console.log(ar[i]); }
  • Copy result from console and paste to clear excel table (en.xlsx), Find "VM1732:13 " and replace with "", save file.
  • Upload en.xlsx to "Google Translate" or translate by yourself, and save translated file (fr.xlsx for example).
  • Copy from fr.xlsx to a text editor and be sure that separator is " || " - space, not tab https://i.gyazo.com/752b447984e9e377e94af1f0a01e7f1f.png
  • At module translation page run next jquery in browser console:
  • Copy from text editor to inserted textarea and click "Fill new translations" https://i.gyazo.com/d7a18c177aefa1612cd4c207c69cda5b.png
  • Click Save