Gossamer Forum
Home : Products : Links 2.0 : Customization :

Multilanguage version of links?

Quote Reply
Multilanguage version of links?
What did you think about a link-version which supports as much languages as you like?
tell me!

I would do this, cause i need links in german and english version. someone wanna help me?

Alex? What did you mean?

AND: Whats up with the beta-forum? i couldn't post topics!

Bogus
my links2beta: www.ford-network.at/network


------------------
Quote Reply
Re: Multilanguage version of links? In reply to
Bogus, I have a problem same to you.

I live in asia, korea.
I'd installed the links v1.1 using both korean and english. but, I can't create categories which have non-english characters.

What should I do?

Quote Reply
Re: Multilanguage version of links? In reply to
Well, you can modify it!
visit http://cgi.somo.co.kr
or mail me.
However, I prefer MegaLinks 2.01
Quote Reply
Re: Multilanguage version of links? In reply to
To Kim: on the links 1.1 page is a mod for supporting non-enlgish characters. I don't know how it works for links 2b2. but It's a chance.

To newage: what language must i use, that I can read your page. with the utf8 standard i cant read anything.

To both: Are you interested to hélp me?

------------------
www.ford-network.at
Quote Reply
Re: Multilanguage version of links? In reply to
hey newage: what is mega link and where can i get it?

tell me more about!

------------------
www.ford-network.at
Quote Reply
Re: Multilanguage version of links? In reply to
Simpley remove the subs that check catorgies before adding/modifying/building then you can you any letters you want(or any lanunge) I've explained how to do this in some post, but not sure witch one, search for my usernames, jbost(may not work, when the forum whent down it delted me)or Joey Bost It will work for any version of Links, but MAKE SURE you dont use any of the system cariters in your catorgies, as it won't care what you name them
Thanks
Joey
Quote Reply
Re: Multilanguage version of links? In reply to
 
Quote:
Simpley remove the subs that check catorgies before adding/modifying/building then you can you any letters you want(or any lanunge)

Are you sure? One of the problems with foreign characters it that the category name = directory name = url. And you will have problems naming a directory using 2 byte encoding or something similiar..

Cheers,

Alex
Quote Reply
Re: Multilanguage version of links? In reply to
Alex, that's why I said "but MAKE SURE you dont use any of the system cariters in your catorgies, as it won't care what you name them" I'm only speak English and not very falimer with other laugaes,
Thanks
Joey
Quote Reply
Re: Multilanguage version of links? In reply to
To all replyers: I don't wanna use characters only! I wanna create a version of links, which displays all the text on the pages in different languages.

What did you mean about theese idea?


------------------
www.ford-network.at
Quote Reply
Re: Multilanguage version of links? In reply to
I don't know this is perfect, but I'm using it.

<1> Open db.pl file, and make these source-code to commentary with '#'.

if ($record{'Date'}) {
eval { &date_to_unix($record{'Date'}); };
if ($@) { push (@input_err, "Bad Date Format:

...

(Invalid)"); # but has failed validation so add
} # it as an error.
}
}
}

<2> Open nph-build.cgi file, and make it like this.

sub build_check_dir {
# Checks the directory before we create it to make sure there
# are no funncy characters in it.

my ($input) = $_[0];

# if (!($input =~ m,^[\w\d/_\Q$build_allow_char\E]+$,)) {
# &cgierr ("invalid directory name: $input. Reason: contains illegal characters.");
# }
if (!($input =~ m/^\Q$build_root_path\E/)) {
&cgierr ("invalid directory name: $input. Reason: does not start with defined root.");
}

return $input;
}
Quote Reply
Re: Multilanguage version of links? In reply to
I don't know this is perfect, but I'm using it.

<1> Open db.pl file, and make these source-code to commentary with '#'.

if ($record{'Date'}) {
eval { &date_to_unix($record{'Date'}); };
if ($@) { push (@input_err, "Bad Date Format:

...

(Invalid)"); # but has failed validation so add
} # it as an error.
}
}
}

<2> Open nph-build.cgi file, and make it like this.

sub build_check_dir {
# Checks the directory before we create it to make sure there
# are no funncy characters in it.

my ($input) = $_[0];

# if (!($input =~ m,^[\w\d/_\Q$build_allow_char\E]+$,)) {
# &cgierr ("invalid directory name: $input. Reason: contains illegal characters.");
# }
if (!($input =~ m/^\Q$build_root_path\E/)) {
&cgierr ("invalid directory name: $input. Reason: does not start with defined root.");
}

return $input;
}
Quote Reply
Re: Multilanguage version of links? In reply to
I don't know this is perfect, but I'm using it.

Fisrt, Open db.pl file, and make these source-code to commentary with '#'.

if ($record{'Date'}) {
eval { &date_to_unix($record{'Date'});
};
if ($@) { push (@input_err, "Bad Date Format:

...

(Invalid)"); # but has failed validation so add
} # it as an error.
}
}
}

Second, Open nph-build.cgi file, and make it like this.

sub build_check_dir {
# Checks the directory before we create it to make sure there are no funncy characters on it.

my ($input) = $_[0];

# if (!($input =~ m,^[\w\d/_\Q$build_allow_char\E]+$,)) {
# &cgierr ("invalid directory name: $input. Reason: contains illegal characters.");
# }

if (!($input =~ m/^\Q$build_root_path\E/)) {
&cgierr ("invalid directory name: $input. Reason: does not start with defined root.");
}

return $input;
}
Quote Reply
Re: Multilanguage version of links? In reply to
Sorry for spam-posting.
But it's strange...
I didn't write the same messages 3 times...