• Resolved jpujolcat

    (@jpujolcat)


    Hi! How can I translate “Search” text?
    I’ve tried it searchin string translation with Loco Translate, but I didn’t found this string!

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.

    This is string is loaded from a JSON file, as it’s needed on the frontend, in JS code.
    The relevant file is stored in the tablepress/i18n/datatables/ folder.
    Note that TablePress will load the one that is matching the site’s locale. You can however also load a different one by using a Shortcode, like
    [table id=123 datatables_locale="fr_FR" /]
    You could also translate desired strings using a TablePress Extension, see https://tablepress.org/extensions/change-datatables-strings/

    Regards,
    Tobias

    Thread Starter jpujolcat

    (@jpujolcat)

    Hi!

    Thank you for the answer.

    But I cannot translate this string to my language…. “Search:”

    If I install de plugin, wordpress crash… and with shortcode, my language is not recognized ( ca_ES ). Is it possible?
    I’ve tried in fr_FR and es_ES and it works!

    Thanks!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    what you mean with “WordPress crashes”?
    You will just have to install the Extension as a normal plugin, copy an existing .json file and name it lang-ca_ES.json in the Extension’s folder.

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Translate “Search” text’ is closed to new replies.