Can't find directory of the addon.
It is supposed to be '/library/Foo' or '/library/XXX/Foo'.
You may copy the files to the supposed dir to make it work.
if ($addOnId == '') {
$addOnId = (XenForo_Helper_Cookie::getCookie('edit_addon_id')) ? (XenForo_Helper_Cookie::getCookie('edit_addon_id')) : 'All';
}
Still love this add-on
Works great for 1.2 Beta.
Only thing I would say, is that it doesn't pick up phrases that have been added to templates via template modifications. If it's possible, would make it even more awesome
It is intended, it seems.
Turn on Debug Mode go to Admin CP > Development > Admin Templates and I think it's DevKit.css - clear this and it will remove all customisations. That's what I did
Great add-on, guiltar, but definitely not ideal to force a style change on people. Would definitely be better as an option
Won't happening as XenForo doesn't differ between frontend and admin cp phrases.@guiltar
Any possibility of making this so it fetches only the front-end and back-end(admincp) phrases? Most of the time when I'm translating, I like to translate the front-end which is what my user sees, for me I prefer in english in the admin control panel.
Thanks?
$this->_findPhrasesInTemplates($adminTemplates, $phrases);
$this->_findPhrasesInTemplates($publicTemplates, $phrases);
$this->_findPhrasesInTemplates($modifications, $phrases);
That didn't work for me, could it have something to do with cache? Should I try to run the install xml file after the editing the language file?You could edit DevKit_ControllerAdmin_Language
search forand remove itPHP:$this->_findPhrasesInTemplates($adminTemplates, $phrases);
PHP:$this->_findPhrasesInTemplates($publicTemplates, $phrases); $this->_findPhrasesInTemplates($modifications, $phrases);
then only the public templates will be searched for phrases
We use essential cookies to make this site work, and optional cookies to enhance your experience.