Okay
  Public Ticket #2602360
Translate table
Closed

Comments

  • Robert Helle started the conversation

    Hello.

    I just signed up for your plugin premium version and it seems to work exactly as I needed. However it would be great if you could assist me in translating the following on frontend without having to install a translation plugin ( as this is the only part I need translated on the whole website).

    Above the table on the right: "Search: "

    Show "x" entries:

    and below the table:

    Showing 1 to 25 of 1,871 entries

    Also I am trying to move the "search" field to the left side making it more visible for visitors. The main thing for my visitors is to search for stuff in the table.

    I dont know if all this can easily be done or not, but would appreciate any assistance possible. Thank you.


  •  2,572
    Aleksandar replied

    Hello Robert

    Thank you for your purchase.

    "Showing X Entries" and "Search table" are located in .../wp-content/plugins/wpdatatables/source/class.wpdatatable.php starting from line 3610:

    $obj->dataTableParams->oLanguage->sSearchPlaceholder = __('Search table', 'wpdatatables');
    $obj->dataTableParams->oLanguage->sLengthMenu = __('Showing _MENU_ Entries', 'wpdatatables');

    "Showing X to XX of XXX entries" is located in ../wp-content/plugins/wpdatatables/source/class.wdttools.php on line 436:

    'sInfo' => __('Showing _START_ to _END_ of _TOTAL_ entries', 'wpdatatables'),
    

    Please note that these changes will be overwritten when the plugin is updated, so please save my response because you'll have to do it again.

    Moving the search field is not that easy, but I can suggest changing the skin to "Aqua", as its search is on the left side:

    3982292258.png

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables