Coder Social home page Coder Social logo

translate-summary-field's Introduction

TRANSLATE SUMMARY FIELD - COMICRACK PLUGIN

As the title say, with this plugin for Comicrack you could translate the content of the "summary" field of the metadata of the comic to your language. Normally when you scrape the metadata with Comicvine, Bedetheque, Bonelli, FromDucks or any other scrapper plugin you have, the content could be not in you language. Beacuse i only know a little English, and i want to know about the comic before reading it. I do this plugin to translate this field.

This plugin not only translates the value of the "Summary" field but also creates a "Custom value" called "Summary_translated" which contains the language to which it is translated. With this you can make a Smart List to see for example which ones are not translated or which ones are translated to a certain language.

As the translation is done by Google, you have to be careful not to go through a large number of comics at once to avoid being banned.

I am not going to do as other developers do and include the necessary libraries inside plugin. What I have done is download python 2.7.0 from: https://www.python.org/ftp/python/2.7/Python-2.7.tgz. Then unzip it and copy the "Lib" directory hanging under the comicrack installation directory which in my case is "C:\Program Files\Comicrack"

I know other plugin developers don't like this solution, but I think that's a topic for discussion in another forum. The truth is that I have tried it and it works correctly.

If anybody want to include the libraries and deploy the plugin with it, it's free to do it.

I hope you find it useful and it makes your life easier.

translate-summary-field's People

Contributors

killo3967 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.