Open
Description
Hello, guys!
Thank you for putting in such effort into the template codebase; the thing seems amazing.
I have a localization-related question. Upon my initial examination of the codebase, I noticed that API errors aren't localized and are always returned in plain English.
For example, in the file pages/auth/forgot-password.tsx:
if (!response.ok) {
toast.error(json.error.message);
return;
}
toast.success(t('password-reset-link-sent'));
While the success message is being translated, the API error is being passed as is.
Is this intentional or left for the future? Maybe I'm missing something?