Home arrow Forum

Remository Forum

 


samphan

Karma: 0  
Using RemoSEF for language other than English - 2005/12/08 17:09 I've installed RemoSEF on Joomla 1.0.4. It works for my Remository files and contents with English titles. However, my website also have contents in Thai, with Thai titles. They are in TIS-620, an 8 bit extended ANSI charset.

The URLs will be converted to strings with a lot of %XX, which is correct. However, when I try to access such pages (with Thai title), I get access error. It seems like the URLs can't be reverted back to Joomla URLs.

I really like RemoSEF. It makes very friendly URLs.
But how can I make RemoSEF work in this case?

Thanks.
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 98  
Re:Using RemoSEF for language other than English - 2005/12/08 22:05 If you would be willing to give me temporary super admin access to your site, I will look more closely. In principle, it should work, since the names are processed in the same way in both directions. Maybe there is something not quite right! Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
samphan

Karma: 0  
Re:Using RemoSEF for language other than English - 2005/12/12 09:50 Thanks
If you mean joomla's site admin, I can setup a copy of my current site (so it still working) there and let you try it.
If you need to have root access to the server, I can't do so because I don't own the server.
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 98  
Re:Using RemoSEF for language other than English - 2005/12/13 03:32 That would be fine - I just want to be able to install modified software to include debug information. Should be able to manage without command line access, and certainly without root access Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
samphan

Karma: 0  
Re:Using RemoSEF for language other than English - 2005/12/21 15:38 Sorry for late reply. I've setup a copy of my real website here http://www.osdev.co.th/tmpweb/.

However, due to my ignorance about mod_rewrite, I can't make the new position (/tmpweb) work as it was when at root of (virtual) server.

I changed .htaccess from Jommla's default to
Code:

 RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*) http://www.osdev.co.th/tmpweb/index.php


And this's the result.
http://www.osdev.co.th/tmpweb/Remository/ or http://www.osdev.co.th/tmpweb/blogcategory/Software/Chantra/ always goto http://www.osdev.co.th/tmpweb/index.php. Can you give me a hint on how to change the .htaccess to work in the new location.

Thanks.
  | | Sorry, you do not currently have permission to write here.
samphan

Karma: 0  
Solved:Using RemoSEF for language other than Eng - 2006/01/12 18:13 I've solved the original problem . See my Thai web at osdev.
Here's the required patch.

Code:

  --- sef.php.bk    2006-01-12 19:53:41.530103336 +0700 +++ sef.php    2006-01-12 19:53:59.695341800 +0700 @@ -106,+106,@@      function nameForURL ($name) {          global $remository_sef_name_chars$remository_sef_translate_chars;          foreach ($remository_sef_name_chars as $i=>$char$name str_replace($char$remository_sef_translate_chars[$i], $name); -        return $name; +        return urlencode($name);      }        function findContainer ($name$parentid, &$string) {



Now you can use remoSEF with non-western content titles.

Try http://www.osdev.co.th/View/Software/Chantra/Chantra_1.1_%CD%CD%A1%E1%C5%E9%C7/

Thanks for RemoSEF. I really like it.
  | | Sorry, you do not currently have permission to write here.

Login

Subscribe to Premium Support

Get priority support for Remository and Glossary, sign up now for a Premium Support monthly subscription:

Your Remository user name

Or purchase a year's support:

Your Remository user name

Recommended SEF

SEF Advance

Who is Online

Remository welcomes guests and visitors

We have 8 guest online