mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-03 16:38:34 +02:00
Load locale ondemand + spanish locale (#249)
This commit is contained in:
parent
0f35bd0518
commit
c2aea134ef
30 changed files with 700 additions and 455 deletions
2
declarations/i18next.d.ts
vendored
2
declarations/i18next.d.ts
vendored
|
@ -2,6 +2,7 @@ import "react-i18next";
|
|||
|
||||
import app from "~/public/locales/en/app.json";
|
||||
import common from "~/public/locales/en/common.json";
|
||||
import errors from "~/public/locales/en/errors.json";
|
||||
import homepage from "~/public/locales/en/homepage.json";
|
||||
|
||||
declare module "next-i18next" {
|
||||
|
@ -9,5 +10,6 @@ declare module "next-i18next" {
|
|||
homepage: typeof homepage;
|
||||
app: typeof app;
|
||||
common: typeof common;
|
||||
errors: typeof errors;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue