• Hi. I’m working on a Multisite install that hosts different languages, so we create a post in English, then broadcast it to 2 other language sites.

    The problem I am trying to solve now is that the English site has an English category name, while another site (French) has a French equivalent of the category name, etc.

    What happens now is the English category is getting copied into the other sites each time, either getting added to the site, or overwriting what is there with the English version.

    This is likely outside the scope of what this plugin does, but is there any way to map lang 1 CAT to lang 2 CAT for broadcasted data? Ideally, I would like to keep using the plugin, but can’t have the categories changed this way.

    Thanks

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

    (@edward_plainview)

    How are you doing the translating? Using a translation plugin? Or something more manual?

    If using some manual solution, there is a snippet to prevent various parts of a taxonomy from being updated, but it requires that the slug is the same.

    Thread Starter e dev

    (@efishinsea)

    Thanks. So if I follow you, if the category slugs are different on each site, then there is no work-around for this issue.

    But if I used the snippet and the categories are set up like this with the same slug:

    English : Webinars / webinars
    French : Webinaires / webinars
    Spanish: Webinarios / webinars

    then the broadcast would work and assign the post to the correctly labeled category?

    …and if so, how would this be used with post categories?

    Plugin Author edward_plainview

    (@edward_plainview)

    How would this be used? You mean how to use the snippet?

    You’re changing the description, right? So tell your webdev to only use the part of the snippet that protects the description and not the thumbnail id.

    Thread Starter e dev

    (@efishinsea)

    No, I’m trying to map the English category to the respective other language categories on the subsequent WP mutlisite sites.

    So, I want to Broadcast the post, but I need the post that belongs to category “Apple” on the English site to also belong to the category “Pomme” on the French site and category “Manzana” on the Spanish site, where each of the categories is uniquely named for the appropriate language of the site.

    Plugin Author edward_plainview

    (@edward_plainview)

    The mapping to the equivalent category works automatically as long as the slugs are the same.

    The snippet is to prevent the translated taxonomy name from being overwritten during broadcast.

    Thread Starter e dev

    (@efishinsea)

    That’s the problem – the slugs aren’t the same, which would otherwise make the URLs to posts show them in the wrong language.

    Plugin Author edward_plainview

    (@edward_plainview)

    Oh, well in that case I suggest the use of a translation plugin. I like Polylang myself (much, much cleaner than WPML).

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Multisite + multilanguage’ is closed to new replies.