WordPress.org

Ready to get started?Download WordPress

Forums

Polylang
Polylang integration with Types plugin (7 posts)

  1. waldmatias
    Member
    Posted 1 year ago #

    Hi,

    Does Polylang support integration with the Types plugin? Types is integrated with WPML, so I was just wondering if Polylang played well with Types since it really is a breeze to make custom types using that plugin. Having said that, I don't really want to break my multilingual support, specially since I'm using pretty permalinks.

    Thanks,
    Matt

    http://wordpress.org/extend/plugins/polylang/

  2. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    I never tested Types with Polylang. It is likely that WPML and Types work well together as these two plugins are from the same authors :)

  3. Ayman
    Member
    Posted 1 year ago #

    I'm using Types along side with polylang.
    The custom post type created by Types is successfully being translated by Polylang. The probleams I faced using Polylang with Types are:

    1. The strings are not being translated even if in the settings of Polylang is showing that it does.
    2. When adding a translation to a post that is a custom post type the publication date of the original post is getting changed to same day of the translation

  4. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    @Ayman
    1. Could you explain how you tested?
    2. Could you try to disable the published date synchronization in Polylang settings?

  5. Ayman
    Member
    Posted 1 year ago #

    @Chouby

    1. I did write the translation for the strings present in:
    Settings > Languages > Strings translation the translations are being saved but not showing any where when the "Strings" are present and the language is switched.

    2. Sorry, I forgot about it ... Any way, I did try to disable the published date synchronization in Polylang settings as you suggested and it works.

  6. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    It may come from the fact that the strings are created by Types before Polylang sets the correct language. If, in Polylang settings, you set the language from the url, the language is set sooner than if you set it from content. However even, in first case, it may come too late. I paln to improve this in v1.1 and load the language as soon as possible (as WPML does), but it will be possible only when setting the language from the url.

  7. miguelcortereal
    Member
    Posted 1 year ago #

    Same problem here.

    Not with Types plugin but WP Simple Paypal Shopping Cart. Language plugin never switch, it keeps using the selected default language and the translation given by plugin's .mo files.

    After spent a few hours digging on this the conclusion seems to be same: Polylang gets in action too late.

    I got into that idea after read this:
    http://geertdedeckere.be/article/loading-wordpress-language-files-the-right-way

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic