Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Russian Language Support

Quote Reply
Russian Language Support
| have Category name on Russian language, but when I build all pages, the folder has name, for example: "______and__". Write only english symbols.Unsure
Please help...
Quote Reply
Re: [Konstantin] Russian Language Support In reply to
As far as i know it is meant to do this. I dont think many web servers accept folders with non-english characters in. It is the same with &'s, @'s and other letters with folder names. As far as i can tell it is not a problem, unless you have two categories similarly names, e.g;

Someone@somewhere -> translates to Someone_somewhere
or
Someone&somewhere -> translates to Someone_somewhere

I dont know if a fix has been made for this, but maybe some of the more knowledgable users will know this Wink

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Konstantin] Russian Language Support In reply to
In Reply To:
| have Category name on Russian language, but when I build all pages, the folder has name, for example: "______and__". Write only english symbols.Unsure
Please help...

I edited my Category.pm under admin/Links and commented out the code that replaces the characters with "_":

Code:
sub _clean {
# -------------------------------------------------------------------
# Cleans up a name.
#
my $name = shift;
# $name =~ s/\s/_/g;
# $name =~ s/[^\w\d_\-\/]/_/g;
return $name;
}

It works for me and I have the entire World category from the DMOZ rdf imported and running.

Sean
Quote Reply
Re: [SeanP] Russian Language Support In reply to
this work!Cool
Quote Reply
Re: [Konstantin] Russian Language Support In reply to
Hello Konstantin.

As i see you've been using Links SQL with Russian fonts. I have some questions to you, we might help each other with Russian Links SQL.

Жду от Вас письма на адрес apeiron@apeiron.ru.

Best Regards,
David
Quote Reply
Re: [Konstantin] Russian Language Support In reply to
HI,
Open file ConfigData.pm - admin/Links
Find 'foreign_char' => '0',
and chang it to:
'foreign_char' => '1',

Then you Links whill generate your link category with the ID of the category I think :))
Quote Reply
Re: [Troja] Russian Language Support In reply to
You should change the setting from admin to avoid corrupting the config file.