Support » Plugin: Transposh WordPress Translation » Language translation issue with wpDataTables

  • Hello,

    First of all I want to thank you and say that I love your plugin.

    I’m stuck right now because of an issue with the language translation in wpDataTables and I was hoping you could help me out.

    The issue is that when I switch to the Arabic language the entire table translates as the table is loading initially for about 2 seconds but then only the column headings translate and the content in the rows goes back to the default language (English). here’s a screenshot:

    When table is loading:

    https://i.stack.imgur.com/RwPum.png

    After table completely loads:

    https://i.stack.imgur.com/QpGw2.png

    I’m guessing this could be an Ajax issue but I’m not sure where to start with this at all since I’m not very well versed with code. Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ofer Wald

    (@oferwald)

    Hi,

    Indeed – this does look like an ajax issue,
    If you will provide us with a url we’ll try and see what can be done

    Hey Ofer,

    Could you kindly provide me your email so I can send you the url as our site is not currently on public display.

    Thanks.

    Plugin Author Ofer Wald

    (@oferwald)

    Just contact us through the contact form on our site, we can continue the discussion by email from there.

    Okay, sent.

    Plugin Author Ofer Wald

    (@oferwald)

    Hi,

    Thanks for the link, this is indeed an ajax issue, as the wpdatatable loads the content with ajax (which seems kind of weird, as the content is there already when the page is loaded)

    What can be done:
    1. Add a filter so that the ajax content will pass through the translation
    2. Disable the loading of the content with ajax

    Good luck,

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.