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

    (@tobiasbg)

    Hi,

    thanks for your question.

    Changing the “Search” word is possible with a TablePress Extension: http://tablepress.org/extensions/change-datatables-strings/

    For the necessary code to change that background color, please see the TablePress FAQ at http://tablepress.org/faq/ which contains some examples.

    Regards,
    Tobias

    Thread Starter Button9

    (@button9)

    Thank you!

    I realize I can just change the langue in Plugin Options instead, but for some reason Swedish is not shown in the list among languages. Why might that be?

    //Jonas

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Jonas,

    that’s because there’s no Swedish translation for TablePress yet. That list only contains the languages for which a translation of the TablePress admin screens is available.

    This is however completely independent of the language of the strings on the front end, like “Search” (for which there is a Swedish translation, in the file “i18n/datatables/lang-sv_SE.js”). That will always be shown in the language that is set in the “wp-config.php” file, in the WP_LANG constant.
    So, you could either change that, or add an extra parameter to the table Shortcode:

    [table id=123 datatables_locale="sv_SE" /]

    would load the Swedish file (that you could then change with that mentioned Extension).

    Regards,
    Tobias

    Thread Starter Button9

    (@button9)

    Thank you!

    Another question:

    Is it possible for the table to show the rows in a random order for each page update? This could be fair when we present different companies for instance.

    Best regards,
    Jonas

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Jonas,

    yes, that is possible with this Premium Extension for TablePress: http://tablepress.org/extensions/table-row-order/

    Regards,
    Tobias

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

The topic ‘Translate the "Search" button’ is closed to new replies.