{"action":"created","issue":{"url":"https://api.github.com/repos/TYPO3-Solr/ext-solr/issues/26","labels_url":"https://api.github.com/repos/TYPO3-Solr/ext-solr/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/TYPO3-Solr/ext-solr/issues/26/comments","events_url":"https://api.github.com/repos/TYPO3-Solr/ext-solr/issues/26/events","html_url":"https://github.com/TYPO3-Solr/ext-solr/issues/26","id":91812414,"number":26,"title":"locallangXMLOverride don't work correctly in Templates","user":{"login":"FlorianEngelke","id":1029374,"avatar_url":"https://avatars.githubusercontent.com/u/1029374?v=3","gravatar_id":"","url":"https://api.github.com/users/FlorianEngelke","html_url":"https://github.com/FlorianEngelke","followers_url":"https://api.github.com/users/FlorianEngelke/followers","following_url":"https://api.github.com/users/FlorianEngelke/following{/other_user}","gists_url":"https://api.github.com/users/FlorianEngelke/gists{/gist_id}","starred_url":"https://api.github.com/users/FlorianEngelke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlorianEngelke/subscriptions","organizations_url":"https://api.github.com/users/FlorianEngelke/orgs","repos_url":"https://api.github.com/users/FlorianEngelke/repos","events_url":"https://api.github.com/users/FlorianEngelke/events{/privacy}","received_events_url":"https://api.github.com/users/FlorianEngelke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TYPO3-Solr/ext-solr/labels/needs%20feedback","name":"needs feedback","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-06-29T14:05:54Z","updated_at":"2015-10-16T16:38:22Z","closed_at":null,"body":"Hey. i found a bug.\r\nThe feature to override an XML file don't work in Template.\r\n\r\n$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:solr/Resources/Private/Language/PluginResults.xml'][] = 'EXT:test/Resources/Private/Extensions/Solr/Language/PluginResults.xml';\r\n\r\nAll marker with ###LLL:...### became the wrong XML file. \r\nAll marker handled with PHP ( ###RESULTS.SEARCHED_FOR### ) are fine.\r\n\r\n![solr-lll](https://cloud.githubusercontent.com/assets/1029374/8409519/b4c0a22e-1e78-11e5-829f-1c13fba0812e.jpg)\r\n\r\n\r\ntypo3conf/ext/solr/Classes/PluginBase/PluginBase.php\r\n\r\n$template->addViewHelper('LLL', array(\r\n            'languageFile' => $GLOBALS['PATH_solr'] .'Resources/Private/Language/' . str_replace('Pi', 'Plugin', $this->getPluginKey()) . '.xml',\r\n            'llKey'        => $this->LLkey\r\n        ));\r\nI know that I can handle this with TypoScript but there are some problems with file encoding and turkish chars."},"comment":{"url":"https://api.github.com/repos/TYPO3-Solr/ext-solr/issues/comments/148763724","html_url":"https://github.com/TYPO3-Solr/ext-solr/issues/26#issuecomment-148763724","issue_url":"https://api.github.com/repos/TYPO3-Solr/ext-solr/issues/26","id":148763724,"user":{"login":"irnnr","id":320915,"avatar_url":"https://avatars.githubusercontent.com/u/320915?v=3","gravatar_id":"","url":"https://api.github.com/users/irnnr","html_url":"https://github.com/irnnr","followers_url":"https://api.github.com/users/irnnr/followers","following_url":"https://api.github.com/users/irnnr/following{/other_user}","gists_url":"https://api.github.com/users/irnnr/gists{/gist_id}","starred_url":"https://api.github.com/users/irnnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irnnr/subscriptions","organizations_url":"https://api.github.com/users/irnnr/orgs","repos_url":"https://api.github.com/users/irnnr/repos","events_url":"https://api.github.com/users/irnnr/events{/privacy}","received_events_url":"https://api.github.com/users/irnnr/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T16:38:22Z","updated_at":"2015-10-16T16:38:22Z","body":"ah ok, then let's fix the root, not the symptom!"}}