Can't import translations

If I import the translations-cs.csv file, the system will report this:

Inserted 0 new translations, updated 0 translations

Nothing imports

I tried it here too, and it's not:
http://demo.litecart.net/admin/

tim

(Moved as hijacking a different topic)

If I remember right there was an issue appending translations in later versions of LiteCart. If you scanned for new translations and LiteCart still does not import your translations in 2.1.6, then try grabbing translations.app/csv.inc.php from the latest dev release. Which provides a new option to append data.

Hello, to avoid this problem you should try to open CSV files in notepad++, and save them as .txt, then manually rename  .txt as .csv, then import it to Litecart with semicolon divider, I had a lot of problems before, because somebody adviced comma as divider, but there is also a lot of commas in the text, thats why there were errors with multiple columns. This worked for me for italian and czech.

tim

@user6616 The extension does not matter. If you have comas in your text while coma is the delimiter then all text must be encapsulated with ". And if " occurs in the text as well it has to be preceeded with two "". But LiteCart supports the most common variations.

i was in same, my solution:
add lenguaje in lenguaje tab > type all info about your lenguaje in it > disable other lenguajes > import your lenguaje CVS in traslations tab

tim

There is no need to disable other languages or setting the file extension to .txt.

What matters is the language code used and that the proper syntax format is set during import.

To edit a csv you can use LibreOffice Calc.

Ce fil de discussion a été fermé en raison d'une longue inactivité. Il n'est pas possible de publier dessus.
Voir le code sur GitHub