25 Commits
Author SHA1 Message Date
Vulcanravenand🍌🐒 8a01d5905f Added support for the 'de-DE' language variant (informal) (#1008)
This commit adds support for the German language variant 'de-DE' in the application. The following changes were made:

Created the '/public/locales/de-DE/common.json' file for the 'de-DE' language
Modified the 'SwitchLang.tsx' component to include the 'de-DE' language option
Updated the 'localeText' function to display ' Deutsch' for 'de-DE'
These changes enable the application to provide localization in German for the informal 'de-DE' language variant. The newly created '/public/locales/de-DE/common.json' file contains the necessary translations for the German language. The 'SwitchLang.tsx' component has been updated to include the German language option ('de-DE') with the appropriate flag and language name.

Users can now select the informal German language ('de-DE') to interact with the application.

Co-authored-by: 🍌🐒 <nino@mohr.pw>
2023-06-02 19:47:20 +08:00
Hafiz Rayan Kurniawan d59634a771 Indonesia translation (#874) 2023-02-18 10:13:31 +08:00
Alex 41ae41f06f feat: spanish translation (#848) 2023-01-30 17:25:13 +08:00
opoet 8bf97d01c4 add bulk copy permalink 2022-09-20 16:42:20 +08:00
myl7 cbb643ff0e reformat code 2022-07-15 18:19:39 +08:00
myl7 d3ce54d51e Merge branch 'main' into translate 2022-07-15 18:15:20 +08:00
kamileecher 447388817a Update common.json 2022-07-15 18:07:41 +08:00
kamileecher ad586afd10 Create common.json
update turkish language
2022-07-15 18:07:41 +08:00
Rock Star d1c0f7bf30 Create common.json 2022-07-15 18:04:32 +08:00
poko 50dc0ef2cb Add Traditional Chinese translate 2022-07-14 21:34:01 +08:00
spencerwooo 7eb7860253 add new translations 2022-02-24 15:51:08 +08:00
myl7 a2d45788e1 Fix a zh-CN translation error (#480) 2022-02-22 11:28:42 +08:00
spencerwooo c6abeeb8aa customise embed link menu, close #314 2022-02-12 22:09:54 +08:00
spencerwooo 6aca0473ae fix some confusing zh-CN locales 2022-02-08 22:12:40 +08:00
myl7 b3aed1d162 translate newly added messages about flv 2022-02-08 19:29:01 +08:00
myl7 1a8f145ed7 suppress eslint to use single quote in jsx other than using string literal 2022-02-08 19:11:47 +08:00
myl7 da0fdec142 put single quote in jsx into string literal 2022-02-08 18:08:51 +08:00
myl7 207a90e6e2 fix entity encoding problem in i18n
the extracter we use, i18next-parser, can not handle entity encoding in
keys while using <Trans>
2022-02-08 17:48:25 +08:00
myl7 b3ffeb9635 add translations for oauth guide pages 2022-02-07 16:50:05 +08:00
myl7 49a601446d add translations for preview components
also fix ellipsis in zh-CN
2022-02-06 20:34:03 +08:00
myl7 04e333aa36 fix double plurals with context 2022-02-06 20:09:59 +08:00
myl7 c0353b5455 migrate from i18next-scanner to i18next-parser
i18next-scanner does not support i18next JSON v4 format
2022-02-06 19:47:36 +08:00
myl7 24507cbbb9 add translation json and fix some missed hooks 2022-02-06 19:26:11 +08:00
myl7 85b51fe5c1 add some zh-CN translations 2022-02-06 06:55:38 +08:00
myl7 e28ce30987 add next-i18next as i18n framework 2022-02-06 06:18:26 +08:00