I have changed the method getLocale in BaseEngine:

@Override
public Locale getLocale() {

String domain = this.getInfrastructure().getRequest().getServerName();
                
                
        if (domain.startsWith("en.")){
                
                return new Locale("en", "");
        }
        else {
                return new Locale("de", "");
        }
}




If I access www.domain.com I get the MyApplication_en.properties and
with en.domain.com as well.....the MyApplication.properties are never picked.


Any ideas?

Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to