Unable to set the human translation

Popular automatic website translation tool

Unable to set the human translation

Postby manish » Sun Feb 19, 2012 12:53 pm

Hi Ed,

I want to do the human translation of a few sentences.

when I goto the page:
my_web_page?language_edit=1

I do the human translation.

It asks for a username / password.

But it is not accepting the username/password that I have specified in the config.php file

Please let me know how to set the username/password so that I can save the human translation.

Thanks,
Manish
manish
 
Posts: 4
Joined: Tue Jan 31, 2012 9:36 am

Re: Unable to set the human translation

Postby Yana » Sun Feb 19, 2012 4:37 pm

Hi,
Please try to add this line in your .htaccess file
SetEnvIfNoCase Authorization "Basic ([a-z0-9=]+)" REDIRECT_REMOTE_AUTHORIZATION=$1

Edit gtranslate/edit_translation.php and add this code

if (isset($_SERVER["REDIRECT_REMOTE_AUTHORIZATION"]) && $_SERVER["REDIRECT_REMOTE_AUTHORIZATION"]!='') {
$d = base64_decode($_SERVER["REDIRECT_REMOTE_AUTHORIZATION"]);
list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode(':', $d);
}
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4135
Joined: Thu Jan 12, 2012 6:21 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux