Should there be an additional check to see if the `locale === curLocale` and just close or return in those cases, since it doesn't need to set the locale and reload brackets?