wcm_lang_switch icon indicating copy to clipboard operation
wcm_lang_switch copied to clipboard

Add 'Pig Latin' option when in debug mode

Open stephenharris opened this issue 12 years ago • 2 comments

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

stephenharris avatar Feb 19 '13 22:02 stephenharris

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/

grappler avatar Oct 15 '13 13:10 grappler

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.

stephenharris avatar Oct 15 '13 22:10 stephenharris