Joomlaspan JoomlaTransPro

15 years 10 months ago #3411 by kenlyle
Hey!  I know...not all 3PDs are supported, etc., but I really like JoomlaTrans.

I am just posting here to see if there are any workarounds.  I believe that the Joomlaspan site .htaccess info is out of date?

Thanks for any tips.
Ken

Please Log in or Create an account to join the conversation.

15 years 10 months ago #3412 by Saka
Maybe you could explain the issue in detail and put some example URLs. I never heard of the component and never tried it either.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

15 years 10 months ago #3413 by kenlyle
Thanks, Emir!

This seems like a problem with this component on my site- I broke something, I guess. Now, even with SEFA and Core SEF off, I can't get translation to happen.  So the rest is just for information now...I am pursuing this with Joomlaspan.

Joomla Extensions Directory has a category for Automatic Translations now, there are a bunch of similar products.

Joomlatrans Pro is extensions.joomla.org/component/option,c...k_id,1206/Itemid,35/

At www.joomlaspan.com/products/jtrans-pro-j...lation-component.php they say they are compatible with many SEF systems, but only Joomla 1.0, which is what I have.

They have a .htaccess file posted at www.joomlaspan.com/products/jtrans-pro-installation-guide.php

Let me know if this information helps.  I was thinking that maybe there's something it their .htaccess that you could quickly recognize as bad and fix.

I am using your .htaccess provided with 583, along with the one rule they provide:

#  This is the SEF-A 5.8.3 htaccess file, with Joomlaspan rule added
#  mod_rewrite in use
#

RewriteEngine On

#  Uncomment following line if you get 403 Forbidden Error

#Options +FollowSymLinks

#  Uncomment following line if your webserver's URL
#  is not directly related to physival file paths.
#  Update YourMamboDirectory (just / for root)

#RewriteBase /YourMamboDirectory

#
#  Rules
#


#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]
RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
#Joomlaspan JoomlatransPro rule
RewriteRule ^([^/]{2}_[^/]{2})/(.*)$ /site/components/com_jtranspro/index2.php?option=com_jtranspro&no_html=1 [L]

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#                             
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Block out any script trying to execute an extern script in the URL
#[OR] RewriteCond %{QUERY_STRING} http
#[OR] RewriteCond %{QUERY_STRING} ftp
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

The specific behavior I see is that pages are not translating.

Putting the rule they add directly under the Rewrite Base, I then get an error: "System error. Cannot translate. Please try later." which is odd, because there are two translation engines, Yahoo and Google and they can't both be down.

Anyway, after trying many things, your 583 .htaccess with their one line allows their module to show the dropdown for the language, and the SEF works OK, but the translation function is broken. 

Thanks,
Ken

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch