What is the best aproach to create multilanguage content in vanila october CMS Pages ? Rainlab staticPages store each language in different content file - seems logic.
By using vanila pages you can "simulate" this staticPages behavior with some if statements and partials. There is no support in pages to set different markup/code for each language.
Pseudocode:
if activeLang == "en":
{% partial en_page_content %}
elif activeLang == "es":
{% partial es_page_content %}
And with some other logic to check/create existence of this partials.
What is best way to achieve this behavior ?
Last updated