تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel

تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel
جدول المحتويات

بالنسبة لأولئك الذين يمتلكون Laravel ، يعد توفير محتوى ترجمة دقيق وطبيعي أمرًا مهمًا للغاية لترجمة موقع الويب الخاص بك وتقديم تجربة مستخدم جيدة.

لحسن الحظ، تتوفر العديد من خدمات الترجمة التلقائية لمساعدة المطورين على التغلب على هذا التحدي، بما في ذلك Google Cloud AI API Translation وGoogle Translate. توفر كلتا الخدمتين إمكانات الترجمة باستخدام تكنولوجيا الآلة.

في هذه المقالة، سوف نستكشف الاختلافات الرئيسية بين تنفيذ Google Cloud AI Translation وتطبيقات Google Translate لتطبيقات Laravel ونوصي بأفضل خدمات الترجمة لموقع Laravel .

ما هي ترجمة Google Cloud AI API وترجمة Google؟

قبل الدخول في المناقشة، سنناقش المعاني الخاصة بـ Google Cloud AI API وترجمات Google Translate.

ترجمة Google Cloud AI API

ترجمة Google Cloud AI - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel

Google Cloud AI API Translation هي خدمة ترجمة آلية تقدمها Google Cloud Platform. تستفيد هذه الخدمة من أحدث تقنيات الذكاء الاصطناعي والتعلم الآلي لتقديم ترجمات دقيقة وطبيعية للنصوص والصوت والمستندات.

تستخدم Google Cloud AI API Translation نماذج ترجمة عصبية تعتمد على التعلم العميق، مما يسمح لها بالتقاط الفروق الدقيقة في اللغة والسياق بشكل أفضل، مما يوفر المزيد من الترجمات الاصطلاحية التي تتوافق مع الاستخدام الفعلي للغة. بالإضافة إلى ذلك، فإن استخدام Google Cloud AI Translation لما يصل إلى 500000 حرف مجاني، في حين أن الـ 75000 حرف التالية ستتحمل تكلفة قدرها 20 دولارًا لكل مليون حرف.  

جوجل المترجم

Google Translate - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel

وفي الوقت نفسه، تعد خدمة Google Translate خدمة ترجمة نصية آلية قديمة ومعروفة على نطاق واسع. ويستخدم نهجًا أكثر تقليدية للترجمة الإحصائية، والذي يولد ترجمات بناءً على الأنماط والاحتمالات المستفادة من مجموعات بيانات التدريب الكبيرة.

على الرغم من أنها ليست متقدمة مثل ترجمة Google Cloud AI API من حيث الدقة والتعامل مع الفروق الدقيقة في اللغة، إلا أن ترجمة Google تظل خيارًا شائعًا نظرًا لسهولة استخدامها وتوافرها مجانًا للاستخدام غير التجاري.

تنفيذ ترجمة Google Cloud AI API على Laravel

تستخدم العديد من خدمات الترجمة، بما في ذلك Linguise AI Translation السحابية لترجمة مواقع الويب.

تستخدم خدمة ترجمة اللغة Cloud AI API كأحد تقنيات الترجمة الخاصة بها. فيما يلي خطوات التنفيذ على Laravel . نفترض هنا أن لديك بالفعل موقعًا جاهزًا Laravel .

إنشاء حساب Linguise

لاستخدام Linguise ، يجب عليك تسجيل حساب أولاً. يمكنك القيام بذلك مجانًا أو الاشتراك لمدة شهر أو سنة. ما عليك سوى تقديم معلومات مثل البريد الإلكتروني واسم المستخدم وكلمة المرور.

إضافة معلومات موقع Laravel

بعد ذلك، أضف معلومات حول موقع الويب الذي ستستخدمه، وأدخل معلومات حساب Linguise الخاص بك وعنوان URL للويب، وحدد منصة Laravel ، وأضف اللغة الافتراضية واللغة التي تريد إضافتها إلى موقع الويب.

 

إضافة موقع ويب للمجال - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel

ثم قم بتنزيل برنامج PHP النصي عبر الزر التالي واحفظه على جهاز الكمبيوتر المحلي الخاص بك.

تحميل وتكوين البرنامج النصي PHP

بعد تنزيل البرنامج النصي، قم بفك ضغطه وتحميله إلى المجلد الجذر حيث تم تثبيت Laravel . تأكد من وجوده في جذر تثبيت Laravel الخاص بك (عادةً حيث توجد ملفات CMS الخاصة بك). تأكد من تسمية المجلد "linguise" (الاسم الافتراضي عند فك ضغط المجلد).

التحميل على مجلد Linguise - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel

بعد ذلك، يجب نسخ مفتاح Linguise API إلى ملف …/linguise/Configuration.php الذي قمت بتحميله إلى الخادم الخاص بك. قم بتحرير الملف ولصق مفتاح API الخاص بك بين علامتي الاقتباس، مع استبدال النص REPLACE_BY_YOUR_TOKEN.

استبدال مفتاح API - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel

أدخل البرنامج النصي لمحول اللغة

بعد ذلك، أدخل البرنامج النصي لتبديل اللغة الذي حصلت عليه من Linguise .

Script Language Switcher - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel

تم إدراجه في ملف front.blade.php الموجود في دليل Resources/views/layouts/. هنا معاينة للبرنامج النصي المدرج.

Front Blade.php - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel

تكوين .htaccess

