Quantcast
Viewing all articles
Browse latest Browse all 3201

Importing XML pages language issue

Hello,

I am using Polylang (2.3.10) on my site (WP 4.9.8), and would like to import pages with the WordpPress XML native importer.

I exported some pages first, to better understand what I needed to import.

There is this line, that makes the relation between the pages in different languages, I believe.
<category domain="post_translations" nicename="pll_99c5a68f093f7"><![CDATA[pll_99c5a68f093f7]]></category>

And the language is defined by this line:
<category domain="language" nicename="nl"><![CDATA[NL]]></category>

-> in the export, the nicename value is shared by the different pages/languages of the same pages.

I tried importing new pages following this, with page 1 (language1) and page 2 (language 2) sharing the same unique category nicename. But once imported, the relation between the 2 pages isnt made by WordPress. I have to manually go inside the page and assign them to which page from other languages they are related.

Has someone any idea of what I am doing wrong?

Thank you !

Brice


Viewing all articles
Browse latest Browse all 3201

Trending Articles