Skip to content

Instantly share code, notes, and snippets.

@andypa
Last active December 18, 2015 12:08
Show Gist options
  • Select an option

  • Save andypa/5780159 to your computer and use it in GitHub Desktop.

Select an option

Save andypa/5780159 to your computer and use it in GitHub Desktop.
Read a language file (locallang.xml, etc.) in a non-extension file
$labels = t3lib_div::readLLfile(t3lib_div::getFileAbsFileName('EXT:extensionname/Resources/Private/Language/locallang.xml'), $GLOBALS["TSFE"]->config["config"]["language"]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment