added localized_state to view files