Commit graph

121 commits

Author SHA1 Message Date
Mike Cao
a954824f65 Add 46 missing translation keys to all locale files.
These keys existed in messages.ts but were missing from the JSON files,
previously relying on react-intl defaultMessage fallback.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 11:24:01 -08:00
Mike Cao
50edb71687 Simplify i18n: remove old react-intl artifacts, rename formatMessage to t, replace FormattedMessage with t.rich().
- Rewrite messages.ts to plain string key maps (remove MessageDescriptor)
- Rewrite useMessages hook to expose t from useTranslations() directly
- Rename formatMessage → t across 193 consumer files
- Replace custom FormattedMessage component with next-intl t.rich()
- Update 52 language files to use rich text tags (<b>, <a>)
- Remove all direct imports from @/components/messages in favor of useMessages()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 11:19:04 -08:00
Mike Cao
a1890e9261 Replace react-intl with next-intl and consolidate lang files.
Migrate i18n from react-intl to next-intl, eliminating the formatjs
compilation pipeline. Translation files now live as nested JSON in
public/intl/messages/ (single source of truth), removing the duplicated
src/lang/ directory and the copy/compile build steps. The useMessages()
hook API is preserved so all 195+ consumer components are unchanged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 01:51:29 -08:00
JiPai
783098fadc chore(i18n): update zh-CN translation 2025-12-23 23:04:41 +08:00
JiPai
6859f00bf6 chore(i18n): update zh-CN translation 2025-12-23 22:39:33 +08:00
Mike Cao
3e163940da Updated lang files. 2025-10-06 12:11:26 -07:00
Manuchehr
87f5cea636 feat: add missing uzbek language 2025-09-29 09:15:53 +05:00
Mike Cao
1b81074752 Admin section updates. 2025-07-10 20:04:17 -07:00
Mike Cao
184a387ecd Lang updates. 2025-06-27 08:53:10 -07:00
Mike Cao
0692134ea5 AI generated translations. 2025-06-26 13:59:46 -07:00
Mike Cao
543674c7f2 Updated hooks. Changed url, host to path, hostname. 2025-06-20 22:35:02 -07:00
Sufyan Farea
796952698c docs: improve and update Arabic translations 2025-06-09 22:34:58 +03:00
Mike Cao
c0ff7a31a4 Updated lang. 2025-04-22 23:09:17 -07:00
Mike Cao
afb8fd3894 Updated Next. 2025-04-16 21:29:47 -07:00
Mike Cao
4d0bd03b43 Updated language files. 2025-02-21 17:47:39 -08:00
Mike Cao
87737e35bc Updated lang files. 2025-01-09 22:40:17 -08:00
Mike Cao
b72232dcac Updated lang files. 2025-01-03 16:15:18 -08:00
Mike Cao
690ab5916d Updated lang files. 2024-12-12 18:47:07 -08:00
Mike Cao
40abd454fc Build lang files. 2024-12-04 18:39:50 -08:00
Mike Cao
6880ec8506 Updated lang files. 2024-11-28 16:18:23 -08:00
Mike Cao
fe98d6ccb8 Updated lang files. 2024-11-08 19:56:33 -08:00
Mike Cao
586d223bdd Updated lang files. 2024-10-26 11:36:43 -07:00
Mike Cao
430880c8c3 Updated lang. 2024-10-04 16:05:22 -07:00
Mike Cao
178f9dc1a7 Updated lang files. 2024-08-27 16:23:34 -07:00
Mike Cao
2c4d7f1810 Updated lang. 2024-08-23 20:10:58 -07:00
Mike Cao
8500669ed0 Updated lang. 2024-08-23 09:33:58 -07:00
Mike Cao
8ee37d1246 New event data screen. 2024-08-09 01:09:54 -07:00
Mike Cao
b9068c0050 Added metrics bar and date range to sessions. 2024-08-07 00:10:25 -07:00
Mike Cao
374faae27b Updated lang files. 2024-07-08 23:42:26 -07:00
Mike Cao
0142e0ff2f Fixed typo. 2024-06-28 20:20:12 -07:00
Mike Cao
caaa87c0a7 Updated packages and lang files. 2024-06-27 20:12:32 -07:00
Mike Cao
fedbb50950 Updated lang files. 2024-06-20 09:30:47 -07:00
Mike Cao
cda3ba345b Build new lang files. 2024-06-18 23:12:12 -07:00
Mike Cao
263e92c888 Updated language. Fixed CSS. 2024-06-15 22:48:14 -07:00
Mike Cao
f666136d2a Merge language changes in bn-BD. Closes #2729 2024-05-30 01:29:29 -07:00
Mike Cao
bb5191f30a Added lang bg-BG. 2024-05-29 22:55:21 -07:00
Mike Cao
df66acaacf Updated metrics components for compare mode. 2024-05-23 00:17:20 -07:00
Mike Cao
394997e1d7 Updated lang files. 2024-05-15 15:02:50 -07:00
Mike Cao
71c9d31f3b Update pt-BR. Reverted hostUrl change. 2024-05-15 14:55:05 -07:00
Eddu
8b6b81cfee
small spelling corrections 2024-05-09 23:47:25 -03:00
Eddu
6060ff7be0
spelling corrections 2024-05-09 23:43:24 -03:00
Eddu
92a45f9d91
pt-br release 2024-05-09 23:07:13 -03:00
Mike Cao
8b5e690c3b Updated language bundles. 2024-05-02 23:58:58 -07:00
Sakib Hadziavdic
5aa9b20ff7 Add Bosnian language 2024-04-22 14:03:35 +02:00
Mike Cao
d90256b55f Updated language files. 2024-04-10 12:27:28 -07:00
Mike Cao
901e9480b6
Merge branch 'master' into analytics 2024-04-04 11:13:15 -07:00
Mike Cao
f277580722 Updated language files. 2024-03-14 11:29:01 -07:00
Michael Hespenheide
c91ade01c1
fix: Update admininstrator -> admin for translations (#3) 2024-03-11 20:55:24 -04:00
Mike Cao
f0c6960dc3
Merge branch 'dev' into localization 2024-03-05 21:32:41 -08:00
Maxime-J
fd1bb49bed Fix typo. 2024-03-02 08:28:02 +00:00