• Resolved mstudioIL

    (@mstudioil)


    How do I translate tables using Polylang? I need to create table for each language?

    Also I need the translation to work with LTR and RTL sites.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    yes, I think the best approach is to create one table for each language, e.g. with adjusted table IDs (you can change that on the table’s “Edit” screen), like 1-en, 1-de, 1-fr, etc. and to then embed that table into the translated page content.

    For the LTR/RTL, TablePress follows the specified text direction on the site, but you could also change it with CSS code.

    Regards,
    Tobias

    Thread Starter mstudioIL

    (@mstudioil)

    Thanks, so I can copy table 1 and change the name to 1-es and shortcode will will [table id=1-es /] ?

    Where I set the direction?? I didn’t see on the editing screen.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    correct! That’s how you would use the Shortcodes. (But you would need to edit the “Table ID” field, not the “Table Name” field!)

    For the direction: This is not a setting, but you can add this to the “Custom CSS” text area on the “Plugin Options” screen of TablePress:

    .tablepress-id-1-es {
      direction: ltr;
    }

    Regards,
    Tobias

    Thread Starter mstudioIL

    (@mstudioil)

    thanks for the help, the code about the direction will only work on the frondend?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    yes, this only influences the frontend.

    Can you give me examples (screenshots should be enough) of what you would like to adjust here on the “Edit” screen? I think we might be able to achieve that with CSS code as well.

    Best wishes,
    Tobias

    Thread Starter mstudioIL

    (@mstudioil)

    Thanks for the help, I need first to build the tables

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    alright! Let me know if there’s anything else then ??

    Best wishes,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Work with Polylang’ is closed to new replies.