WordPress.org

Ready to get started?Download WordPress

Forums

Transposh WordPress Translation
Transposh changes /en/ to current language removes /en/ (2 posts)

  1. Kangarooo
    Member
    Posted 1 year ago #

    Native language LV
    Added EN and RU

    In code i have `<td width="50" height="39" valign="top"><a href="<?php echo home_url(); ?>/en/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('eng','','<?php bloginfo('template_directory'); ?>/images/top3_2_en_over.jpg',1)"><img src="<?php bloginfo('template_directory'); ?>/images/top3_2_en.jpg" alt="English" name="eng" width="50" height="39" border="0"></a></td>
    <td width="24" height="39" valign="top"><img src="<?php bloginfo('template_directory'); ?>/images/top3_3.jpg" alt="top3_3" width="24" height="39" border="0"></td>`

    When i go to homeurl/ru/ it changes all links of <?php echo home_url(); ?>/en/ to http://old.daugmalesmedus.lv/ru/

    <td width="50" valign="top" height="39"><a onmouseover="MM_swapImage('eng','','http://old.daugmalesmedus.lv/wp-content/themes/minimedus/images/top3_2_en_over.jpg',1)" onmouseout="MM_swapImgRestore()" href="http://old.daugmalesmedus.lv/ru/"><img width="50" height="39" border="0" name="eng" alt="English" src="http://old.daugmalesmedus.lv/wp-content/themes/minimedus/images/top3_2_en.jpg"></a></td>

    http://wordpress.org/extend/plugins/transposh-translation-filter-for-wordpress/

  2. Ofer Wald
    Member
    Plugin Author

    Posted 1 year ago #

    Please wrap your code with a no_translate class somewhere.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic