Giter Club home page Giter Club logo

rogoogletranslate's People

Contributors

prine avatar yanste avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rogoogletranslate's Issues

400 response error

I'm not sure if this an issue with my API key or the formatting of the URL. Here is what my url request looks like:

https://www.googleapis.com/language/translate/v2?key=MYKEYISHERE&q=Here's%20what%20I'm&source=en&target=ja&format=text

Then this is the 400 response that I'm getting:

{ Status Code: 400, Headers {
    "Cache-Control" =     (
        private
    );
    "Content-Encoding" =     (
        gzip
    );
    "Content-Length" =     (
        181
    );
    "Content-Type" =     (
        "application/json; charset=UTF-8"
    );
    Date =     (
        "Fri, 16 Feb 2018 23:38:01 GMT"
    );
    Server =     (
        ESF
    );
    Vary =     (
        Origin,
        "X-Origin",
        Referer
    );
    "alt-svc" =     (
        "hq=\":443\"; ma=2592000; quic=51303431; quic=51303339; quic=51303338; quic=51303337; quic=51303335,quic=\":443\"; ma=2592000; v=\"41,39,38,37,35\""
    );
    "x-content-type-options" =     (
        nosniff
    );
    "x-frame-options" =     (
        SAMEORIGIN
    );
    "x-xss-protection" =     (
        "1; mode=block"

    );
}

Maybe I have my API key wrong? I'm using the value of private_key_id after creating a new project on Google Cloud Platform API.

Any help would be much appreciated!

OSX support

Seems like osx is not supported

[!] The platform of the target `App` (OS X 10.12) is not compatible with `ROGoogleTranslate (0.0.5)`, which does not support `osx`.

struggling to run the app

Hi i downloaded the project and followed the instructions provided. My understanding of the instructions was to just insert my own api key and then compile the app and then insert the text that is to be translated into the textfield and the app should work, so i went into google translate console and obtained the google translate api and had enabled the api. I inserted the api within the code. When i run the app and type in the text to translate and then press the 'translate' button. I get the following output.
"2017-02-25 22:38:40.667724 ROGoogleTranslate[18027:1355532] [] nw_host_stats_add_src recv too small, received 24, expected 28
2017-02-25 22:38:40.675490 ROGoogleTranslate[18027:1355532] [] ____nwlog_simulate_crash_inner_block_invoke dlopen CrashReporterSupport failed
2017-02-25 22:38:40.676338 ROGoogleTranslate[18027:1355532] [] __nwlog_err_simulate_crash simulate crash failed "nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available"
2017-02-25 22:38:40.678888 ROGoogleTranslate[18027:1355532] [] nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping backtrace"

I also get the following error each time i click the translate button
'Response [403] - 230 bytes'
I tried googling the errors but got no luck!
I have posted the issue on stack overflow http://stackoverflow.com/questions/42449468/implementing-google-translation-api-in-swift-3-ios
Is this an error with the code or is it with it my api key, or do i need to alter the code more in order for the app to work.
ThankYou

Issue in translating "en" to "en"

HI
When i giving same language for translation for source and target it is not doing translation

params.source = fromLanguage.text ?? "fr"
params.target = toLanguage.text ?? "fr"

Can you please advise on this

THanks

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.