-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
good first issueGood for newcomersGood for newcomers
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?
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers