add check to see whether WPML is active