One of the foundations of the approach of xili-language is the conservation of the structure of posts (article or page). And when a visitor arrive from a search robot, the theme framework will be in the same language of the post’s language.
Only some properties are added to the post.
One is the language of the post set by the author. (see on the top right of pictures below)
The others are link to the similar posts in other languages. « Similar » means that linked posts are not always an exact translation of the original. Sometime it is only a summary or an adaptation.
For the author or editor, it is important to have a good browser with tabs or one large, wide screen or two displays.
As exercise, I will try to illustrate how a post and his translation are published in post edit dashboard of WP.
Note #1: It is better to have prepared before the two texts with a simple text editor and use copy and paste.
Note #2: If it concerns existing posts that need to be checked in specific languages or linked posts, see end of this post.
The original in english:
Fill the title, content, excerpt etc.. tags and categories… and check english in post’s language box.
and save it…
(tip: don’t forget to use UI features and move the boxes on the top right near the title)
The linked post in french:
Since 1.3.0, with one click, it is possible to create a new post in another window of the browser. (tip: use the right mouse button, to open the Add New link in another tab – your desktop will be cleaner).
In the edit window of the new post, just add the french title, observe that link to previous post and language are prefilled or checked and just now click ‘save draft button’. and continue to fill content and excerpt, tags and categories
(trick: If you go back to the browser’s tab of the original english post, you can save it again, and you will see the changing in linked post box)
And now you are able to continue to write the both posts each one in his language if you are yourself bilingual or by copying the draft of the two authors.
What happens when working on existing posts ?
First thing: check his language in Post (page) ‘s language box and save or update.
Second thing: If you know the IDs of linked posts in other languages fill the input inside the small table of Linked posts box and save or update.
And since 1.4.1, useful if the linked posts exist and contain link to this current post, just check ‘auto search’, save or update and when UI is refreshed, the inputs are prefilled with IDs of existing other posts linking to this current. Verify, Save or update.
Why « check » option is not checked as default ?
To avoid unnecessary queries. As Editor, check it only if you decide when it is necessary.