وأخيرًا، يجب تكوين عناوين URL المستندة إلى اللغة في ملف htaccess. إذا كان ملفك يتضمن "RewriteBase /"، فما عليك سوى نسخ ولصق الكود التالي بعد هذا السطر.

				
					<ifmodule mod_rewrite.c>
  RewriteEngine On
  RewriteRule ^(af|sq|am|ar|hy|az|eu|be|bn|bs|bg|ca|ceb|ny|zh-cn|zh-tw|co|hr|cs|da|nl|en|eo|et|tl|fi|fr|fy|gl|ka|de|el|gu|ht|ha|haw|iw|hi|hmn|hu|is|ig|id|ga|it|ja|jw|kn|kk|km|ko|ku|ky|lo|la|lv|lt|lb|mk|mg|ms|ml|mt|mi|mr|mn|my|ne|no|ps|fa|pl|pt|pa|ro|ru|sm|gd|sr|st|sn|sd|si|sk|sl|so|es|su|sw|sv|tg|ta|te|th|tr|uk|ur|uz|vi|cy|xh|yi|yo|zu|zz-zz)(?:$|/)(.*)$ linguise/linguise.php?linguise_language=$1&amp;original_url=$2 [L,QSA]
</ifmodule>
				
			

منتهي. في هذه المرحلة، لقد نجحت في تنفيذ ترجمة Cloud AI API على Linguise . الآن يمكنك التحقق من Laravel . سيظهر محوّل اللغة الافتراضي، ويمكنك تخصيص محوّل اللغة لـ Laravel عبر لوحة المعلومات.

محوّل اللغة Laravel - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel

تنفيذ ترجمة جوجل على Laravel

سنحاول الآن تنفيذ خدمة الترجمة من Google في Laravel. نفترض هنا أنك قمت بإنشاء مشروع Laravel بنجاح وتحتاج فقط إلى إضافة خدمة الترجمة من Google.

يمكنك أيضًا العثور على خطوات التثبيت التالية على Laravel الرسمي .

قم بتثبيت حزمة مترجم جوجل

لتثبيت حزمة مترجم Google، افتح موجه المشروع وأدخل الأمر التالي. ستمكنك هذه الحزمة من الاستفادة من وظائف العمل الخاصة بلغة مترجم جوجل.

				
					composer require stichoza/google-translate-php
				
			

إعداد حزمة مترجم جوجل

يجب علينا إعداد "حزمة مترجم جوجل" داخل التطبيق. افتح ملف app.php في المجلد /config، وابحث عن قسم "الأسماء المستعارة"، وأضف السطر التالي من التعليمات البرمجية.

App.php - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel
				
					/*
|--------------------------------------------------------------------------
| Class Aliases
|--------------------------------------------------------------------------
|
| This array of class aliases will be registered when this application
| is started. However, feel free to register as many as you wish as
| the aliases are "lazy" loaded so they don't hinder performance.
|
*/

'aliases' =&gt; Facade::defaultAliases()-&gt;merge([
    // 'Example' =&gt; App\Facades\Example::class,
    'GoogleTranslate' =&gt; Stichoza\GoogleTranslate\GoogleTranslate::class,
])-&gt;toArray(),

				
			

إعداد وحدة تحكم اللغة

تحتاج إلى إنشاء ملف وحدة تحكم اللغة كما يلي

				
					php artisan make:controller LangController
				
			

سيتم إنشاء ملف LangController.php داخل المجلد /app/Http/Controllers.

وحدة التحكم باللغة - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel
				
					<?php namespace App\Http\Controllers;

use Illuminate\Contracts\View\View;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\App;

class LangController extends Controller
{
    public function index(): View
    {
        return view('lang');
    }

    public function change(Request $request)
    {
        App::setLocale($request->lang);
        
        session()-&gt;put('locale', $request-&gt;lang);

        return redirect()-&gt;back();
    }
}


				
			

إنشاء ملف قالب بليد

انتقل إلى المجلد /resources/views وقم بإنشاء ملف باسم lang.blade.php. افتح الملف وأدخل الكود التالي فيه.

