GTranslate Pro at Html site - Redirect

Popular automatic website translation tool

GTranslate Pro at Html site - Redirect

Postby ors_86 » Tue Sep 27, 2011 3:53 pm

Can we use the Pro version (with cache) at a html website, and "redirect" the user to onother html pages (same name within a folder) for one of the languages?
Is there are rewrite rules example?

Thanks.
ors_86
 
Posts: 20
Joined: Sat Jul 09, 2011 1:37 pm

Re: GTranslate Pro at Html site - Redirect

Postby Edvard » Wed Sep 28, 2011 4:37 pm

If you want to use the Pro version you need to check if you have PHP support.

It will work on your HTML site.
Regards,

Edvard Ananyan - 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
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: GTranslate Pro at Html site - Redirect

Postby ors_86 » Wed Sep 28, 2011 4:47 pm

edo888 wrote:If you want to use the Pro version you need to check if you have PHP support.

It will work on your HTML site.


Yes, i want to use the Pro Version.

Yes, i have php support, please inform me what i should do.

Thanks
ors_86
 
Posts: 20
Joined: Sat Jul 09, 2011 1:37 pm

Re: GTranslate Pro at Html site - Redirect

Postby Edvard » Thu Sep 29, 2011 4:10 pm

Check with your host if you have PHP ionCube loader, cURL library and JSON library support. If the answer is yes, you can buy it.
Regards,

Edvard Ananyan - 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
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: GTranslate Pro at Html site - Redirect

Postby ors_86 » Thu Sep 29, 2011 4:20 pm

edo888 wrote:Check with your host if you have PHP ionCube loader, cURL library and JSON library support. If the answer is yes, you can buy it.


Τhe answer is yes. I have already bought 3 licenses and i use them for joomla site.

But now, i need something else, and first i want you to inform me how i can do that, and then i will buy the additional license.
ors_86
 
Posts: 20
Joined: Sat Jul 09, 2011 1:37 pm

Re: GTranslate Pro at Html site - Redirect

Postby Edvard » Thu Sep 29, 2011 4:22 pm

As I understand you want to use the Pro version on a HTML website.

You have all the necessary libraries and you can use Pro version on your site.

Let me know if you need a specific configuration.
Regards,

Edvard Ananyan - 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
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: GTranslate Pro at Html site - Redirect

Postby ors_86 » Thu Sep 29, 2011 4:59 pm

edo888 wrote:As I understand you want to use the Pro version on a HTML website.

You have all the necessary libraries and you can use Pro version on your site.

Let me know if you need a specific configuration.


Okay, nice we agree that my server meets the requirements.

But what configuration i must do, in order to "redirect" the user to onother html pages (same name within a folder) for one of the languages?

For example, we have html pages for english and spanish language. For all the other languages we use gtranslate. but for spanish we want to user our pages. How?
ors_86
 
Posts: 20
Joined: Sat Jul 09, 2011 1:37 pm

Re: GTranslate Pro at Html site - Redirect

Postby Edvard » Fri Sep 30, 2011 3:53 pm

Is there some strict format you have used to name Spanish version pages?

Ex. http://domain.com/about_us.html - for English
http://domain.com/about_us-es.html - for Spanish
Regards,

Edvard Ananyan - 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
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: GTranslate Pro at Html site - Redirect

Postby ors_86 » Fri Sep 30, 2011 4:06 pm

edo888 wrote:Is there some strict format you have used to name Spanish version pages?

Ex. http://domain.com/about_us.html - for English
http://domain.com/about_us-es.html - for Spanish


Yes, the pages are named simular to your example.
ors_86
 
Posts: 20
Joined: Sat Jul 09, 2011 1:37 pm

Re: GTranslate Pro at Html site - Redirect

Postby Edvard » Fri Sep 30, 2011 4:07 pm

In that case it will be possible to configure to use English and Spanish as is and the rest languages will be translated by GTranslate Pro.
Regards,

Edvard Ananyan - 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
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: GTranslate Pro at Html site - Redirect

Postby ors_86 » Fri Sep 30, 2011 4:18 pm

edo888 wrote:In that case it will be possible to configure to use English and Spanish as is and the rest languages will be translated by GTranslate Pro.


Okay, nice.

Can you inform me how?
ors_86
 
Posts: 20
Joined: Sat Jul 09, 2011 1:37 pm

Re: GTranslate Pro at Html site - Redirect

Postby Edvard » Fri Sep 30, 2011 4:28 pm

There will be a need to write a special rewrite rules for you. I'll do that when you make a purchase.
Regards,

Edvard Ananyan - 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
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: GTranslate Pro at Html site - Redirect

Postby ors_86 » Mon Oct 17, 2011 11:59 am

Edvard wrote:There will be a need to write a special rewrite rules for you. I'll do that when you make a purchase.

I have purchased the Pro version.
Please inform me about the rewrite rules.

Thanks.
ors_86
 
Posts: 20
Joined: Sat Jul 09, 2011 1:37 pm

Re: GTranslate Pro at Html site - Redirect

Postby Edvard » Mon Oct 17, 2011 2:49 pm

Hi,

Can you give me FTP access, so I can see the current URL format and configure it for you?
Regards,

Edvard Ananyan - 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
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: GTranslate Pro at Html site - Redirect

Postby ors_86 » Mon Oct 17, 2011 2:51 pm

Edvard wrote:Hi,

Can you give me FTP access, so I can see the current URL format and configure it for you?


Hi,

You have a PM.
ors_86
 
Posts: 20
Joined: Sat Jul 09, 2011 1:37 pm

Re: GTranslate Pro at Html site - Redirect

Postby ors_86 » Tue Oct 18, 2011 3:59 pm

I have haven't received any reply from you.

Can you please inform em about the rewrites rules?
ors_86
 
Posts: 20
Joined: Sat Jul 09, 2011 1:37 pm

Re: GTranslate Pro at Html site - Redirect

Postby Edvard » Wed Oct 19, 2011 2:54 pm

Hi,

Sorry for my late response.

I have checked your server settings and it seems that you are using Microsoft-IIS/6.0 on Windows.

Is it possible you can install IIRF alternative of Apache mod_rewrite on it?

Or may be you can just use Apache web server instead?
Regards,

Edvard Ananyan - 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
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: GTranslate Pro at Html site - Redirect

Postby ors_86 » Wed Oct 19, 2011 2:59 pm

Edvard wrote:Hi,

Sorry for my late response.

I have checked your server settings and it seems that you are using Microsoft-IIS/6.0 on Windows.

Is it possible you can install IIRF alternative of Apache mod_rewrite on it?

Or may be you can just use Apache web server instead?



Hi,

I can install IIRF alternative, or move it to linux hosting.
Please inform em about the rewrites rules.
ors_86
 
Posts: 20
Joined: Sat Jul 09, 2011 1:37 pm

Re: GTranslate Pro at Html site - Redirect

Postby Edvard » Wed Oct 19, 2011 4:16 pm

Better to use linux hosting with Apache and in that case the RewriteRules will be:

Code: Select all
# custom languages - English, German
RewriteCond %{REQUEST_URI} ^/([a-z]{2}|zh-CN|zh-TW)/.*
RewriteCond %{REQUEST_URI} (_english|_german)
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /$2 [R=301,L]

# 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]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2&force_no_api=1&force_translation=1 [L,QSA]
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1&force_no_api=1&force_translation=1 [L,QSA]


I'm not sure for 100% that all the pages will be ok with this, so when you move let me know, so I can test it and make sure that there are no other exceptions.
Regards,

Edvard Ananyan - 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
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: GTranslate Pro at Html site - Redirect

Postby ors_86 » Wed Oct 19, 2011 4:27 pm

Ok, thanks for the reply, i will inform you soon.

But the languages i want to use the defautl html files are the greek and english, not german as i saw at the rewrite rules.
ors_86
 
Posts: 20
Joined: Sat Jul 09, 2011 1:37 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux