Okay
  Public Ticket #3389457
Multi Langauge Site
Closed

Comments

  •  1
    Erez started the conversation

    Hi,

    In the near future, I plan to add more languages to my website.

    I have about 100 WP Data Tables placed around the website (Most of them from SQL queries). Cloning them and translating them is not a viable solution and is terrible for long-term maintenance.

    The content of the tables is mostly numbers. When it is not, I can translate myself via the SQL query. What is critical for me, is to translate the columns headers. Idealy, I would like to keep a database table of the titles in different languages and have the plugin load the correct title according to the selected language.

    Do you have a ready-made solution for this situation?
    Is it possible to make such a customization?

    The second type of table I use quite often are the "simple tables"., what approach do you recoemd for those?

    Thanks,
    Erez

  •  1,848
    Miloš replied

    Hi, Erez.

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    -

    1. In regards to dynamic Header Translations for our DataTables ( SQL and others) :

    I am truly sorry to disappoint you, 

    we did our best to search through all our available working examples,

    but we don't have a working solution for a dynamic translation of headers/ 

    or rather to say, dynamic change of headers depending on which language locale gets triggered/

    or if a user chooses another language, as you described.


    We also don't have any built-in solution to achieve this at this time.

    You can suggest it to our developers - they will do their best to make a solution in the future.

    Please feel free to search on our suggestions page

     to see if someone may be already suggested this feature. If you can't see it, feel free to add your suggestion there,  and as more people vote, the feature will move higher on the priority list.

    You can certainly follow our changeLog page if you'd like ( it is also available in the plugin dashboard), where we state any changes/new features/bug fixes during updates;

    and our newsletter, so you're informed about new features, bug fixes, freebies, etc.

    If you have coding skills and wish to try to make a custom solution now,

    you can check out our available hooks for Developers on this documentation and see if you can find any hook that might help.

    Please be advised that custom solutions with hooks are not included in our support.

    You can also research resources such as Stack Overflow to see if any other user perhaps found a workaround.

    Maybe this can be done with some custom work, but our developers are very busy at the moment, working on some priority tasks and fixing bugs and issues with our plugins, so they won't be having the time for custom work in the near future.

    ( We do like to give examples for certain solutions, but for this use-case, we, unfortunately, don't have anything yet)


    2. In regards to Simple Tables, i am not sure if i understood,

    if you meant to ask if we have anything similar for the Simple Tables, we also do not have any way to have translated version of Headers for Tables that could change depending on the selected language.

    The Simple Tables have specific unique features,

    but also have a number of limitations when compared to other DataTable types.

    I will just point out the one for storing the data from them :

    • These simple datatables are not saved in the database like manual tables, but instead, their data is stored in database table wp_wpdatatables_rows. So, pulling data from the database is a bit more complex because this database table stores data in JSON format, not like manual tables (columns * rows).

    You can see the full details/limitations on Simple tables here.


    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    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

  •  1
    Erez replied

    I am not happy with the situation, but I understand.

    Thank you for the detailed and clear response!

  •  1,848
    Miloš replied

    Hi, Erez.

    I can completely understand.

    No problem, i will keep doing my best to advise.

     Anything else that we could assist with, please don't hesitate to create new tickets.

    Thank you.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    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