LangBlade.php - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel
				
					



    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Laravel 10 Create Multi Language Website Tutorial</title> <script type="litespeed/javascript" data-src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script type="application/ld+json" class="gnpub-schema-markup-output">{"@context":"https:\/\/schema.org\/","@type":"NewsArticle","@id":"https:\/\/www.linguise.com\/blog\/guide\/implement-google-cloud-ai-api-translation-vs-google-translate-for-laravel\/#newsarticle","url":"https:\/\/www.linguise.com\/blog\/guide\/implement-google-cloud-ai-api-translation-vs-google-translate-for-laravel\/","image":{"@type":"ImageObject","url":"https:\/\/www.linguise.com\/wp-content\/uploads\/2024\/05\/Implement-Google-Cloud-AI-API-translation-vs-Google-Translate-for-Laravel-150x150.png","width":150,"height":150},"headline":"Implement Google Cloud AI API translation vs Google Translate for Laravel","mainEntityOfPage":"https:\/\/www.linguise.com\/blog\/guide\/implement-google-cloud-ai-api-translation-vs-google-translate-for-laravel\/","datePublished":"2024-05-31T07:32:47+00:00","dateModified":"2024-08-26T19:19:15+00:00","description":"For those of you who own Laravel-based websites, providing accurate and natural translation content is very important to translate your website and offer a good","articleSection":"Guide","articleBody":"For those of you who own Laravel-based websites, providing accurate and natural translation content is very important to translate your website and offer a good user experience.\nFortunately, several automatic translation services are available to help developers overcome this challenge, including Google Cloud AI API Translation and Google Translate. Both services offer translation capabilities using machine technology.\nIn this article, we will explore the main differences between implementing Google Cloud AI Translation and Google Translate for Laravel applications and recommend the best translation services for your Laravel website.&nbsp;\t\t\n\t\t\tWhat are Google Cloud AI API translation &amp; Google Translate?\n\t\t\n\t\tBefore entering into the discussion, we will discuss the respective meanings of Google Cloud AI API and Google Translate translations.\t\t\n\t\t\tGoogle Cloud AI API translation\n\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\tGoogle Cloud AI API Translation is an advanced automatic translation service provided by Google Cloud Platform. This service leverages the latest artificial intelligence (AI) and machine learning technologies to deliver accurate and natural translations of text, voice, and documents.Google Cloud AI API Translation uses neural translation models based on deep learning, which allows it to capture language nuances and context better, providing more idiomatic translations that align with actual language usage. Additionally, using Google Cloud AI Translation for up to 500,000 characters is free of charge, while the next 75,000 characters will incur a cost of $20 per million characters.\u00a0\t\t\n\t\t\tGoogle Translate\n\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\tMeanwhile, Google Translate is a long-standing and widely known automatic text translation service. It uses a more traditional statistical translation approach, which generates translations based on patterns and probabilities learned from large training datasets.Although it is not as advanced as Google Cloud AI API Translation in terms of accuracy and handling language nuances, Google Translate remains a popular choice due to its ease of use and free availability for non-commercial use.\t\t\n\t\t\tImplement Google Cloud AI API translation on Laravel\n\t\t\n\t\tSeveral translation services, including Linguise, use AI Translation cloud technology to translate websites.The language translation service uses cloud AI API as one of its translation technologies. The following are the implementation steps on the Laravel website. We assume here that you already have a ready Laravel project website.\t\t\n\t\t\tCreate Linguise account\n\t\t\n\t\tTo use Linguise, you must register an account first. You can do this for free or subscribe for one month or a year. You only need to provide information such as your email, username, and password.\t\t\n\t\t\tAdd Laravel website info\n\t\t\n\t\tAfter that, add information about the website you will use, enter your Linguise account info and web URL, select the Laravel platform, and add the default language and the language you want to add to the website.\u00a0\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\tThen download the PHP script via the following button and save it on your local computer.\t\t\n\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tDOWNLOAD PHP-JS TRANSLATION SCRIPT\n\t\t\t\t\t\n\t\t\tUpload and configure the PHP script\n\t\t\n\t\tAfter downloading the script, unzip it and upload it to the root folder where Laravel is installed. Ensure it is located at the root of your Laravel installation (typically where your CMS files are). Ensure the folder is named \"linguise\" (the default name when the folder is unzipped).\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\tThen, the Linguise API key must be copied into the \u2026\/linguise\/Configuration.php file you uploaded to your server. Edit the file and paste your API key between the quotes, replacing the text REPLACE_BY_YOUR_TOKEN.\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\tInsert script of language switcher\t\t\n\t\tNext, insert the language switch script that you got from the Linguise dashboard.\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\tInserted into the front.blade.php file in the resources\/views\/layouts\/ directory. Here is a preview of the inserted script.\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\tConfigure .htaccess\n\t\t\n\t\tLastly, language-based URLs need to be configured in the .htaccess file. If your file includes \"RewriteBase \/,\" simply copy and paste the following code after that line.\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n  RewriteEngine On\n  RewriteRule ^(af|sq|am|ar|hy|az|eu|be|bn|bs|bg|ca|ceb|ny|zh-cn|zh-tw|co|hr|cs|da|nl|en|eo|et|tl|fi|fr|fy|gl|ka|de|el|gu|ht|ha|haw|iw|hi|hmn|hu|is|ig|id|ga|it|ja|jw|kn|kk|km|ko|ku|ky|lo|la|lv|lt|lb|mk|mg|ms|ml|mt|mi|mr|mn|my|ne|no|ps|fa|pl|pt|pa|ro|ru|sm|gd|sr|st|sn|sd|si|sk|sl|so|es|su|sw|sv|tg|ta|te|th|tr|uk|ur|uz|vi|cy|xh|yi|yo|zu|zz-zz)(?:$|\/)(.*)$ linguise\/linguise.php?linguise_language=$1&original_url=$2 [L,QSA]\n\n\t\t\t\t\n\t\t\t\n\t\tDone. At this point, you have successfully implemented cloud AI API Translation on the Linguise service. Now, you can check the Laravel website. A default language switcher will appear, and you can customize the Language switcher for Laravel via the dashboard.\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\tImplement Google Translate on Laravel\t\t\n\t\tNow we will try to implement Google Translate in Laravel. Here we assume that you have successfully created a Laravel project and just need to add Google Translate.You can also find the following installation steps on the official Laravel website.\t\t\n\t\t\tInstall Google Translator Package\n\t\t\n\t\tTo install the Google Translator Package, open the project prompt and input the following command. This package will enable you to utilize the working functions of the google-translator-language.\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\tcomposer require stichoza\/google-translate-php\n\t\t\t\t\n\t\t\t\n\t\t\tSetting of Google Translator Package\n\t\t\n\t\tWe must set up the \"google translator package\" within the the application. Open the app.php file in the \/config folder, find the \"aliases\" section, and add the following line of code.\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\/*\n|--------------------------------------------------------------------------\n| Class Aliases\n|--------------------------------------------------------------------------\n|\n| This array of class aliases will be registered when this application\n| is started. However, feel free to register as many as you wish as\n| the aliases are \"lazy\" loaded so they don't hinder performance.\n|\n*\/\n'aliases' => Facade::defaultAliases()->merge([\n    \/\/ 'Example' => AppFacadesExample::class,\n    'GoogleTranslate' => StichozaGoogleTranslateGoogleTranslate::class,\n])->toArray(),\n\n\t\t\t\t\n\t\t\t\n\t\t\tSetup Language Controller\n\t\t\n\t\tYou need to create a language controller file like the following\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\tphp artisan make:controller LangController\n\t\t\t\t\n\t\t\t\n\t\tIt will create LangController.php file inside \/app\/Http\/Controllers folder.","keywords":"","name":"Implement Google Cloud AI API translation vs Google Translate for Laravel","thumbnailUrl":"https:\/\/www.linguise.com\/wp-content\/uploads\/2024\/05\/Implement-Google-Cloud-AI-API-translation-vs-Google-Translate-for-Laravel-150x150.png","wordCount":809,"timeRequired":"PT3M35S","mainEntity":{"@type":"WebPage","@id":"https:\/\/www.linguise.com\/blog\/guide\/implement-google-cloud-ai-api-translation-vs-google-translate-for-laravel\/"},"author":{"@type":"Person","name":"Tristan","url":"https:\/\/www.linguise.com\/author\/tristan\/","sameAs":[],"image":{"@type":"ImageObject","url":"https:\/\/secure.gravatar.com\/avatar\/50d7238660b192d8d54ebf6367be5e97bb41c24dbd190daae062d931efd351ae?s=96&d=mm&r=g","height":96,"width":96}},"editor":{"@type":"Person","name":"Tristan","url":"https:\/\/www.linguise.com\/author\/tristan\/","sameAs":[],"image":{"@type":"ImageObject","url":"https:\/\/secure.gravatar.com\/avatar\/50d7238660b192d8d54ebf6367be5e97bb41c24dbd190daae062d931efd351ae?s=96&d=mm&r=g","height":96,"width":96}}}</script> 


    <div class="container mt-5">
        <div class="row">
            <div class="col-md-12">
                <div class="card w-75 m-auto">
                    <div class="card-header text-center bg-primary text-white">
                        <h4 style="font-size: 17px;">Laravel 10 Create Multi Language Website Tutorial</h4>
                    </div>
                    <div class="card-body">
                        <div class="row">
                            <div class="col-md-4">
                                <strong>Select Language: </strong>
                            </div>
                            <div class="col-md-4">
                                <select class="form-select changeLang">
                                    <option value="en" session>get('locale') == 'en' ? 'selected' : '' }}&gt;
                                        English
                                    </option>
                                    <option value="fr" session>get('locale') == 'fr' ? 'selected' : '' }}&gt;
                                        French
                                    </option>
                                    <option value="ar" session>get('locale') == 'ar' ? 'selected' : '' }}&gt;
                                        Arabic
                                    </option>
                                    <option value="hi" session>get('locale') == 'hi' ? 'selected' : '' }}&gt;
                                        Hindi
                                    </option>
                                </select>
                            </div>
                        </div>

                        <div style="margin-top: 20px;">
                            <p>{{ GoogleTranslate::trans('Welcome to Online Web Tutor', app()-&gt;getLocale()) }}</p>
                            <p>{{ GoogleTranslate::trans('It is a passionate and innovative Web Development Community dedicated to empowering aspiring web developers with the latest tools and techniques. Our platform offers a comprehensive range of web development courses, including PHP and its frameworks, Node.js, MySQL, Javascript and WordPress.', app()-&gt;getLocale()) }}
                            </p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

     <script data-no-optimize="1">!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).LazyLoad=e()}(this,function(){"use strict";function e(){return(e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,a=arguments[e];for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])}return t}).apply(this,arguments)}function i(t){return e({},it,t)}function o(t,e){var n,a="LazyLoad::Initialized",i=new t(e);try{n=new CustomEvent(a,{detail:{instance:i}})}catch(t){(n=document.createEvent("CustomEvent")).initCustomEvent(a,!1,!1,{instance:i})}window.dispatchEvent(n)}function l(t,e){return t.getAttribute(gt+e)}function c(t){return l(t,bt)}function s(t,e){return function(t,e,n){e=gt+e;null!==n?t.setAttribute(e,n):t.removeAttribute(e)}(t,bt,e)}function r(t){return s(t,null),0}function u(t){return null===c(t)}function d(t){return c(t)===vt}function f(t,e,n,a){t&&(void 0===a?void 0===n?t(e):t(e,n):t(e,n,a))}function _(t,e){nt?t.classList.add(e):t.className+=(t.className?" ":"")+e}function v(t,e){nt?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")}function g(t){return t.llTempImage}function b(t,e){!e||(e=e._observer)&&e.unobserve(t)}function p(t,e){t&&(t.loadingCount+=e)}function h(t,e){t&&(t.toLoadCount=e)}function n(t){for(var e,n=[],a=0;e=t.children[a];a+=1)"SOURCE"===e.tagName&&n.push(e);return n}function m(t,e){(t=t.parentNode)&&"PICTURE"===t.tagName&&n(t).forEach(e)}function a(t,e){n(t).forEach(e)}function E(t){return!!t[st]}function I(t){return t[st]}function y(t){return delete t[st]}function A(e,t){var n;E(e)||(n={},t.forEach(function(t){n[t]=e.getAttribute(t)}),e[st]=n)}function k(a,t){var i;E(a)&&(i=I(a),t.forEach(function(t){var e,n;e=a,(t=i[n=t])?e.setAttribute(n,t):e.removeAttribute(n)}))}function L(t,e,n){_(t,e.class_loading),s(t,ut),n&&(p(n,1),f(e.callback_loading,t,n))}function w(t,e,n){n&&t.setAttribute(e,n)}function x(t,e){w(t,ct,l(t,e.data_sizes)),w(t,rt,l(t,e.data_srcset)),w(t,ot,l(t,e.data_src))}function O(t,e,n){var a=l(t,e.data_bg_multi),i=l(t,e.data_bg_multi_hidpi);(a=at&&i?i:a)&&(t.style.backgroundImage=a,n=n,_(t=t,(e=e).class_applied),s(t,ft),n&&(e.unobserve_completed&&b(t,e),f(e.callback_applied,t,n)))}function N(t,e){!e||0<e.loadingCount||0<e.toLoadCount||f(t.callback_finish,e)}function C(t,e,n){t.addEventListener(e,n),t.llEvLisnrs[e]=n}function M(t){return!!t.llEvLisnrs}function z(t){if(M(t)){var e,n,a=t.llEvLisnrs;for(e in a){var i=a[e];n=e,i=i,t.removeEventListener(n,i)}delete t.llEvLisnrs}}function R(t,e,n){var a;delete t.llTempImage,p(n,-1),(a=n)&&--a.toLoadCount,v(t,e.class_loading),e.unobserve_completed&&b(t,n)}function T(o,r,c){var l=g(o)||o;M(l)||function(t,e,n){M(t)||(t.llEvLisnrs={});var a="VIDEO"===t.tagName?"loadeddata":"load";C(t,a,e),C(t,"error",n)}(l,function(t){var e,n,a,i;n=r,a=c,i=d(e=o),R(e,n,a),_(e,n.class_loaded),s(e,dt),f(n.callback_loaded,e,a),i||N(n,a),z(l)},function(t){var e,n,a,i;n=r,a=c,i=d(e=o),R(e,n,a),_(e,n.class_error),s(e,_t),f(n.callback_error,e,a),i||N(n,a),z(l)})}function G(t,e,n){var a,i,o,r,c;t.llTempImage=document.createElement("IMG"),T(t,e,n),E(c=t)||(c[st]={backgroundImage:c.style.backgroundImage}),o=n,r=l(a=t,(i=e).data_bg),c=l(a,i.data_bg_hidpi),(r=at&&c?c:r)&&(a.style.backgroundImage='url("'.concat(r,'")'),g(a).setAttribute(ot,r),L(a,i,o)),O(t,e,n)}function D(t,e,n){var a;T(t,e,n),a=e,e=n,(t=It[(n=t).tagName])&&(t(n,a),L(n,a,e))}function V(t,e,n){var a;a=t,(-1<yt.indexOf(a.tagName)?D:G)(t,e,n)}function F(t,e,n){var a;t.setAttribute("loading","lazy"),T(t,e,n),a=e,(e=It[(n=t).tagName])&&e(n,a),s(t,vt)}function j(t){t.removeAttribute(ot),t.removeAttribute(rt),t.removeAttribute(ct)}function P(t){m(t,function(t){k(t,Et)}),k(t,Et)}function S(t){var e;(e=At[t.tagName])?e(t):E(e=t)&&(t=I(e),e.style.backgroundImage=t.backgroundImage)}function U(t,e){var n;S(t),n=e,u(e=t)||d(e)||(v(e,n.class_entered),v(e,n.class_exited),v(e,n.class_applied),v(e,n.class_loading),v(e,n.class_loaded),v(e,n.class_error)),r(t),y(t)}function $(t,e,n,a){var i;n.cancel_on_exit&&(c(t)!==ut||"IMG"===t.tagName&&(z(t),m(i=t,function(t){j(t)}),j(i),P(t),v(t,n.class_loading),p(a,-1),r(t),f(n.callback_cancel,t,e,a)))}function q(t,e,n,a){var i,o,r=(o=t,0<=pt.indexOf(c(o)));s(t,"entered"),_(t,n.class_entered),v(t,n.class_exited),i=t,o=a,n.unobserve_entered&&b(i,o),f(n.callback_enter,t,e,a),r||V(t,n,a)}function H(t){return t.use_native&&"loading"in HTMLImageElement.prototype}function B(t,i,o){t.forEach(function(t){return(a=t).isIntersecting||0<a.intersectionRatio?q(t.target,t,i,o):(e=t.target,n=t,a=i,t=o,void(u(e)||(_(e,a.class_exited),$(e,n,a,t),f(a.callback_exit,e,n,t))));var e,n,a})}function J(e,n){var t;et&&!H(e)&&(n._observer=new IntersectionObserver(function(t){B(t,e,n)},{root:(t=e).container===document?null:t.container,rootMargin:t.thresholds||t.threshold+"px"}))}function K(t){return Array.prototype.slice.call(t)}function Q(t){return t.container.querySelectorAll(t.elements_selector)}function W(t){return c(t)===_t}function X(t,e){return e=t||Q(e),K(e).filter(u)}function Y(e,t){var n;(n=Q(e),K(n).filter(W)).forEach(function(t){v(t,e.class_error),r(t)}),t.update()}function t(t,e){var n,a,t=i(t);this._settings=t,this.loadingCount=0,J(t,this),n=t,a=this,Z&&window.addEventListener("online",function(){Y(n,a)}),this.update(e)}var Z="undefined"!=typeof window,tt=Z&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),et=Z&&"IntersectionObserver"in window,nt=Z&&"classList"in document.createElement("p"),at=Z&&1<window.devicePixelRatio,it={elements_selector:".lazy",container:tt||Z?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_poster:"poster",class_applied:"applied",class_loading:"litespeed-loading",class_loaded:"litespeed-loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1},ot="src",rt="srcset",ct="sizes",lt="poster",st="llOriginalAttrs",ut="loading",dt="loaded",ft="applied",_t="error",vt="native",gt="data-",bt="ll-status",pt=[ut,dt,ft,_t],ht=[ot],mt=[ot,lt],Et=[ot,rt,ct],It={IMG:function(t,e){m(t,function(t){A(t,Et),x(t,e)}),A(t,Et),x(t,e)},IFRAME:function(t,e){A(t,ht),w(t,ot,l(t,e.data_src))},VIDEO:function(t,e){a(t,function(t){A(t,ht),w(t,ot,l(t,e.data_src))}),A(t,mt),w(t,lt,l(t,e.data_poster)),w(t,ot,l(t,e.data_src)),t.load()}},yt=["IMG","IFRAME","VIDEO"],At={IMG:P,IFRAME:function(t){k(t,ht)},VIDEO:function(t){a(t,function(t){k(t,ht)}),k(t,mt),t.load()}},kt=["IMG","IFRAME","VIDEO"];return t.prototype={update:function(t){var e,n,a,i=this._settings,o=X(t,i);{if(h(this,o.length),!tt&&et)return H(i)?(e=i,n=this,o.forEach(function(t){-1!==kt.indexOf(t.tagName)&&F(t,e,n)}),void h(n,0)):(t=this._observer,i=o,t.disconnect(),a=t,void i.forEach(function(t){a.observe(t)}));this.loadAll(o)}},destroy:function(){this._observer&&this._observer.disconnect(),Q(this._settings).forEach(function(t){y(t)}),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(t){var e=this,n=this._settings;X(t,n).forEach(function(t){b(t,e),V(t,n,e)})},restoreAll:function(){var e=this._settings;Q(e).forEach(function(t){U(t,e)})}},t.load=function(t,e){e=i(e);V(t,e)},t.resetStatus=function(t){r(t)},Z&&function(t,e){if(e)if(e.length)for(var n,a=0;n=e[a];a+=1)o(t,n);else o(t,e)}(t,window.lazyLoadOptions),t});!function(e,t){"use strict";function a(){t.body.classList.add("litespeed_lazyloaded")}function n(){console.log("[LiteSpeed] Start Lazy Load Images"),d=new LazyLoad({elements_selector:"[data-lazyloaded]",callback_finish:a}),o=function(){d.update()},e.MutationObserver&&new MutationObserver(o).observe(t.documentElement,{childList:!0,subtree:!0,attributes:!0})}var d,o;e.addEventListener?e.addEventListener("load",n,!1):e.attachEvent("onload",n)}(window,document);</script><script data-no-optimize="1">var litespeed_vary=document.cookie.replace(/(?:(?:^|.*;\s*)_lscache_vary\s*\=\s*([^;]*).*$)|^.*$/,"");litespeed_vary||fetch("/wp-content/plugins/litespeed-cache/guest.vary.php",{method:"POST",cache:"no-cache",redirect:"follow"}).then(e=>e.json()).then(e=>{console.log(e),e.hasOwnProperty("reload")&&"yes"==e.reload&&(sessionStorage.setItem("litespeed_docref",document.referrer),window.location.reload(!0))});</script><script data-optimized="1" type="litespeed/javascript" data-src="https://www.linguise.com/wp-content/litespeed/js/687154a0dbca9cece6cf479e25801bc8.js?ver=9f0a6"></script><script>const litespeed_ui_events=["mouseover","click","keydown","wheel","touchmove","touchstart"];var urlCreator=window.URL||window.webkitURL;function litespeed_load_delayed_js_force(){console.log("[LiteSpeed] Start Load JS Delayed"),litespeed_ui_events.forEach(e=>{window.removeEventListener(e,litespeed_load_delayed_js_force,{passive:!0})}),document.querySelectorAll("iframe[data-litespeed-src]").forEach(e=>{e.setAttribute("src",e.getAttribute("data-litespeed-src"))}),"loading"==document.readyState?window.addEventListener("DOMContentLoaded",litespeed_load_delayed_js):litespeed_load_delayed_js()}litespeed_ui_events.forEach(e=>{window.addEventListener(e,litespeed_load_delayed_js_force,{passive:!0})});async function litespeed_load_delayed_js(){let t=[];for(var d in document.querySelectorAll('script[type="litespeed/javascript"]').forEach(e=>{t.push(e)}),t)await new Promise(e=>litespeed_load_one(t[d],e));document.dispatchEvent(new Event("DOMContentLiteSpeedLoaded")),window.dispatchEvent(new Event("DOMContentLiteSpeedLoaded"))}function litespeed_load_one(t,e){console.log("[LiteSpeed] Load ",t);var d=document.createElement("script");d.addEventListener("load",e),d.addEventListener("error",e),t.getAttributeNames().forEach(e=>{"type"!=e&&d.setAttribute("data-src"==e?"src":e,t.getAttribute(e))});let a=!(d.type="text/javascript");!d.src&&t.textContent&&(d.src=litespeed_inline2src(t.textContent),a=!0),t.after(d),t.remove(),a&&e()}function litespeed_inline2src(t){try{var d=urlCreator.createObjectURL(new Blob([t.replace(/^(?:<!--)?(.*?)(?:-->)?$/gm,"$1")],{type:"text/javascript"}))}catch(e){d="data:text/javascript;base64,"+btoa(t.replace(/^(?:<!--)?(.*?)(?:-->)?$/gm,"$1"))}return d}</script>



				
			

إعداد البرمجيات الوسيطة للغة

افتح محطة المشروع وقم بتشغيل هذا الأمر،

				
					php artisan make:middleware LanguageManager


				
			

سيتم إنشاء ملف LanguageManager.php داخل مجلد /app/Http/Middleware ولصقه.

مدير اللغة - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel
				
					<?php namespace App\Http\Middleware;

use Closure;
use Illuminate\Http\Request;
use Symfony\Component\HttpFoundation\Response;
use Illuminate\Support\Facades\App;

class LanguageManager
{
    /**
     * Handle an incoming request.
     *
     * @param  \Closure(\Illuminate\Http\Request): (\Symfony\Component\HttpFoundation\Response)  $next
     */
    public function handle(Request $request, Closure $next): Response
    {
        if (session()->has('locale')) {

            App::setLocale(session()-&gt;get('locale'));
        }

        return $next($request);
    }
}

				
			

قم بتسجيل البرامج الوسيطة للغة عبر Kernel.php

افتح ملف Kernel.php الموجود في الدليل /app/Http. ابحث عن مصفوفة $middlewareGroups وانتقل إلى قسم الويب.

Kernel.php - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel
				
					/**
 * The application's route middleware groups.
 *
 * @var array<string array class-string>&gt;
 */
protected $middlewareGroups = [
    'web' =&gt; [
        
        //...

        \App\Http\Middleware\LanguageManager::class,
    ],

    'api' =&gt; [
        
        //...
    ],
];
</string>
				
			

