• A client is running a wordpress site, and I need to add intenationalization, so far I have been able to have it except for the google maps widget that generate markers but the URLs dont have internationalization.

    the wordpress is running a theme called geospaces which uses google maps to show the location of multiple categories like hotel, restaurants, branches etc.

    I added qtranslate to add localization and everything works correctly except for the google maps marker URLs.

    Currently the URLs need to be like: domain.com/language/category/item

    However google maps still uses domain.com/category/item

    I email the developers from the theme and told me that the URLs are generated from the Permalink.

    So far I have been able to look at the code and found some areas of soluton:
    $tooltip_message .= '<div style="float:left;width:100px;"><a href="'.get_permalink($post->ID).'" class="ptitle">'.$post_title.'</a>';

    Here are other snippets of code:
    single_map_widget.php
    and
    home_map_widget.php

    Can anyone suggest a solution.

  • The topic ‘Add internationalization to wordpress site’ is closed to new replies.