Skip to content

Commit

Permalink
register "dev" language
Browse files Browse the repository at this point in the history
  • Loading branch information
cmintey committed Dec 2, 2024
1 parent 756b555 commit 59daad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ export const getFormatter = async () => {
};

export const initLang = async () => {
register("dev", () => Promise.resolve({}));
register("en", () => import("../i18n/en.json"));
register("es", () => import("../i18n/es.json"));

await init({
fallbackLocale: dev ? "dev" : defaultLocale,
Expand Down

0 comments on commit 59daad4

Please sign in to comment.