How can I output ALL strings from a lang file?
You could include the translations file into your controller:

$translationsFile = craft()-&gt;path-&gt;getPluginsPath().'myplugin/translations/de.php';
$translationsArray = include $translationsFile;

$this-&gt;returnJson(array_keys($translationsArray));