348 | | |
349 | | '''''Note to mentors:''''' |
350 | | * You can check the format of submitted csv files by importing them into OpenOffice or |
351 | | LibreOffice. Set the separator to comma and the quoting to double quotes. |
352 | | * Check that each line splits into two columns. |
353 | | * To check that the file is UTF-8 encoded, you can open it in to Notepad++ or gedit, |
354 | | or read it with Python codec. In a Python shell:[[br]] |
355 | | {{{ |
356 | | import codecs |
357 | | f = codecs.open("submitted_file.csv", "r", "utf-8") |
358 | | i = f.read() |
359 | | }}} |
360 | | That will throw an exception if the file is not UTF-8. |
361 | | * If there are rows without a translation, ask the student what the problem was with those rows. |
362 | | * 90% successful translations is acceptable. |
363 | | * Try to find someone who speaks the language to do a spot-check on quality. |
| 391 | |
| 392 | '''''Note to mentors:''''' |
| 393 | * You can check the format of submitted csv files by importing them into OpenOffice or |
| 394 | LibreOffice. Set the separator to comma and the quoting to double quotes. |
| 395 | * Check that each line splits into two columns. |
| 396 | * To check that the file is UTF-8 encoded, you can open it in to Notepad++ or gedit, |
| 397 | or read it with Python codec. In a Python shell:[[br]] |
| 398 | {{{ |
| 399 | import codecs |
| 400 | f = codecs.open("submitted_file.csv", "r", "utf-8") |
| 401 | i = f.read() |
| 402 | }}} |
| 403 | That will throw an exception if the file is not UTF-8. |
| 404 | * If there are rows without a translation, ask the student what the problem was with those rows. |
| 405 | * 90% successful translations is acceptable. |
| 406 | * Try to find someone who speaks the language to do a spot-check on quality. |