Fixes for flag_for_localized