Translate Cornerstone headers and footers in Theme X

As a Belgian based webdevelopment team, we often create multilingual websites. WPML is one of the most-used plugins to make WordPress websites translatable. We used it for multiple websites like

One of our clients uses Themeco’s Pro theme to build websites and include WPML for the translations. Since the first release of Pro in April, it was impossible to translate headers and footers without risky hacks or work-arounds. It took them more than 6 months to find and release a working solution and from Pro 1.2.4  (release date: October 26, 2017) you can translate headers and footers through WPML.

There is one catch though:
In WPML you have to configure which custom post types need to be available for translations. In Cornerstone, headers and footers are CPT’s: cs_header and cs_footer.
To make the translation interface available, you have to allow translations for both.

You can do this by following these steps:

WPML settings: Multilingual Content Setup

Browse in the backend to WPML > Translation Management > Multilingual Content Setup.

List of custom post types in WPML

Next, scroll to Custom posts.
Here you have a list of all known Custom Post Types in your website and you will see there are multiple items in the list called “Posts”.

You can imagine this is pretty confusing, but when you take a look in the page source, you will see the name of the Translate radiobutton will reveal which of those you have to make available for translations

Page source of translate radiobuttons WPML

So if you want to translate your Cornerstone headers and footers with WPML, you have to check those 2 radiobuttons and save your settings.

From now on, you will find a language switcher in the header and footer editor:

Cornerstone Footer translation interface Cornerstone Header translation interface

Once you have the flags available, you still have to assign the right header and footer to the right pages.

 

A post in the Themeco support forum put me on the right track.