• Resolved flaviese

    (@flaviese)


    Hi, I am using tablepress with scheduled autoimport xls file (every 15 minute) on a multilanguage site (it works with WPML).
    Table data do not change per language, but I need to translate headers and other static strings. Is there a way to translate strings without having to produce one table per language?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    No, sorry, there’s no direct way for that. One trick could be to use duplicated header rows, and then show the correct one based on the language.
    For example, you could use the first table row for English, second one for German, third one for French, or whatever. Then, mark these three rows as “hidden” on the table’s “Edit” screen (using the “Selected rows: Hide” button). Then, on the three pages for the languages, use a Shortcode like

    [table id=123 show_rows=1 /]
    

    for English,

    [table id=123 show_rows=2 /]
    

    for German, and so on.

    Regards,
    Tobias

    Thread Starter flaviese

    (@flaviese)

    well, it could be an option!
    Thank you.
    Flavio

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘multilinguage table’ is closed to new replies.