Skip to content

Instantly share code, notes, and snippets.

@senlin
Created August 2, 2014 01:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save senlin/b18cd290d9d46c8e3304 to your computer and use it in GitHub Desktop.
Save senlin/b18cd290d9d46c8e3304 to your computer and use it in GitHub Desktop.
WPML configuration file for the TOC+ WordPress plugin. The plugin comes with 5 variables in the Settings that cannot be translated. If you are running a multilingual website with WPML just add this file to the root of the plugin and you will see the 5 strings show up in the String Translations
<wpml-config>
<admin-texts>
<key name="toc-options">
<key name="heading_text" />
<key name="visibility_show" />
<key name="visibility_hide" />
<key name="sitemap_pages" />
<key name="sitemap_categories" />
</key>
</admin-texts>
</wpml-config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment