Fix missing argument in add_locale function