Results 1 to 11 of 11

Does vbSEO support Chinese

This is a discussion on Does vbSEO support Chinese within the Pre-Sales Questions forums, part of the Announcements & Pre-Sales category; Hi, it's said that veSEO 3.0 gold will support lots of languages, will it support Chinese? Especially, will it support ...

  1. #1
    Junior Member
    Real Name
    polyrandom
    Join Date
    Apr 2007
    Posts
    12
    Liked
    0 times

    Does vbSEO support Chinese

    Hi, it's said that veSEO 3.0 gold will support lots of languages, will it support Chinese? Especially, will it support embed Chinese topic/post titles into the url?

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Hello,

    yes, you can disable "Replace Non-English Characters in URLs" option in vbseocp to have unchanged thread/forum titles in URLs (urlencoded).

  3. #3
    Junior Member
    Real Name
    polyrandom
    Join Date
    Apr 2007
    Posts
    12
    Liked
    0 times
    Actually that might not be the best solution.
    Take Chinese character as an example, there is a pronunciation mapping between Chinese character and English characters.
    For example, the word "Computer Science" in Chinese is "计算机科学",and its pronunciation is "jisuanjikexue"。
    so,for a post with title "计算机科学", i would rather the url to be http://www.example.com/vbb/jisuanjikexue_123.html
    instead of
    http://www.example.com/vbb/计算机科学_123.html
    I can write the code by myself but I am not sure if I can integrate it into vbseo since the source code is encrypted.

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Perhaps that would require you to define corresponding "translation" for every word, which is not practically useful, I believe.

  5. #5
    Junior Member
    Real Name
    polyrandom
    Join Date
    Apr 2007
    Posts
    12
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Perhaps that would require you to define corresponding "translation" for every word, which is not practically useful, I believe.
    I am not sure if it is practical for other Asia language like Japanese or Korean. But for Chinese it is practical, because there is an algorithm to map Chinese characters into PinYin pronunciation very fast. Generally it isn't a one-to-one map but a search in a pre-calc tree.
    If vbSeo could have some hook setup in admin panel that I can put a function to translate a title into a url, then I can write this function by myself and use it.
    I am currently trying to do some SEO on my forum. There are a lot of free solutions but I believe vbSeo is by far the best one I can find. So I am eager to integrate it into my forum. While the title->url mapping is the only thing I worry about now.

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    If you want to define custom per-character replacement - vBSEO supports it, as described in replace non english characters

  7. #7
    Junior Member
    Real Name
    polyrandom
    Join Date
    Apr 2007
    Posts
    12
    Liked
    0 times
    That solution could solve the problem but might not be the best way for Chinese.
    Generally there are more than 3000 frequently used Chinese characters, I guess that's the reason you said that it is not practically useful.
    However, if vbSeo exposes a function interface instead of an array, it would solve the problem.
    Instead of $vbseo_custom_char_replacement, is it possible to provide something like function vbseo_custom_char_replacement( ch ) or even function vbseo_custom_string_replacement( str ).


    Thanks

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Yes, it is also possible to manually define custom character translation function in config_vbseo.php file (VBSEO_TRANSLIT_CALLBACK setting).

  9. #9
    Junior Member
    Real Name
    polyrandom
    Join Date
    Apr 2007
    Posts
    12
    Liked
    0 times
    I've given up this idea.
    The reason is the url length. For a title in English with 20 chars, the translated url will be around 20 chars as well.
    For a title in Chinese with 20 characters, after translated into PinYin, the length would be around 80 chars, not feasible. :'(

  10. #10
    Junior Member
    Real Name
    polyrandom
    Join Date
    Apr 2007
    Posts
    12
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Yes, it is also possible to manually define custom character translation function in config_vbseo.php file (VBSEO_TRANSLIT_CALLBACK setting).
    sorry,what should the prototype of this function be?

    function my_function( $title )
    {
    // do some processing
    return $title;
    }

    ??????

  11. #11
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Yes, that is correct.

Similar Threads

  1. vBSEO 2.2.0 Released - Google/Yahoo Sitemap Compatible
    By Juan Muriente in forum vBSEO Announcements
    Replies: 58
    Last Post: 11-17-2005, 10:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •