View Single Post
Old 02-19-2024, 05:09 PM   #1475
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,117
Karma: 92190133
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by shamanNS View Post
Could you also add Serbian (language code "sr" ; and "sh" for rare cases of metadata set as Serbo-Croatian) to that list of languages? I've already tested and confirmed that plugin's work-around code works correctly by manually editing KPR_UNSUPPORTED_LANGUAGES in "original_source_epub.py" file
Or maybe even introduce a plugin tweak to externaly override / redefine that "KPR_UNSUPPORTED_LANGUAGES" list?
I am going to change the plugin to work differently in the next release. Instead of a list of languages that are known to fail conversion I will create a list of languages that are known to work. Any unrecognized language will be changed to English and then the original language will be put back into the KFX file that is created. That will be less effort to maintain in the long run.
jhowell is offline   Reply With Quote