WordPress.org

Ready to get started?Download WordPress

Forums

Transposh WordPress Translation
[resolved] Is there a way so that it does not translate comments. (5 posts)

  1. Sudeep Acharya
    Member
    Posted 1 year ago #

    Hi,

    Your plugin is really working well on my site.
    I just want to know if I can disable translation for comments.

    Regards,
    Sudeep Acharya

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

  2. Ofer Wald
    Member
    Plugin Author

    Posted 1 year ago #

    Yes,

    In your theme, wrap the comments with a no_translate class

  3. Sudeep Acharya
    Member
    Posted 1 year ago #

    Thanks Ofer for responding.

    Can you please elaborate?

    Regards,
    Sudeep Acharya

  4. Ofer Wald
    Member
    Plugin Author

    Posted 1 year ago #

    I will give an example,

    In twenty-twelve you have a file called comments.php in which there is a line like:

    <div id="comments" class="comments-area">

    You will need to change it to:

    <div id="comments" class="comments-area no_translate">

    and that's all folks

  5. Sudeep Acharya
    Member
    Posted 1 year ago #

    Thank You Ofer,

    Simple and easy solution crafted by you.

    Regards,
    Sudeep Acharya

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic