What are good online translators from Arabic to English?

how to add english and arabic language translators to the website?

  • I have a site completely in English! What I want is to facilitate it with a drop down menu or some link for the Middle East Users to be able to view it in Arabic. In short I want my website pages to be changed to Arabic when Arabic drop down or some link is clicked.

  • Answer:

    Google and Microsoft both offer widgets you can stick on your website. (as others have said it's an automatic translations, so you could get some bad results). http://translate.google.com/translate_tools http://www.microsofttranslator.com/widget/ If you want to pay for real translators; an interesting option: http://amanuens.com/. You give them access to your source control, and they come in and create all the translation resources for you.

cheeda at Stack Overflow Visit the source

Was this solution helpful to you?

Other answers

If you want it to be automatic (machine translation), you might look at the http://code.google.com/apis/language/translate/overview.html. It gives you access to Google's machine translation (the software that handles the http://translate.google.com page). Note that machine translation isn't brilliant. Although a lot of progress has been made the last few years through the shift to http://en.wikipedia.org/wiki/Statistical_machine_translation methods, you can still get some non-sensical results. Here's an example from that page of using their interface from JavaScript: <html> <head> <title>Translate API Example</title> </head> <body> <div id="sourceText">Hello world</div> <div id="translation"></div> <script> function translateText(response) { document.getElementById("translation").innerHTML += "<br>" + response.data.translations[0].translatedText; } </script> <script> var newScript = document.createElement('script'); newScript.type = 'text/javascript'; var sourceText = escape(document.getElementById("sourceText").innerHTML); var source = 'https://www.googleapis.com/language/translate/v2?key=INSERT-YOUR-KEY&source=en&target=de&callback=translateText&q=' + sourceText; newScript.src = source; // When we add this script to the head, the request is sent off. document.getElementsByTagName('head')[0].appendChild(newScript); </script> </body> </html> That example translates one specific part of the page; you'd have to take it from there to translate the entire page.

T.J. Crowder

The most important thing that you should be noted is that Arabic is right-to-left and English is left-to-right. So this makes translation difficult. First of all you should add direction="rtl" to body or specific element when you're switching to Arabic. After that you should redefine your CSS with thin new direction. if you had margin-left:20px it should be now margin-right:20px; so it can be tricky. I have experience in translation into rtl languages and I can say if you want same user experience it's gonna be painful job! For translation you should have a database of terms in both languages and use JavaScript to injects terms of new language that user selects in that drop-down list into your DOM. most of the time you should have spans with specefic classes or ids to address every term. It should work like this: <div id="something" direction="ltr"> <span class="this-is-a-multilingual-term hello">Hello</span> </div> javaScript should do this for you: <div id="something" direction="rtl"> <span class="this-is-a-multilingual-term hello">مرحبا</span> </div>

Mohsen

Get a decent translation This means getting a native speaker who understands the source language (English) and HTML to translate it If you are thinking about using automated translation software, stop, it is rubbish and will leave people with a bad impression of your site. If someone wants to use automated translation software, then they can find Google Translate or another software package for themselves. (As a rule of thumb, avoid trying to solve Internet wide problems for users, tools they apply everywhere are better then learning a specialist interface for every site) Mirror the site and link to the translated version Your CMS might help with this

Quentin

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.