diff --git a/src/config/languages.tsx b/src/config/languages.tsx index 2af91999..401adbcf 100644 --- a/src/config/languages.tsx +++ b/src/config/languages.tsx @@ -49,6 +49,11 @@ export const langsList = [ locale: 'it', title: 'Italiano', }, + { + className: 'zh', + locale: 'zh', + title: '中文', + }, ] as const export type Languages = typeof langsList[number]['locale'] diff --git a/src/features/AuthServiceApp/components/LanguageSelect/styled.tsx b/src/features/AuthServiceApp/components/LanguageSelect/styled.tsx index 797d2755..cd1317c1 100644 --- a/src/features/AuthServiceApp/components/LanguageSelect/styled.tsx +++ b/src/features/AuthServiceApp/components/LanguageSelect/styled.tsx @@ -125,6 +125,7 @@ const flagPositions: Record = { pt: { col: 5, row: 9 }, ru: { col: 8, row: 9 }, ua: { col: 2, row: 12 }, + zh: { col: 6, row: 2 }, } const getFlagPosition = (flag: LanguageFlags) => {