Translating XML/Epub using DeepL
17-Mar-2023 874
I developed two ruby gems last year:natsukantou for XML translationepub-translator for Epub translationOriginally they started out as one simple script to call DeepL API. However gradually my use cases grew, and the script became very unmaintainable, with lots of duplicated code and similar method names. I needed something flexible, so I restarted from scratch.My goal was to make it very customizable to the user:Swappable components:translation engineplugin, e.g. glossary substitutionConfiguration of components at different level:Static config which is reusableOverridable at call timeUser friendly.
Translating XML/Epub using DeepL #ruby #rubydeveloper #rubyonrails #Translating #XML/Epub #using #DeepL https://rubyonrails.ba/link/translating-xml-epub-using-deepl