Title: DataTables strings extension
Last modified: November 21, 2022

---

# DataTables strings extension

 *  Resolved [riflebird](https://wordpress.org/support/users/riflebird/)
 * (@riflebird)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/datatables-strings-extension/)
 * Hi Tobias,
 * Looking to amend the “search” string and I’m using the datatables string extension
   but the changes aren’t taking effect. I checked support and I noticed the advice
   to include the language reference in the table shortcode.
 * This does the job but I was hoping to avoid manually changing the shortcode for
   some 40 or so different pages. Is there an alternative I can try? Hope you can
   help.
 * Many thanks,
 * Dave
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatatables-strings-extension%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/datatables-strings-extension/#post-16220721)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * The reason for the auto-detection not working seems to be that the frontend of
   your site is using British English (`en_GB`) as its locale, while you have used
   the `en_US` translation file. Can you please try naming that `lang-en_GB.json`
   instead of `lang-en_US.json` in the TablePress Extension’s folder (where you 
   made the text changes)?
 * Note that changing this string via the Extension will affect all TablePress tables
   on the site. If you’d rather just change the “Search” string for this particular
   table, I would recommend to add this to the “Custom Commands” text field on the
   table’s “Edit” screen:
 *     ```
       "language": { "search":"Search size:" }
       ```
   
 * (instead of using the Extension here at all).
 * Regards,
    Tobias
 *  Thread Starter [riflebird](https://wordpress.org/support/users/riflebird/)
 * (@riflebird)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/datatables-strings-extension/#post-16222330)
 * Hi Tobias,
 * That worked a treat! Thanks v much for the fix, and for the speedy response.
 * Best regards,
 * Dave
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/datatables-strings-extension/#post-16222777)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias

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

The topic ‘DataTables strings extension’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/datatables-strings-extension/#post-16222777)
 * Status: resolved