Support » Plugin: Transposh WordPress Translation » How translate to default language

  • My default language is English, but I want to add few blogposts only in Russian and translate it to my default language. How I can do that, because now i see russian blogpost in english version of website.

    My blogposts – blog

    Maybe i have to change my template or something?

    My blogpost page template looks like this:

    <?php
    /*
    Template Name: Post List
    */
    ?>
    
    <?php get_header(); ?>
    	<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    <div id="content">
    <h1><?php the_title();?></h1>
    <?php the_content();?>
    <?php endwhile; ?>
    <div id="post_list">
        <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts(''); ?>
    	<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
        <div class="post_repeater">
    	<h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
    	<p><?php the_excerpt(); ?></p>
        <p><a href="<?php the_permalink(); ?>">> read more</a></p>
        </div>
    	<?php endwhile; else: endif; ?>
    </div><!-- end post_list div -->
    <div class="navigation"><p><?php posts_nav_link(); ?></p></div>
    
    <div style="clear:both;"></div>
    </div><!-- end content div -->
    
    <?php get_sidebar(); ?>
    <div style="clear:both;"></div>
    <?php get_footer(); ?>

    https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ofer Wald

    (@oferwald)

    Make sure translate in default language is enabled, and that you don’t have stray tags

    Yes, translate in default language is enabled, but i don’t need translate. I just want to show different content in blog. English articles in english version and russian articles in russian version (articles different in both languages).

    Now I’am showing english and russian in same blog, but this not what i want.

    Look here http://ikeaplanner.net/blog/

    Plugin Author Ofer Wald

    (@oferwald)

    This isn’t really a feature of Transposh, Transposh thrives to provide the same site in multiple languages, it does not directly support what you want.

    You can always force this by using relevant shortcodes, but other plugins might better fit your scenario.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How translate to default language’ is closed to new replies.