I think this www.ads-software.com server has problems now. I refresh and it shows sometimes 3 my posts sometimes just 1.
And Ofer Wald sorry ??
Now i didnt see that it worked for me in screenshot also already couse lang code was just before http just didtn saw. Thx now this is great that we can get lang code and different files to be shown for each lang. We ask couse we cant resolve but when resolved others find answer.
THX ??
Thaiso you needed echo in whole php function like starting with echo bloginfo
Ofer Wald previous messege has answer for you.
Both works:
<?php echo get_bloginfo( 'stylesheet_url'). '-' . transposh_get_current_language(); ?>
<?php echo bloginfo( 'stylesheet_url' ).'-'. transposh_get_current_language(); ?>
This now is solved and can be added to transposh FAQ and some function can be made for transposh css name generating like if exist style(langcode).css else style.css.
Well if its good method to divide in different csses.
Otherwise theres some function coding needed or hardcoding like i did:
Heres then example how it works for me:
This gives lang code <?php echo transposh_get_current_language(); ?>
ir your current lang in website is English then en if German then de if French then fr
So i have language lv en ru so i made jpg`s:
m2_par_mums_lv.jpg
m2_par_mums_en.jpg
m2_par_mums_ru.jpg
m2_par_mums_lv_over.jpg
m2_par_mums_en_over.jpg
m2_par_mums_ru_over.jpg
and code
<a href="<?php echo home_url(); ?>/par-mums/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('parmums','','<?php bloginfo('template_directory'); ?>/images/m2_par_mums_<?php echo transposh_get_current_language(); ?>_over.jpg',1)">
<img src="<?php bloginfo('template_directory'); ?>/images/m2_par_mums_<?php echo transposh_get_current_language(); ?>.jpg" alt="Par Mums" name="parmums" width="194" height="43" border="0"></a>