kindleclip icon indicating copy to clipboard operation
kindleclip copied to clipboard

"My Clippings.txt" in other languages

Open thegithubr opened this issue 8 years ago • 5 comments

I use Kindle Paperwhyte in Italian language, "My Clippings.txt" is written in Italian language and kindleclip (v0.5 from Debian repository) doesn't work with it. Error is: "There was an error parsing the requested file. Please make sure you present a file in the Kindle's "My Clippings.txt" format."

Best regards

thegithubr avatar Jan 30 '17 12:01 thegithubr

Sorry, didn't see this issue until now. I can try to add multilingual support to this program; could you send me the strings your My Clippings.txt file uses? FWIW, the labels I currently use (in English) are:

ItemTypes = ['Note', 'Bookmark', 'Highlight', 'Clip This Article']

And the header lines are always delimited by:

Regexp.new("^- (?:Your )?(#{ItemTypes.join('|')}) (.+) +\\| Added on (.+)")

So I would also need that delimiter.

Of course, if reading bits of Ruby and regular expressions are beyond you (and you don't mind at me looking at it), send me your full My Clippings file, and I'll work out a way to support it.

gwolf avatar Feb 21 '17 18:02 gwolf

Hi gwolf, In Paperwhite 2016 strings (italian) are: 'Note' = 'La tua nota' 'Bookmark' = 'Il tuo segnalibro' 'Highlight' = 'La tua evidenziazione' 'Clip This Article' = ???

See attach for more info: My Clippings.txt

Sorry, I don't know Ruby.

Best regards

thegithubr avatar Mar 07 '17 13:03 thegithubr

hello gwolf! thanks for your work, same for spanish: 'Note' = 'Tu nota' 'Bookmark' = 'Tu marcador' 'Highlight' = 'Tu subrayado' 'Clip This Article' = ???

See attach for more info: My Clippings.txt

jilguer avatar Apr 27 '17 20:04 jilguer

jilguer dijo [Thu, Apr 27, 2017 at 01:12:20PM -0700]:

hello gwolf! thanks for your work, same for spanish: 'Note' = 'Tu nota' 'Bookmark' = 'Tu marcador' 'Highlight' = 'Tu subrayado' 'Clip This Article' = ???

Thanks - I scratched my head for a bit on this, and have thought out how to implement it... But I'm holding it off a bit as I'm quite busy. The semester finishes in a month time, and I'll take a look at it.

gwolf avatar Apr 28 '17 17:04 gwolf

Same issue with my Kindle, in spanish language :thinking:

Thanatermesis avatar May 11 '22 01:05 Thanatermesis