I'm using Polylang v1.1.1 with the latest Pytheas theme (by WPExplorer, which uses Options Framework). The problem I have is that the homepage options that the theme introduces and that are set by the admin via the theme's options page are not available for translation.
My settings:
- Permalinks settings: post name
- Static frontpage
Polylang settings:
- When the front page is visited, set the language according to the browser preference.
- The language code, for example /en/, is added to all urls when using pretty permalinks.
- Remove /language/ in pretty permalinks.
- Hide URL language information for default language.
- When using static front page, redirect the language page to the front page in the right language
I tried the solution available in a previous post but it doesn't work for me - the strings are not added to the string translation table. Please note that the Pytheas theme has been completely rewritten - it's not exactly the same code as in the Pytheas theme used in the previous post above.
My wpml-config.xml (located in /wp-content/polylang/:
<wpml-config>
<admin-texts>
<key name='options_wpex_themes'>
<key name='masterhead_right' />
<key name='custom_copyright' />
<key name='home_tagline' />
<key name='home_services_title' />
<key name='home_portfolio_title' />
<key name='home_blog_title' />
</key>
</admin-texts>
</wpml-config>
Do I need to do anything else to make it work?
Thanks for your help in advance.