I have not used Prestashop and this looks like a "how to integrate an external script into Prestashop" issue.
Have you gone through the Translation Script Troubleshooting Tips?
Printable View
I have not used Prestashop and this looks like a "how to integrate an external script into Prestashop" issue.
Have you gone through the Translation Script Troubleshooting Tips?
I don't see any download links?
The download link for the translation script is always stored in a sticky in this forum. :)
Ok great I fixed all the errors; however only the english translates how could i have the russian translate into in english for example in my header i have english text and the rest is russian it only grabs the english.... were is the setting so that it will translate russian into the languages not english.
please help.
website url is VitaminCA
Thank you Will for your help!
however this works great Google Translate
Can i just have this code work? ....
ok now i put in the google example code.... and i guess the script has a diff encoding of russian than google itself... ? please help visite VitaminCA see whats happening
Changing the script to use Russian as the source language should be fairly simple to accomplish.
You would have to edit translate/translate.php by replacing "en" with "ru":
Before
AfterCode://Define translation engines here
$engines = array(
'g' => array( 'trans_url' => 'http://translate.google.com/translate_c?hl=en&langpair=en%7C$lang&u=$url',
'timeout' => 180,
'max_redir' => 3,
'check_func' => 'GoogleCheck', //This function should determine if the translation was successful
'fixup_func' => 'GoogleFixup'
),
//TODO: Yahoo translation requires an IP hostname, should code a workaround for this
'y' => array( 'trans_url' => 'http://72.30.186.56/babelfish/translate_url_content?lp=en_$lang&trurl=$url',
'timeout' => 180,
'max_redir' => 3,
'check_func' => 'YahooCheck',
'fixup_func' => 'YahooFixup'
)
Code://Define translation engines here
$engines = array(
'g' => array( 'trans_url' => 'http://translate.google.com/translate_c?hl=ru&langpair=ru%7C$lang&u=$url',
'timeout' => 180,
'max_redir' => 3,
'check_func' => 'GoogleCheck', //This function should determine if the translation was successful
'fixup_func' => 'GoogleFixup'
),
//TODO: Yahoo translation requires an IP hostname, should code a workaround for this
'y' => array( 'trans_url' => 'http://72.30.186.56/babelfish/translate_url_content?lp=ru_$lang&trurl=$url',
'timeout' => 180,
'max_redir' => 3,
'check_func' => 'YahooCheck',
'fixup_func' => 'YahooFixup'
)
doiwantadivorce.com
translates only the index all the other pages just reload