Is it possible to use the Google_Translate Api Key without a billing account?

Ivanov Ivan 26 Reputation points
2024-09-14T14:07:57.5266667+00:00

Is it possible to use the Google_Translate Api Key without a billing account?

I created an ApiKey in the cloud.google.com.
I'm trying to activate ApiKey cloud.google.com
I get the message:
"Cloud Translation API requires a project with a billing account."

If I understood correctly, then I have to enter my payment details
I don't want to enter my payment details.

Question 1: Is it possible to use ApiKey Google_Translate without a billing account?

Question 2: What services does Google provide for translating text from one language to another for free?

The purpose of the question:

  • develop a text-based application that will translate text from one language to another;
  • The application will use Google services to translate the text.
  • The application is supposed to be used for personal purposes. For training.
  • the application will be developed using C#(.NET7)

User's image

User's image

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,858 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 84,546 Reputation points
    2024-09-15T11:27:23.82+00:00

    You can send a request to translate.google.com which generates a file named "json.txt" in JSON format, that you can parse.

    Main parameters are :

    q="sentence to be translated"

    sl=source language

    or

    sl=auto

    tl=translation language

    For example, with a french sentence "ma voiture est tombée en panne" :

    (link is cutted by editor, do copy-paste of the 2 lines...)

    https://translate.google.com/translate_a/single?client=gtx&sl=auto&tl=en&dt=t&q="ma voiture est tombée en panne"

    generates "json.txt" file with the translation "my car broke down"

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.