ok I am going to try to upload now. Before i upload and panic does this have anything to do with it?
public function load_textdomains() {
// our override_load_textdomain filter has done its job. let’s remove it before calling load_textdomain
remove_filter(‘override_load_textdomain’, array(&$this, ‘mofile’), 10, 3);
remove_filter(‘gettext’, array(&$this, ‘gettext’), 10, 3);
remove_filter(‘gettext_with_context’, array(&$this, ‘gettext_with_context’), 10, 4);
$new_locale = get_locale();
// don’t try to save time for en_US as some users have theme written in another language
// now we can load all overriden text domains with the right language
foreach ($this->list_textdomains as $textdomain) {
if (!load_textdomain($textdomain[‘domain’], str_replace(“{$this->default_locale}.mo”, “$new_locale.mo”, $textdomain[‘mo’]))