Database documentation
-
Hi Chouby!
Fist, I want to thank you for this awesome plugin. Thanks!
I’m currently porting a website to wordpress where multilingual is a must. I don’t want to do this by hand because it’s a mass of content.
I’m using xml rpc for this, which works pretty well so far. My problem now is that I don’t really know how to add the polylang information to the database.I found out that these three tables are relevant for polylang: wp_terms, wp_term_relationships, wp_term_taxonomy.
The taxonomies I saw so far are: language, term_language, term_translation, post_translation.
So what I read from that is that “language” tells the post (or what ever) what kind of language its content is. “post_translation” tells each post to which posts with other languages it is related to.
So far so good. I think the other two are not relevant for what I’m trying to achieve. What I don’t understand is, what the table wp_terms tells me. There are these “pll_xxxxxxxx” names / slugs but I don’t get what it’s linked too. Or isn’t it linked? Does it just have to be unique?Thanks in advance!
The topic ‘Database documentation’ is closed to new replies.