From c5b8124c4dd28b7a36c1757bb0aa2c7ab9b37f43 Mon Sep 17 00:00:00 2001 From: babu-ch Date: Tue, 31 Mar 2026 20:39:08 +0900 Subject: [PATCH] feat: add zh/ko/es/fr/de/pt translations and locale dropdown Add 6 major language translations to the playground and convert the two-language toggle button into a dropdown select for all 8 locales. Co-Authored-By: Claude Opus 4.6 (1M context) --- playground/src/App.vue | 24 +++--- playground/src/i18n/de.ts | 144 +++++++++++++++++++++++++++++++++++ playground/src/i18n/en.ts | 5 +- playground/src/i18n/es.ts | 144 +++++++++++++++++++++++++++++++++++ playground/src/i18n/fr.ts | 144 +++++++++++++++++++++++++++++++++++ playground/src/i18n/index.ts | 23 +++++- playground/src/i18n/ja.ts | 5 +- playground/src/i18n/ko.ts | 144 +++++++++++++++++++++++++++++++++++ playground/src/i18n/pt.ts | 144 +++++++++++++++++++++++++++++++++++ playground/src/i18n/zh.ts | 144 +++++++++++++++++++++++++++++++++++ 10 files changed, 900 insertions(+), 21 deletions(-) create mode 100644 playground/src/i18n/de.ts create mode 100644 playground/src/i18n/es.ts create mode 100644 playground/src/i18n/fr.ts create mode 100644 playground/src/i18n/ko.ts create mode 100644 playground/src/i18n/pt.ts create mode 100644 playground/src/i18n/zh.ts diff --git a/playground/src/App.vue b/playground/src/App.vue index 8894e72..a16e0d0 100644 --- a/playground/src/App.vue +++ b/playground/src/App.vue @@ -1,15 +1,12 @@