• Resolved jorenvh

    (@jorenvh)


    Hi,

    Is it possible to prevent the Polylang language to be broadcasted?
    I want to broadcast for example a English article to a subsite that only has the Dutch language available. I tried this by not broadcasting the taxonomies since the language is a taxonomy, but it does still broadcast it, which leads to the creating of an extra language in my Dutch site.

    Thanks,
    Joren

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author edward_plainview

    (@edward_plainview)

    Are you using the Polylang Broadcast add-on? There is code in there that checks for non-existent languages and will prevent broadcasting if the language is not found.

    Thread Starter jorenvh

    (@jorenvh)

    Not using it atm, but I was writing an email to get some more information about the addon to see if it fits my needs.

    mmmm I don’t want the plugin to prevent broadcasting, I want it to broadcast without a language, so that the site owner can choose the language. If your addon supports that I would be happy to pay for it!

    Let me give you a brief example of what i want (aka my email)

    I have 3 sites:

    example.domain.com => splash page
    example.domain.com/be => Belgium site with 3 languages (served by polylang) NL, FR, EN
    example.domain.com/nl => Netherlands site with 1 language (served by polylang) NL

    We want to to be able to share all content across sites even if the language doesn’t match. So Basicly it should be broadcast to the default language of the subsite or no language at all. Since the language in Polylang is a taxonomy I tried the same thing by excluding the taxonomies (uncheckd that checkbox ;)) but it still broadcasts the posts language even if it does not exist.

    Hope my use case is clear to you and I hope the addon supports this.

    Thanks,
    Joren
    ps. no email comming since, I explaind my needs above, so I hope you can send me some more info about the capabiliteis of the addon, or another one so I can solve my issue.

    Plugin Author edward_plainview

    (@edward_plainview)

    Lemme have a quick think about this and I’ll get back to you a wee bit later today.

    Plugin Author edward_plainview

    (@edward_plainview)

    I’ve been doing some testing. The Polylang Broadcast add-on will probably have a setting allowing the admin to select what to do when a post language doesn’t exist on the child:

    – do not broadcast
    – broadcast in the default language

    The second option will be a headache since I have to prevent the language taxonomies from being created on the child blog.

    There is no way to create a post in no language at all, from what I’ve seen.

    I’ll keep you updated.

    Thread Starter jorenvh

    (@jorenvh)

    Hi Edward,

    Thanks for the update. Can’t you just overwrite it? In some way our create a blacklist taxonomy in some way just as with the custom fields?

    I did a bit of digging in the code myself but found no solution so far, that’s why I created the issue, you know your code and know where to look ?? I hope that there will be a solution since your plugin is the only one of his kind.

    Hope to hear more soon, thanks!

    Joren

    Plugin Author edward_plainview

    (@edward_plainview)

    Question: What should a post do the taxonomies? The categories, for example, are in the parent post’s language. Should the taxonomies just be dropped?

    They can’t be synced either since they’ll be created in a language that doesn’t exist on the child blog.

    Thread Starter jorenvh

    (@jorenvh)

    I thinking dropping them seems logic, since the admin/author of the site that receives the post will add taxonomies in their own language.

    But if the language does exist I would broadcast them, but only if it exists, off course.

    The post self should be broadcasted anyway, just as the custom fields.

    Hope this helps you.

    Plugin Author edward_plainview

    (@edward_plainview)

    There! I think I’ve got it.

    The new functionality is ready for testing and will be included in the next version of the 3rd party and premium packs.

    Thread Starter jorenvh

    (@jorenvh)

    This will be included in the Polylang addon you mean? Ok thanks! Any idea when the new version will be released?

    Plugin Author edward_plainview

    (@edward_plainview)

    As soon as someone e-mails me and offers to test the functionality. ??

    Thread Starter jorenvh

    (@jorenvh)

    I would love to test it

    • This reply was modified 8 years, 3 months ago by jorenvh.
    Thread Starter jorenvh

    (@jorenvh)

    Tested the beta version and it works as aspected.

    Plugin Author edward_plainview

    (@edward_plainview)

    Great. Will add it to the next version of the pack.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Exclude polylang lanugage’ is closed to new replies.