wcm_lang_switch
wcm_lang_switch copied to clipboard
Add 'Pig Latin' option when in debug mode
For the purposes of checking whether or not a string is being translated, when WP_Debug
is set to true, append 'Pig Latin' to the language options.
The 'Pig Latin' translation can be provided ala http://plugins.trac.wordpress.org/browser/piglatin/trunk/piglatin.php
Great idea but it gets difficult to use the site in Pig Latin is active. A quick on and off button would be nice for it a bit like with http://wordpress.org/plugins/rtl-tester/
Well you could essentially turn it on/off by switching between 'Pig latin' and whatever language you preferred :). If WP_DEBUG
were turned off then I assume the 'pig latin' option would be ignored in favour of the site's default locale.