Moderated by: FocalMedia Team, Miles, Gerrit, Rian

FocalMedia.Net Forums » Turbo Seek »  Discussions, Suggestions & Tips, Tricks

Next Page » | Page: 1 of 2

« Back to Topic Index Page 3 | Replies: 11 | Pages: [1] 2

 Author  Topic: Arabic Anomalies
  GegaBit

Advanced Member
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of GegaBit 
Great work guys, looking forward for Ver. 2.0 to come out, bought the 1.65.2 today

Now regarding non English templates / pages when using Right to left directional languages like Arabic, there are 2 observed anomalies so far:

1- When a Category name is generated in that language, the directory name inside the data directory is in ISO char set -I think- as I end up with a directory called something like ,200,237,218 for the 3 letter Arabic word ÈíÚ
Now you can imagine what the server will think of that ..
(Yes I am using a windows box to test my installation before uploading to my Unix Server)

2- Any Arab category name when appearing in the Directory listing, with the total number of links displayed, should appear as CategoryName (8) for example, but instead, since it is in Arabic appears as 8) CategoryName )

Tried inserting the following into the master Template Files:
meta http-equiv="Content-Type" content="text/html; charset=windows-1256"
Which is the standard charset for displaying Arabic.

But that solved neither of the above.

Any Ideas ?
GeGaBit

Total Posts: 168 | Joined: Mar 17, 2003 - 12:28pm | IP Logged

  FocalMedia Team

Moderator
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of FocalMedia Team 
1. Some characters in the directory names are encoded
to avoid problems with strange characters in directory names. Note that Turbo Seek does not support windows at this point in time.

2. Try to change your category templates. The category templates are subdirs.html and directories1.html - These can be found in your 'data' directory. Also check that their HTML syntax is correct.

Miles




Total Posts: 1455 | Joined: Jul 27, 2002 - 4:28am | IP Logged

  GegaBit

Advanced Member
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of GegaBit 
Hi again,
1- Why is your encoding putting in a comma between each letter? Its problematic when handling those directories for any non Latin based Language or 'strange characters' as you put it.

The only choice I am left with now is to have the Category names in English? That would be a major draw back since the whole site is in Arabic.

(Side Note Regarding Windows: I am glad to inform you that your software works brilliantly running on a Win XP, ActivePerl 5.008, and Apache 2)

You should know too that it exhibits the same mentioned anomalies on my Red Hat Linux server on Arabic Directories.

2- Inserted meta with 'charset=windows-1256' in both files in subdirs.html and directories1.html, that did not solve it, and there were no errors generated.

My 2 bytes for a solution:
a) Is it possible that this charset definition needs to be defined in the admin CGI where directories are defined then created?
b) How about a feature that enables the Display Name of the Catigory be diffrent and linked to a unique English Directory Name?
c) Would your Ver. 2 Handle the 'strange' Languages differently?

Appreciating your help
Best Regards
GeGaBit

Total Posts: 168 | Joined: Mar 17, 2003 - 12:28pm | IP Logged

FocalMedia Team

Moderator
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of FocalMedia Team 
The comma seperates characters (not in the english alphabet) which is translated to real names (directory names). Could you maybe explain what kind of problems it causes. Maybe I can be of help. A url should be a url, no matter what language you use? The comma's is only used in urls.

It will run fine on Apache for windows but not IIS :(

Only insert 'charset=windows-1256' in defdir.html - Try to leave it out to see what it does?

The category name problem you are explaining should not be there. If you are not using the default templates for the categoires try switching to them to see what it does. subdirs.html / directories1.html

I have seen Turbo Seek run in Russian and many other languages with no problems - and I cannot think Arabic should be that different?



Total Posts: 1455 | Joined: Jul 27, 2002 - 4:28am | IP Logged

  Ukrainian

New Member
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of Ukrainian 
Hi!
I described the same problem earlier, but you have not understood, that I wanted to explain...
My site in Russian, and at me the same problems.
The mistake consists that url creates from the name of a category... If the site in English, accordingly any problems does not arise. But if any other language is used, distinguished from Latin each letter is replaced with the figures shared by points...
Example:
If my site was in English it is allowable, the link to a category "Computers" would look so:
http://www.mysite.com/Computers/
BUT!!!
My site in Russian (accordingly all in it is not present latin symbols), i.e. urls can not be displayed correctly...
The category "Computers" in Russian is written so "Êîìïüþòåðû", accordingly all not latin symbols will be recoded in figures!
So looks url on my site on a category "Computers", but in Russian: (go and look)
http://www.ualist.com/catalog/,202,206,204,207,220,222,210,197,208,219/

Agree, a unpleasant show

You need to make so that links to sections were created irrespective of the name of a category and language, for example that the link had numerical value, for example: the category "Computers" had url - http://www.mysite.com/catalog/001/
Such opportunity is in Links SQL
While you will not correct this mistake, all users using TS in other languages (distinguished from English) will receive similar problems...
The problem exists and with it is necessary to struggle!!!

P.S. The insert "charset=windows-1256" does not help!

I hope, this time you will understand a problem...
We look forward to your reply

Best regards, Sergey Girich.
http://www.ualist.com


Total Posts: 11 | Joined: Jan 31, 2002 - 9:34am | IP Logged

  FocalMedia Team

Moderator
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of FocalMedia Team 
So the operation of everything is ok, but you don't like the directory names. Ver 2.0 will have a remedy for this. It should be supported from ver 2.0 beta (release 2 - second beta release)

Miles


Total Posts: 1455 | Joined: Jul 27, 2002 - 4:28am | IP Logged

  GegaBit

Advanced Member
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of GegaBit 
I second Ukrainian in that inserting 'charset=windows-1256' does not solve the problem ..

If anyone experiences a simmilar problem the solution is adding : html dir="RTL" lang="AR"
at the top of their template html code.

Problem soleved.

Thanx
Gegabit

Total Posts: 168 | Joined: Mar 17, 2003 - 12:28pm | IP Logged

  Ukrainian

New Member
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of Ukrainian 
If anyone experiences a simmilar problem the solution is adding : html dir="RTL" lang="AR"
at the top of their template html code.


Where exactly it is necessary to insert this fragment of a code?
If it is possible, write please a full fragment of this code...


Total Posts: 11 | Joined: Jan 31, 2002 - 9:34am | IP Logged

GegaBit

Advanced Member
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of GegaBit 
Hi Ukrainian,

Quote:

Where exactly it is necessary to insert this fragment of a code?
If it is possible, write please a full fragment of this code...




The above solves only the issue of the CategoryName (8) appearing as 8) CategoryName ) by telling the browser to encode the page in RTL (Right to left) so your scroll bar would be on the left side instead of the right, it would not solve it with russian (lang=RU) for you are in Left to Right, but anyway here is the top of the html templates ..

Add the correct tag format to the below I removed them for this board to accept it.

html dir=RTL lang=AR
head
META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=your charset here

title Your Title /title
meta name=Description content=
meta name=Keywords content=


I am not sure this will help in your case but good luck and best wishes.
GegaBit

Total Posts: 168 | Joined: Mar 17, 2003 - 12:28pm | IP Logged

GegaBit

Advanced Member
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of GegaBit 
Hi Support,

Quote:

Ver 2.0 will have a remedy for this. It should be supported from ver 2.0 beta (release 2 - second beta release)

Miles





I am currently testing Ver2.0 Build 20030507

I am yet to see any remedies there for the directory name issues.

What I am talking about here is the ability to have the Category Name seperate from the actual path name used.

Let me refresh your memory on this issue:
When a Category name is in another language (In my case Arabic) some encoding happens and I end up with an url full of numbers even on static html pages, as Ukranian mentioned above its not too neat, I would add that visitors should be able to understand where they are going to or already in from the URL, one more: I am sure search engine ranking would be affected by this.

An ideal situation is an additional field in the PSeek Admin Add a New Directory below Directory Name: that you can call Path Name

So the visitor sees in the directory listing the Directory Name and the Directory Path Name is what appears in the link to that category.

Hope my question is clear to you, also please see if you can point out any Ver2 feature that solves this issue.

Thanx
GegaBit

Total Posts: 168 | Joined: Mar 17, 2003 - 12:28pm | IP Logged

Next Page »

Pages: [1] 2


Lock Topic

 

Forum Legend

New Member

Reply to topic

More than 50 posts | Member

Reply to topic with quoted message

More than 100 posts | Full Member

Edit Message

More than 150 posts | Advanced Member

View profile

More than 200 posts | Advanced Member

Email member