Μεταφράστε Τίτλος API Cloud GroupDocs.Translation για τη μετάφραση από τα Αγγλικά στα Ουγγρικά σε Android (Translate Title: GroupDocs.Translation Cloud API για Μετάφραση Από Αγγλικά Σε Ουγγρικά Σε Android)
Το GroupDocs.Translation Cloud API είναι μια πλατφόρμα που παρέχει υπηρεσίες μετάφρασης κειμένου μέσω διαδικτύου. Με αυτήν την υπηρεσία, οι χρήστες μπορούν εύκολα να μεταφράσουν κείμενο από αγγλικά σε ουγγρικά, χρησιμοποιώντας την εφαρμογή τους σε Android. Η υπηρεσία αυτή παρέχει γρήγορες και ακριβείς μεταφράσεις, βοηθώντας τους χρήστες να κατανοήσουν και να επικοινωνήσουν με άλλες γλώσσες με ευκολία.
// Get your App SID, App Key and Storage Name at https://dashboard.groupdocs.cloud (free registration is required).
public TextResponse TranslateText(Configuration conf)
{
string pair = "en-hu";
string text = "Μεταφράστε Τίτλος API Cloud GroupDocs.Translation για τη μετάφραση από τα Αγγλικά στα Ουγγρικά σε Android (Translate Title: GroupDocs.Translation Cloud API για Μετάφραση Από Αγγλικά Σε Ουγγρικά Σε Android)";
TranslationApi api = new TranslationApi(conf);
TranslateTextRequest request = api.CreateTextRequest(pair, text);
TextResponse response = api.RunTranslationTextTask(request);
return response;
}
# Get your App SID, App Key and Storage Name at https://dashboard.groupdocs.cloud (free registration is required).
curl -X POST "https://api.groupdocs.cloud/v1.0/translation/text" \
-H "Authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-d '[{"pair":"en-hu", "text":"Μεταφράστε Τίτλος API Cloud GroupDocs.Translation για τη μετάφραση από τα Αγγλικά στα Ουγγρικά σε Android (Translate Title: GroupDocs.Translation Cloud API για Μετάφραση Από Αγγλικά Σε Ουγγρικά Σε Android)"}]'
# and response
{ "status":"ok", "message":"Text translated successfully", "translation":"....." }
// Get your App SID, App Key and Storage Name at https://dashboard.groupdocs.cloud (free registration is required).
import com.GroupDocs.translate.api.*;
import com.GroupDocs.translate.Configuration;
private static void setUpConfig() throws Exception {
Configuration.setAPP_SID("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX");
Configuration.setAPI_KEY("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
}
static String TranslateText() {
pair = "en-hu";
text = "Μεταφράστε Τίτλος API Cloud GroupDocs.Translation για τη μετάφραση από τα Αγγλικά στα Ουγγρικά σε Android (Translate Title: GroupDocs.Translation Cloud API για Μετάφραση Από Αγγλικά Σε Ουγγρικά Σε Android)";
TextInfo textInfo = new TextInfo(pair, text);
TranslationTextRequest translationTextRequest = new TranslationTextRequest(TextInfo.toString());
TranslationTextResponse translateTextResponse = TranslationApi.TranslateText(translationTextRequest);
return translateTextResponse.translation;
}
# Get your App SID, App Key and Storage Name at https://dashboard.groupdocs.cloud (free registration is required).
from groupdocstranslationcloud.configuration import Configuration
from groupdocstranslationcloud.api.translation_api import TranslationApi
from groupdocstranslationcloud.models.translate_text import TranslateText
from groupdocstranslationcloud.models.translate_document import TranslateDocument
# enter valid apiKey and appSid
configuration = Configuration(apiKey="", appSid="")
api = TranslationApi(configuration)
pair = "en-hu"
text = "Μεταφράστε Τίτλος API Cloud GroupDocs.Translation για τη μετάφραση από τα Αγγλικά στα Ουγγρικά σε Android (Translate Title: GroupDocs.Translation Cloud API για Μετάφραση Από Αγγλικά Σε Ουγγρικά Σε Android)"
translator = TranslateText(pair, text)
response = translator.to_string()
res_text = api.post_translate_text(response)
print(res_text.translation)
Features
Translation
GroupDocs.Translation Cloud offers advanced translation capabilities for translating text from English to Hungarian. It provides accurate and reliable translation results using state-of-the-art language processing technology.
Support for Android
The GroupDocs.Translation Cloud API is compatible with Android platform, allowing developers to integrate translation functionality into their Android applications with ease. The API can be used to translate text within Android apps, making it convenient for users to translate content on their mobile devices.
Document Translation
In addition to text translation, GroupDocs.Translation Cloud supports the translation of various document formats, such as Word documents, PDFs, and more. This capability enables users to translate entire documents from English to Hungarian, preserving the original formatting and layout.
Customization Options
The API offers customization options for translation, allowing users to specify specific terminology, style, or formatting preferences for the translated content. This ensures that the translated text maintains a consistent tone and context, tailored to the needs of the user or application.
Security and Privacy
GroupDocs.Translation Cloud prioritizes the security and privacy of translated content. The API employs industry-standard encryption and data protection measures to safeguard sensitive information during the translation process, ensuring the confidentiality of the translated text.