add localeapp log, only initialize localeapp in development