Forum Archive - gtranslate pro / need Help

gtranslate pro / need Help
Oct 11, 2011 1:24 pm by bmw
Hello, gtranslate pro will not work. Domainroot is: / Wordpressroot is: /blog i use wordpress in subfolder: http://www.domain.com/other_script_with ... slate/blog The GTranslate Pro is here: http://www.domain.com/other_script_with ... gtranslate So what i must do to bring the gtranslate Pro to work in my blog? Where must i write in .htaccess? In the folder from my other script (Domainroot) or in the root from wordpress? I test all, translate pro will not work. If i write the .htaccess in the folder from my other script (Domainroot) and edit the path: # gtranslate config RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)/(.*)$ /$1/$3 [R=301,L] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)$ /$1/ [R=301,L] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /blog/gtranslate/translate.php?lang=$1&url=$2 [L,QSA] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /blog/gtranslate/translate.php?lang=$1 [L,QSA] So, Wordpress is working, but no translate possible. If i write the .htaccess in the wordpressroot, wordpress is not working. Greets BMW
Re: gtranslate pro / need Help
Oct 11, 2011 5:18 pm by Edvard
You need to install it in the www root, in your case it is ../blog . Just follow the installation instructions and don't upload or modify anything in blog directory.
Re: gtranslate pro / need Help
Oct 11, 2011 5:27 pm by bmw
Hi Edvard, ok, is it right to set the gtranslate here? : domain.com/blog/ and also edit the .htaccess here? : domain.com/blog/ Is that right? I edit only the config.php to input the api-key. With this setting wordpress does not work. greets BMW
Re: gtranslate pro / need Help
Oct 11, 2011 5:52 pm by Edvard
No, you need to upload gtranslate to upper directory, so you can access http://domain.com/gtranslate/config.php file. You need to modify .htaccess in the upper directory too. If there is no .htaccess file you need to create a simple .htaccess file and write RewriteEngine On # gtranslate config ...
Re: gtranslate pro / need Help
Oct 11, 2011 6:21 pm by bmw
Hi Edvard, ok, now i set the gtranslate in my root from the domain: your_domain.com/gtranslate also i edit the .htaccess in this case: # gtranslate config RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)/(.*)$ /$1/$3 [R=301,L] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)$ /$1/ [R=301,L] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 [L,QSA] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1 [L,QSA] All sites working, but no translation is possible. In Wordpress/GTranslate config i set: Translation method: redirect Load jQuery library: yes or no, no translation Operate with Pro version: yes If i drive with the mouse over the france-flag, follow link i see below in the browsertoolbar: javascript:doGTranslate('de|fr') I can not try and play, the websites are all online... Your plugin is only for 1 domain, so i can test only in with this domain. greets bmw
Re: gtranslate pro / need Help
Oct 11, 2011 6:35 pm by Edvard
Try to use this rewrite rules instead: # gtranslate config RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)/(.*)$ /$1/$3 [R=301,L] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)$ /$1/ [R=301,L] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2&force_no_api=1 [L,QSA] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1&force_no_api=1 [L,QSA] After that you will need to use Redirect translation method and turn on Pro option in the GTranslate plugin settings.
Re: gtranslate pro / need Help
Oct 11, 2011 6:48 pm by bmw
Hi Edvard, what's the problem, I bought a plugin for WordPress... I think, this is a general application and, it is not working... If i activate the plugin, there are only problems. No, translation, only one, if i click the translation example france, the url is: /fr/blog/?force_no_api=1 If i will go to the Home from the blog: Permanent verskuif Die dokument is verskuif na hier. Same without your last code from the .htaccess What should I do? A Worlpress-Plugin, you know, you install and it is running, like your gTranslate. The GTranslate Pro is NOT a Wordpress Plugin... I'm pissed... BMW
Re: gtranslate pro / need Help
Oct 11, 2011 7:04 pm by Edvard
The Pro version is a general addition for all the website types. You didn't do what I have suggested. I could see the GTranslate Pro signature when I was going to /en/blog/ on your site. Currently it shows me not found error. If you do what I have suggested it will work.
Re: gtranslate pro / need Help
Oct 11, 2011 7:41 pm by bmw
Hi Edvard, i can not leave broken links until you've seen it, there are also visitors to my website who have no interest in broken links. The search engines also no interest in broken links. I've written, how it looks when I applying your changes. You should have seen, that again the normal gtranlate is active. It would be best, I get my money back and work my own translation with google api. Or you have another idea? Thanks BMW
Re: gtranslate pro / need Help
Oct 11, 2011 7:44 pm by Edvard
If it is hard for you to install or follow the instructions then you can give us your FTP access details and it will be installed for you.
Re: gtranslate pro / need Help
Oct 11, 2011 8:14 pm by bmw
Hi Edvard, you know, about access to the host, my answer ;-) But is it so easy, you can tell me the small steps with the 2 files :-) Ok, i aktivate now again translate pro with the last changes. Here the list: htaccess in the root from the domain: # gtranslate config RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)/(.*)$ /$1/$3 [R=301,L] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)$ /$1/ [R=301,L] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2&force_no_api=1 [L,QSA] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1&force_no_api=1 [L,QSA] # DirectoryIndex index.html index.htm Test it and you will see the Probs. Also, if you translate the blog and you will go back to the home from the blog or to a other link on the top. greets bmw
Re: gtranslate pro / need Help
Oct 11, 2011 8:20 pm by Edvard
Now when I go to /en/blog/ I can see it translated into English.
Re: gtranslate pro / need Help
Oct 11, 2011 8:29 pm by bmw
Hi Edvard, great, i can see too. But if you click a link in the blog; Permanent verskuif Die dokument is verskuif na hier. This is english, german and netherland-mix as first... and if you klick: -> The document has moved here. all links are strikethrough !!, the template broken You think, it is all well? -->> your_domain.com/en/blog/?force_no_api=1 Seo-Link? greets bmw
Re: gtranslate pro / need Help
Oct 11, 2011 9:10 pm by bmw
Hi Edvard, you see all? I must deaktivate this thing, is not to use... You write: Search engine friendly URLs (/es, /fr, /it, etc.) Just look: Moved Permanently The document has moved here. and: http://www.your_domain.com/en/blog/?force_no_api=1 It is that's all possible, but no Seo.. The Template go broken with your GTranslate Pro, this is also not great. I delete your script and you bring please my money back and all is well... Thanks BMW
Re: gtranslate pro / need Help
Oct 12, 2011 11:52 am by Edvard
Can you give us FTP password, so we can correct that issues for you? I was able to see /en/blog/ and everything was translated. If it is installed correctly you shouldn't see URLs like you mention.
Re: gtranslate pro / need Help
Nov 3, 2011 12:34 pm by mar_zyk
hello edvard, can i pm you and help me on installing the gtranslate pro? because i can't pm you at this time. thanks
Re: gtranslate pro / need Help
Nov 3, 2011 12:41 pm by Edvard
Hi, Yes, you can use the PM button under my name on the right.

SIMILAR TOPICS

Gtranslate MultisiteFeb 12, 2019 7:27 amReplies: 1Post by: infact_dat
Gtranslate: Error with numberFeb 20, 2019 1:20 amReplies: 1Post by: infact_dat
GTranslate 3.7.4, Joomla 3.9.3 - doGTranslate is not definedFeb 22, 2019 12:34 pmReplies: 1Post by: oase
Add-on gtranslate no longer worksFeb 2, 2019 6:01 amReplies: 1Post by: DarylDixon
Instragram and Gtranslate...!!!!Dec 19, 2018 11:18 amReplies: 1Post by: zackfernandes

Try GTranslate with a free 15 day trial