Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A server with the specified hostname could not be found., #5

Open
hiren245 opened this issue Apr 19, 2021 · 1 comment
Open

A server with the specified hostname could not be found., #5

hiren245 opened this issue Apr 19, 2021 · 1 comment

Comments

@hiren245
Copy link

hiren245 commented Apr 19, 2021

Hi,

Translation is not working now. Earlier it was working.

I am trying in iOS Objective C

  • (void)getTokenWithText:(NSString *)text completion:(void (^)(NSString * _Nullable tokenData, NSString * _Nullable error))completionHandler

Above function returns error.

Thanks

@VictorZhang2014
Copy link
Owner

Hi @hiren245 You have to implement this server api https://api.yourdomain.com/api/google/token when you call getTokenWithText , and the implementation of the server api is that GoogleTrans.py file in this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants