Restrict one language

Popular automatic website translation tool

Restrict one language

Postby siamagency » Fri Jul 06, 2012 12:50 pm

Hi,

I would like to definitely restrict access to my site in ENGLISH ! Only one language i dont want Gtranslate translate is English.

In configuration, i select english -> NO. So flag doesnt display but i still can access to site in English !

What is the best way remove english language ?

Thank you
siamagency
 
Posts: 34
Joined: Sun Jul 31, 2011 9:02 pm

Re: Restrict one language

Postby Edvard » Fri Jul 06, 2012 3:39 pm

Do you use the plugin or general version of GTranslate?
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: 4185
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Restrict one language

Postby siamagency » Fri Jul 06, 2012 11:11 pm

Hi,

I use the plugin ! Gtranslate PRO.

Thanks
siamagency
 
Posts: 34
Joined: Sun Jul 31, 2011 9:02 pm

Re: Restrict one language

Postby Yana » Tue Jul 10, 2012 12:53 am

Hi,
You can add the redirect rule in your .htaccess file to redirect domain.com to the main language.
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

Re: Restrict one language

Postby siamagency » Fri Jul 13, 2012 8:37 am

Hi,

What rule please ?
I have tried differents one but...no working

RewriteRule ^(en)/(.*) http://www.monsite.com/$2 [R=301,L]
RewriteRule ^(en)/(.*) / [r=301]
RewriteRule ^en.*$ http://www.monsite.com/ [R=301,L]

etc..

Thanks,
siamagency
 
Posts: 34
Joined: Sun Jul 31, 2011 9:02 pm

Re: Restrict one language

Postby Yana » Fri Jul 13, 2012 10:46 am

Hi,
Here is an example
RewriteRule ^(fr|it|ru)/(.*)$ /$1 [R=301,L]
This rule will redirect French, Italian and Russian languages to the main language.
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

Re: Restrict one language

Postby siamagency » Sun Jul 15, 2012 11:19 am

Hi,

Thank but i dont know why it doesnt work.

I still can access the language i try to restrict ! ??

I send you example in PM.

Thank you
siamagency
 
Posts: 34
Joined: Sun Jul 31, 2011 9:02 pm

Re: Restrict one language

Postby siamagency » Sun Jul 29, 2012 4:22 pm

I have sent details by PM but still no get answer...

I cant restrict english language...

Thank you
siamagency
 
Posts: 34
Joined: Sun Jul 31, 2011 9:02 pm

Re: Restrict one language

Postby Yana » Mon Jul 30, 2012 4:53 pm

Hi,
Please try to add redirection rule after "RewriteEngine On" line.
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
cron