Giter Site home page Giter Site logo

Add Google Translate about tweetz HOT 13 CLOSED

Fruggy avatar Fruggy commented on July 21, 2024
Add Google Translate

from tweetz.

Comments (13)

mike-ward avatar mike-ward commented on July 21, 2024

What are you expecting for look and feel (how should the UI present this feature and how to activate it)?

from tweetz.

Fruggy avatar Fruggy commented on July 21, 2024

I would guess if the language isn't showing the preferred one then a button would be there to translate it to the preferred language.

I'm not good at this stuff and when I brought it up to you in email you asked me to put it here so I did.

from tweetz.

mike-ward avatar mike-ward commented on July 21, 2024

I'll mimic what twitter does in their UI. It's sensible and doesn't involve popups.

from tweetz.

mike-ward avatar mike-ward commented on July 21, 2024

Anyone interested in trying my first attempt at this? https://github.com/mike-ward/tweetz/suites/1609622510/artifacts/29447486

from tweetz.

Fruggy avatar Fruggy commented on July 21, 2024

Works great Mike! Thanks!

from tweetz.

mike-ward avatar mike-ward commented on July 21, 2024

This one is close to final. Also adds translate to quoted and related content when appropriate.

https://github.com/mike-ward/tweetz/suites/1612589201/artifacts/29536334

from tweetz.

Fruggy avatar Fruggy commented on July 21, 2024

Thanks

from tweetz.

mike-ward avatar mike-ward commented on July 21, 2024

OK, one small problem with the translation feature. It's not free. Currently, I'm using Microsoft's service because its free tier is the most generous (2M chars per month). I suspect that number will be exceeded at some point. The only sensible work around is to add some settings to allow folks to get/use their own service key from Microsoft. It's free but you do have to give them a credit card. Thoughts?

from tweetz.

Fruggy avatar Fruggy commented on July 21, 2024

If you have to add it, it's fine.
I'm wondering why Google Translate and Microsoft are not free to use and are they the same?

from tweetz.

mike-ward avatar mike-ward commented on July 21, 2024

Both API's are free to use to a point.

Google starts charging $15 per 1 million characters after the first 500,000 characters.

Microsoft starts charging $10 per 1 million characters after the first 2M characters.

from tweetz.

Fruggy avatar Fruggy commented on July 21, 2024

019

Does this mean the free limit has been reached?
I've been getting it for a few days now.
I also see nowhere to put the API from Google or Microsoft.

from tweetz.

mike-ward avatar mike-ward commented on July 21, 2024

Could not get Microsoft to put a spending cap on my credit card for this service. They are not forthcoming about this and after a few calls had to cancel.

Google's API is damn near impossible to use and again, I don't see a way to limit spending.

Other providers require a minimum of $25 per month and again, credit cards.

Usage was less than 10,000 chars per day. Well below limits but again, without a spending cap, not worth the risk.

I've got another solution in the works but it only supports 7 languages (en, ar, fr, de, it, pt, ru). Should have something later today.

As to adding your own keys to an API, that's more complicated than it seems. In the case of the Microsoft API you need 3 other pieces of info besides the API key. Not something I want to try to support.

from tweetz.

mike-ward avatar mike-ward commented on July 21, 2024

fixed in v2.9.1

from tweetz.

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.