<?php
class ML_Shopware_Model_Language extends ML_Shop_Model_Language_Abstract {
    public function getCurrentIsoCode() {
        if (MLSetting::gi()->sTranslationLanguage) {
            return MLSetting::gi()->sTranslationLanguage;
        }
        try {
            return Shopware()->Locale()->getLanguage();
        } catch (\Exception $ex) {
            return Shopware()->Container()->get('shopware.locale')->getLanguage();
        }
    }

    public function getCurrentCharset() {
        return 'UTF-8';
    }
    
}