Merged PR 225: Implement translations
Implement translations with useContext in React +Add events to allow changing the language in the app +Refactor AppEvents +Redesign vertical bars in elements
This commit is contained in:
parent
60a3ead6aa
commit
505813d530
26 changed files with 527 additions and 160 deletions
5
src/Interfaces/ILanguage.ts
Normal file
5
src/Interfaces/ILanguage.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
export interface ILanguage {
|
||||
language: string
|
||||
dictionary: Record<string, string>
|
||||
languageChange?: (selected: string) => void
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue