Need language translation add on flag buttons

Discussion in 'Programming' started by nicedeals, Sep 22, 2007.

  1. #1
    Need different language translation add-on buttons in the form of country flags as you see on many sites now. This one is for a oscommerce store but I dont think the code has to be much different.
    I would like the translated pages to appear as part of my website e.g. www.mydomain.com/german, www.mydomain.com/spanish etc. for seo purposes.
    Thanks!
     
    nicedeals, Sep 22, 2007 IP
  2. neil patrick harris

    neil patrick harris Peon

    Messages:
    288
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    neil patrick harris, Feb 26, 2008 IP
  3. alamster

    alamster Peon

    Messages:
    41
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Yes, use neil ideas. Wrap it inside ifranme to arrange the result in seo form.

    Like :

    <?php
    switch ($flag){
    case 'de':
    $url="mydomain.com/german";
    $real_url="google_translate_real_service_url";
    break;
    case 'sp':
    .......
    ...
    }

    // put it in frame code
    ....
    .....
    .....
    ?>
     
    alamster, Feb 26, 2008 IP