Git Product home page Git Product logo

Comments (3)

ZhymabekRoman avatar ZhymabekRoman commented on May 27, 2024

I have only one solution - write own MyMemory page parser, instead of using API, because in web version of MyMemory auto detection works properly

from translate.

Animenosekai avatar Animenosekai commented on May 27, 2024

Screenshot 0005-01-26 at 12 36 18

The autotranslation does seem to work but it returns an "Auto" language response as the source language...

This might be the reason why there is a problem with the language method

from translate.

ZhymabekRoman avatar ZhymabekRoman commented on May 27, 2024

Closed in #95:

In [1]: from translatepy.translators.mymemory import MyMemoryTranslate

In [2]: dl = MyMemoryTranslate()

In [3]: dl.language("language")
Out[3]: LanguageResult(service=Translator(MyMemory), source='language', source_lang=Language(English))

In [4]: dl.language("Bonjour")
Out[4]: LanguageResult(service=Translator(MyMemory), source='Bonjour', source_lang=Language(French))

In [5]:

from translate.

Related Issues (20)

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.