Flashcard Export Simplified/Traditional

Shun

状元
Hello Mike,

when exporting flashcards, for the Chinese characters one can choose Simplified, Traditional, or Both. When choosing both, could Pleco include the Traditional characters only if they are different from Simplified, otherwise export a dash ("-") if they are the same? (like in the dictionary view) The reason for me is readability and space, a dash requiring less room on a page than a Chinese character. It could be a fourth option like "Both, if different".

Thanks a lot,

Arthur
 

mikelove

皇帝
Staff member
when exporting flashcards, for the Chinese characters one can choose Simplified, Traditional, or Both. When choosing both, could Pleco include the Traditional characters only if they are different from Simplified, otherwise export a dash ("-") if they are the same? (like in the dictionary view) The reason for me is readability and space, a dash requiring less room on a page than a Chinese character. It could be a fourth option like "Both, if different".

That's actually a little dicey because we would then have to also parse those -s (and turn them back into traditional characters) when words are reimported. But it would not be difficult to make this change yourself using a find-and-replace in a text editor that supported grep / regular expressions; it would be a series of find-and-replaces for each character position, like this:

First character: "^((.)[^\[]*\[)\2" to "\1-"
Second character: "^(.(.)[^\[]*\[.)\2" to "\1-"
Third character: "^(..(.)[^\[]*\[..)\2" to "\1-"
etc, adding one dot after the first and before the last parenthesis in the "Find" each time until you've covered the longest word in the file.
 
Top