In misc/generate HTML it's indicated that "This requires that none of your category names contain characters which are illegal in a directory name"; i turned the "activate" and "use subdirectories ..." to "yes". As i am french writing, i have to use "É" (& E acute ; ) beginning some categories title. As i was confirming a modification of a link present in a category of this type, i saw a page informing me with a lot of "warning ..." and no modification has been done.
then i turned to "no" these two "activate" and "use ..." ... and it works
so my question is : is it possible using my french (and i presume german, swedish and so on) accentuation with the "Automatically Update HTML Version" ?
And how to make replacement that the name of a category was on russian, and each letter was replaced the latin letter in a line of the address, for example the name of a category "Ñòðà Ãà " - adress "somesite.ru/strana" ... If it is possible
Comments on illegal characters ?
Experienced
Usergroup: Customer
Joined: Oct 21, 2003
Total Topics: 21
Total Comments: 53
hello,
In misc/generate HTML it's indicated that "This requires that none of your category names contain characters which are illegal in a directory name";
i turned the "activate" and "use subdirectories ..." to "yes".
As i am french writing, i have to use "É" (& E acute ; ) beginning some categories title.
As i was confirming a modification of a link present in a category of this type, i saw a page informing me with a lot of "warning ..." and no modification has been done.
then i turned to "no" these two "activate" and "use ..." ...
and it works
so my question is : is it possible using my french (and i presume german, swedish and so on) accentuation with the "Automatically Update HTML Version" ?
thank you
CC
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You'll need to figure out all the illegal characters and list them. Currently the function is this:
(in commonfuncs.php)
Experienced
Usergroup: Customer
Joined: Oct 21, 2003
Total Topics: 21
Total Comments: 53
Thank you (twice today )
Usergroup: Customer
Joined: Apr 15, 2005
Location: Russia
Total Topics: 3
Total Comments: 10
And how to make replacement that the name of a category was on russian, and each letter was replaced the latin letter in a line of the address, for example the name of a category "Ñòðà Ãà " - adress "somesite.ru/strana" ... If it is possible
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Can you find a function somewhere on the internet that translates the cyrillic characters to roman ones?
Usergroup: Customer
Joined: Apr 15, 2005
Location: Russia
Total Topics: 3
Total Comments: 10
Equality of symbols can be looked here http://translit.ru/2.php .... function, may be search, only it is necessary for a few time
Usergroup: Customer
Joined: Apr 15, 2005
Location: Russia
Total Topics: 3
Total Comments: 10
This that that is necessary?
function ru2Lat($string)
{
$rus = array('¸','æ','ö','÷','ø','ù','þ','ÿ','¨','Æ','Ö','×','Ø','Ù','Þ','ß','Ü','ü','Ú','ú');
$lat = array('jo','zh','c','ch','sh','shh','ju','ja','JO','ZH','C','CH','SH','SHH','JU','JA','','','','');
$string = str_replace($rus,$lat,$string);
$string = strtr($string," ÀÃÂÃÄÅÇÈÉÊËÌÃÃŽÃÃÑÒÓÔÕÚÛÜÃà áâãäåçèéêëìÃîïðñòóôõúûüý"," ABVGDEZIJKLMNOPRSTUFH'I'Eabvgdezijklmnoprstufh'y'e");
return($string);
}
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Well, place that function in commonfuncs.php and then edit the function I listed above so that it starts with
Then tell me if it does what you want. If it does, I'll make it standard.