The localization files should be stored in a common package that can be used between all auth ui libraries.
Problems
Currently we are duplicating the task of having every package bundling and storing the language files in their own independent directories. This creates an issue of maintenance and it also means that we have to load all languages when we only need one (or a few) for a given project.
We currently have no way of localizing the Supabase error messages that are sent back from the auth server, until this has been resolved by including proper error codes with the error responses from the auth server there is no reliable way of creating localized messages in the auth-ui packages.
The localization files should be stored in a common package that can be used between all auth ui libraries.
Problems