• Resolved FadelyM

    (@fadelym)


    Hi, Tobias. I really like TablePress; I already have several tables on my website and expect to add more. Now I have a new wrinkle:

    I want to create a parallel version of my site in Spanish. I have changed the table language to Spanish in the admin settings, and all of the admin instructions, set-up, etc., are in Spanish — impressive! However, with JS functions enabled (sorting, searching), I don’t see Spanish in those features on the user end (“show __ entries”, “search”, etc.); they’re still in English.

    How can I change that?

    https://wordpress.org/plugins/tablepress/

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.

    The setting on the “Plugin Options” screen indeed only changes the language in the admin area of TablePress.
    To change the language for a table on the frontend, you can add another parameter for the Shortcode that you are using for, like

    [table id=123 datatables_locale=es_ES /]

    If you want, you can also change those strings with this TablePress Extension for a certain language: http;//tablepress.org/extensions/change-datatables-strings/

    Regards,
    Tobias

    Thread Starter FadelyM

    (@fadelym)

    Thanks, Tobias — adding the parameter to the shortcode works perfectly, and it’s helpful to also know how to change the words themselves using your extension.

    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 ‘Language on front end’ is closed to new replies.