Viewing 1 replies (of 1 total)
  • Plugin Author Chouby

    (@chouby)

    Hi!

    It much depends on how your plugin works. Basically, Polylang is able to translate out every WP core functionnalities (options, custom post types, custom taxonomies). I have written a documentation dedicated to developpers.

    For options, you need to register them in the strings translations list table. I wrote recently about this: https://www.ads-software.com/support/topic/skt-full-width-slider?replies=2#post-6583605

    For custom post types and taxonomies, you can avoid the user to manually check them in Polylang settings, either with a wpml-config.xml file or the filters pll_get_post_types and pll_get_taxonomies.

    You can also force the synchronization of custom fields using the filter pll_copy_post_metas.

    As Polylang fully relies on WP tables, it is hard to translate content included in custom tables. But if you use custom queries on core tables then I can help as it is not well documented.

Viewing 1 replies (of 1 total)
  • The topic ‘How should I make my plugin work with Polylang’ is closed to new replies.