Okay
  Public Ticket #1847359
Translating placeholders within range filter and search box
Closed

Comments

  • hanzadeveloper started the conversation

    Hello,

    I'm currently developing a website in polish language, using wpdatatables + powerful filters.

    Issue: I'm having some trouble with translating certain placeholders in data-range filter (from & to) and in select filter (search, searching... and so on). Other elements have translated by themselves when I've chosen polish in "Interface language", but these do not change.

    Here's what I've tried already:
    - I've tried editing en_US language files with POE, but the addon doesn't seem to be using them. On the side note, I found some strings like "From" and "To", but for example "Searching..." wasn't there.
    - I've also tried adding pl_PL translation by copying and renaming the en_US one (as I didn't care about translating admin-side fields), but the addon also didn't use those files
    - Lastly, I've tried to use simple jquery attr replace for placeholders by ID on (document).ready that I've inserted to custom js field inside the addon. The script didn't produce any errors, but also didn't change the placeholders. I suspect that another script runs after that changes it back to english ones.

    What should I do?

  •  1,774
    Miloš replied

    HI hanzadeveloper,
    Thank you for your purchase.

    You can take a look at this ticket where you can see how you can translate all the strings

    https://tmsplugins.ticksy.com/ticket/1346552/

    Also I am sending you a latest po and mo files in english so maybe that can help you out.


    Best regards.

    Kind Regards, 

    Miloš Jovanović
    [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