إضافة الطريق

افتح web.php من مجلد /routes وأضف هذه المسارات إليه.

Web.php - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel
				
					//...
use App\Http\Controllers\LangController;

//...

Route::get('lang/home', [LangController::class, 'index']);
Route::get('lang/change', [LangController::class, 'change'])-&gt;name('changeLang');


				
			

موقع الاختبار

قم بتنفيذ هذا الأمر في محطة المشروع لبدء تشغيل خادم التطوير.

				
					php artisan serve
				
			

فيما يلي عرض Laravel من موقع onlinewebtutorblog.com الذي تم إنشاؤه، كما ترون في العرض التالي توجد قائمة منسدلة لترجمة Google.

ترجمة Google على موقع Laravel - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel

إذن هذا هو الشكل الذي يبدو عليه الأمر عند ترجمة موقع Laravel إلى اللغة العربية.

ما الفرق بين تنفيذ ترجمة Google Cloud AI وترجمة Google على Laravel؟

بعد فهم كل تطبيق لـ Google Cloud AI وترجمة Google Translate في Laravel، سنناقش الاختلافات بينهما.

عملية التثبيت والتكوين

التثبيت والتكوين - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel
  • ترجمة Google Cloud AI API: تعد عملية التثبيت والتكوين أكثر تعقيدًا لأنه يجب عليك إنشاء مشروع على Google Cloud Platform (GCP)، وتمكين Cloud Translation API، وإنشاء حساب خدمة، وإنشاء مفاتيح API، وتكوين عميل API في جهازك Laravel . يتضمن هذا عدة خطوات ويتطلب حسابًا صالحًا في Google Cloud Platform.
  • ترجمة Google: التثبيت والتكوين أسهل بكثير. ما عليك سوى تثبيت حزمة أو مكتبة تابعة لجهة خارجية عبر Composer، مثل stichoza/google-translate-php. بعد ذلك، يمكنك تكوين مفتاح Google Translate API في Laravel .

دقة الترجمة

دقة الترجمة - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel
  • ترجمة Google Cloud AI API: بفضل إمكانات التعلم العميق، يمكن لهذه الخدمة التقاط سياقات اللغة المعقدة والفروق الدقيقة بشكل أفضل. يتيح ذلك ترجمة أكثر دقة للتعبيرات الاصطلاحية والعبارات التصويرية والتلاعب بالألفاظ التي يصعب ترجمتها حرفيًا.
  • خدمة الترجمة من Google: غالبًا ما تواجه صعوبة في التقاط سياق اللغة والفروق الدقيقة، مما يجعل النتائج تبدو قاسية أو أقل طبيعية. نظرًا للنهج الإحصائي، غالبًا ما تكون ترجمة التعبيرات الاصطلاحية أو العبارات التصويرية أقل دقة.

سرعة الاستجابة

سرعة الاستجابة - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel
  • ترجمة Google Cloud AI API: بشكل عام أسرع في الاستجابة لطلبات الترجمة لأنها تستخدم الترجمة الآلية العصبية المستضافة على البنية التحتية السحابية القوية من Google. وهذا يوفر أوقات استجابة أسرع، خاصة للنصوص الأطول أو الكميات الكبيرة من الترجمات.
  • ترجمة جوجل: يمكن أن تكون أبطأ قليلاً في الاستجابة لطلبات الترجمة، خاصة بالنسبة للمستندات أو النصوص الأطول. وذلك لأنه يستخدم مزيجًا أكثر تقليدية من أساليب الترجمة الإحصائية والعصبية، والتي قد لا تكون بنفس كفاءة النماذج العصبية التي تستخدمها ترجمة Google Cloud AI API.

قدرات التخصيص والتحكم

التخصيص والتحكم - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel
  • ترجمة Google Cloud AI API: توفر المزيد من الخيارات لتخصيص عملية الترجمة والتحكم فيها، مثل تعيين تفضيلات الترجمة، وتحميل المسارد المخصصة، والوصول إلى الترجمة المباشرة للمحرر لتحرير نتائج الترجمة يدويًا. يتيح ذلك للمستخدمين تحسين دقة الترجمة وفقًا لاحتياجاتهم.
  • ترجمة جوجل: لديها خيارات تخصيص وتحكم أكثر محدودية. يجب أن يعتمد المستخدمون على نتائج الترجمة الآلية دون القدرة على تعديل النتائج أو تخصيصها بشكل مباشر.

الخيارات المتقدمة

الميزات المتقدمة - تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel
  • ترجمة Google Cloud AI API: تتميز تقنية ترجمة Google Cloud AI بالعديد من الميزات المتقدمة مثل المسرد واختيار النموذج ونماذج AutoML. بالإضافة إلى ذلك، في سياق ترجمة الذكاء الاصطناعي السحابي مع Linguise ، فإنه يحتوي أيضًا على ميزات متقدمة مثل استثناءات الترجمة لكلمات محددة مثل المصطلحات الفنية، وأسماء العلامات التجارية، وما إلى ذلك، بناءً على السطور أو الصفحات أو عناوين URL.
  • ترجمة Google: لترجمة Google المثبتة في Laravel ترجمة المستندات الصوتية أو غيرها. يمكنه فقط ترجمة النص الموجود على الموقع إلى لغة أخرى دون القدرة على تعديل نتائج الترجمة.
كسر حواجز اللغة
قل وداعًا لحواجز اللغة ومرحبًا بالنمو اللامحدود! جرب خدمة الترجمة الآلية لدينا اليوم.

العوامل التي يجب عليك مراعاتها عند اختيار خدمة الترجمة لموقعك الإلكتروني Laravel

فيما يلي بعض الاعتبارات عند اختيار أفضل خدمة ترجمة لموقعك الإلكتروني Laravel .

  • دقة ترجمة عالية – أحد أهم العوامل هو دقة الترجمة المنتجة. إذا كان موقع الويب الخاص بك يتطلب ترجمات دقيقة للغاية، خاصة للمحتوى المعقد واللغة الدقيقة، فقد تكون ترجمة Google Cloud AI API خيارًا أفضل من الترجمة من Google.
  • سهولة التكامل والتكوين — فكر في تثبيت وتكوين خدمة الترجمة باستخدام تطبيق Laravel من الأسهل عمومًا دمج خدمة ترجمة Google لأنها متوفرة كحزمة أو مكتبة PHP. وفي الوقت نفسه، تتطلب ترجمة Google Cloud AI API تكوينًا أكثر تعقيدًا على Google Cloud Platform.
  • الميزات وخيارات التخصيص - إذا كنت بحاجة إلى ميزات إضافية مثل ترجمة المسرد أو المصطلحات المتخصصة، أو ترجمة المحرر ، أو خيارات التخصيص الأخرى، فإن ترجمة Google Cloud AI API تقدم خيارات أكثر من خدمة الترجمة من Google.
  • السرعة ووقت الاستجابة – بالنسبة للتطبيقات ذات أحجام الترجمة الكبيرة أو التي تحتاج إلى استجابة سريعة، تستجيب ترجمة Google Cloud AI API بشكل عام لطلبات الترجمة بشكل أسرع من خدمة الترجمة من Google.
  • التكلفة والميزانية – خدمة الترجمة من Google متاحة مجانًا للاستخدام غير التجاري، بينما تستخدم Google Cloud AI API Translation نموذج الفوترة المدفوعة بناءً على الاستخدام. ضع في اعتبارك ميزانيتك وحجم الترجمة المقدر لاختيار الخدمة الأكثر فعالية من حيث التكلفة.
  • الدعم والتوثيق - ضع في اعتبارك أيضًا الدعم الفني والوثائق المتاحة لكل خدمة. قد تحتوي ترجمة Google Cloud AI API على وثائق ودعم أكثر شمولاً من Google.

Linguise، أفضل خدمة ترجمة سحابية مدعومة بالذكاء الاصطناعي لموقع Laravel

تنفيذ ترجمة Google Cloud AI API مقابل Google Translate لـ Laravel

حتى هذه اللحظة، أنت تعرف بالفعل الاعتبارات المتعلقة باختيار خدمة الترجمة لـ Laravel؛ جميع العوامل المذكورة أعلاه تقريبًا موجودة في خدمة الترجمة Linguise .

Linguise هي خدمة ترجمة مواقع ويب تستخدم تقنية الترجمة السحابية AI لإنتاج ترجمات المحتوى. يمكن أن تكون هذه الخدمة الحل الأفضل لترجمة Laravel . لماذا هذا؟ لأن Linguise يتناول الاعتبارات المذكورة أعلاه.

  • تتمتع Linguise بجودة ترجمة مثالية. على الرغم من أن هذه الدقة تختلف باختلاف الزوج اللغوي، إلا Linguise تفتخر بمعدل دقة يصل إلى 97% تقريبًا، وهو ما يشبه الترجمة البشرية.
  • Linguise أيضًا مع أكثر من 40 نظام إدارة محتوى (CMS) ومنشئي الويب، بالإضافة إلى دمجه مع مواقع الويب المستندة إلى PHP مثل Laravel .
  • على الرغم من أنه يترجم تلقائيًا، إلا Linguise لديه محرر مباشر يمكن استخدامه لتحرير نتائج الترجمة. بهذه الطريقة، يمكن تعديل الترجمة حسب تفضيلات العمل.
  • وقت التحميل للصفحات متعددة اللغات أطول بنسبة 5% فقط من وقت تحميل صفحات اللغة الأصلية.
  • خدمتنا متاحة في ثلاث حزم تتراوح من 15 دولارًا إلى 45 دولارًا شهريًا. على الرغم من أنها مدفوعة، إلا أننا نقدم أيضًا فترة تجريبية مجانية مدتها 30 يومًا بحد أقصى 600000 كلمة يمكن ترجمتها.
  • وأخيرًا، تدعم Linguise جميع أشكال مساعدة العملاء، بما في ذلك المقالات الإرشادية والوثائق وأخبار المنتجات وبرامج الفيديو التعليمية على YouTube ودردشة الدعم على مدار الساعة طوال أيام الأسبوع.

من النقاط المذكورة أعلاه، يمكن أن يكون Linguise أحد حلول تكنولوجيا الترجمة السحابية المستندة إلى الذكاء الاصطناعي لـ Laravel.

هل أنت جاهز لاستكشاف أسواق جديدة؟ جرب خدمة الترجمة الآلية لدينا مجانًا من خلال الإصدار التجريبي الخالي من المخاطر لمدة شهر. لا حاجة لبطاقة ائتمان!

خاتمة

في هذه المقالة، اكتشفنا الاختلافات الرئيسية بين تنفيذ ترجمة Google Cloud AI API وترجمة Google لتطبيقات الويب Laravel .

تتفوق ترجمة Google Cloud AI API في الدقة وتحتاج إلى ترجمات عالية الدقة. ومع ذلك، تتطلب هذه الخدمة تكوينًا أكثر تعقيدًا وأكثر تكلفة من خدمة الترجمة من Google. من ناحية أخرى، توفر خدمة الترجمة من Google سهولة التكامل ولكنها تعاني من قيود في الدقة وخيارات التخصيص.

تظهر Linguise كخدمة ترجمة سحابية بديلة قائمة على الذكاء الاصطناعي ومتوافقة مع مواقع Laravel الإلكترونية. بفضل مستويات الدقة التي تتطابق تقريبًا مع الترجمات البشرية، وخيارات محرر الترجمة، وأوقات التحميل السريعة، ودعم العملاء الشامل، تصبح Linguise حل ترجمة ممتازًا لموقع Laravel الإلكتروني الخاص بك.

إذا كنت تريد تجربة Linguise ، يمكنك التسجيل للحصول على حساب مجاني والاستمتاع بفترة تجريبية مدتها 30 يومًا بحد أقصى 600000 كلمة مترجمة. قم بزيارة linguise لمزيد من المعلومات!

قد تكون مهتمًا أيضًا بالقراءة

لا تفوت الفرصة!
اشترك في نشرتنا الإخبارية

تلقي أخبار حول الترجمة الآلية للمواقع الإلكترونية وتحسين محركات البحث الدولية والمزيد!

Invalid email address
جربها. واحد شهريًا ويمكنك إلغاء الاشتراك في أي وقت.

لا تغادر دون مشاركة بريدك الإلكتروني!

لا يمكننا ضمان فوزك باليانصيب ، ولكن يمكننا أن نعدك ببعض الأخبار المفيدة حول الترجمة والخصومات العرضية.

لا تفوت الفرصة!
Invalid email address