• Resolved dailandemon

    (@dailandemon)


    I wanted to remove the automated translation from the input search bar and the selector back to English, I have looked around but I haven’t found any option to change it.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    To achieve that and switch all of these translations to English, please add this to the end of your theme’s “functions.php” file:

    add_filter( 'tablepress_table_render_options', 'dcp_tablepress_datatables_english', 10, 2 );
    function dcp_tablepress_datatables_english( $render_options, $table ) {
      $render_options['datatables_locale'] = 'en_US';
      return $render_options;
    }

    Regards,
    Tobias

    Thread Starter dailandemon

    (@dailandemon)

    Thanks a lot, should’ve guessed a filter would do the trick

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Remove Translation’ is closed to new replies.