Testing multilingual articles.

Choose a language: en | fr | ru

The setup for this multilingual article is the following.

  • A ‘parent’ article (this one) with ID=63 and babylon override form below.
  • Three ‘page-less’ articles from hidden Section with custom fields parent=63 and chapter=en|fr|ru respectively.
  • An article-type babylon form:
<header><h2 class="entry-title"><txp:permlink><txp:title /></txp:permlink></h2></header>
<txp:excerpt />

<p>Choose a language:
<txp:article_custom section="hidden" parent='<txp:article_id />' sort="custom_4" break=" | " trim>
    <txp:if_custom_field name="chapter" value='<txp:page_url type="lang" />'>
        <span><txp:custom_field name="chapter" /></span>
        <txp:variable name="text">
            <h3><txp:title /></h3>
            <txp:body />
    <txp:else />
        <txp:permlink id='<txp:custom_field name="parent" />' context="lang" lang='<txp:custom_field name="chapter" />'><txp:custom_field name="chapter" /></txp:permlink>

<txp:if_variable name="text">
    <txp:variable name="text" />
<txp:else />
    <txp:body />