feat: add i18n infrastructure (#2854)

* feat: add i18n infrastructure

* store langauge selection to patchDB ui section

* feat: react to patchdb language change

---------

Co-authored-by: Matt Hill <mattnine@protonmail.com>
This commit is contained in:
Alex Inkin
2025-03-25 15:30:35 +04:00
committed by GitHub
parent 99739575d4
commit 5318cccc5f
14 changed files with 299 additions and 61 deletions

View File

@@ -24,6 +24,7 @@ export const mockPatchData: DataModel = {
highScore: 0,
},
},
language: 'english',
ackInstructions: {},
},
serverInfo: {

View File

@@ -12,6 +12,7 @@ export type UIData = {
}
ackInstructions: Record<string, boolean>
theme: string
language: 'english' | 'spanish'
}
export type UIMarketplaceData = {