From 2ee6fb6aa4636103dd4ed8f47035fd92a2bba3ac Mon Sep 17 00:00:00 2001 From: Hemang Baldha Date: Fri, 12 Jun 2026 12:36:49 +0530 Subject: [PATCH] feat(i18n): add Hindi(HI) and Gujarati(GU) language support --- i18n/locales/gu.json | 26 ++++++++++++++++++++++++++ i18n/locales/hi.json | 26 ++++++++++++++++++++++++++ nuxt.config.ts | 12 ++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 i18n/locales/gu.json create mode 100644 i18n/locales/hi.json diff --git a/i18n/locales/gu.json b/i18n/locales/gu.json new file mode 100644 index 0000000..a99482e --- /dev/null +++ b/i18n/locales/gu.json @@ -0,0 +1,26 @@ +{ + "index": { + "seo": { + "title": "LocalSend વેબ", + "description": "તમારા બ્રાઉઝર અને LocalSend ચલાવતા અન્ય ઉપકરણો વચ્ચે ફાઇલો શેર કરો." + }, + "connecting": "કનેક્ટ થઈ રહ્યું છે...", + "webCryptoNotSupported": "તમારું બ્રાઉઝર LocalSend ને સપોર્ટ કરતું નથી: Web Crypto API જરૂરી છે.", + "empty": { + "title": "બીજા ઉપકરણ પર LocalSend ખોલો.", + "deviceHint": "આ સાઇટને બીજા બ્રાઉઝર અથવા નેટિવ સંસ્કરણ (v1.18.0 અથવા નવું) માં ખોલો.", + "lanHint": "ફક્ત સમાન નેટવર્કમાંના ઉપકરણો જ બતાવવામાં આવે છે." + }, + "you": "તમે છો:", + "pin": { + "label": "PIN: ", + "none": "કોઈ નહીં" + }, + "enterAlias": "નામ દાખલ કરો", + "enterPin": "PIN દાખલ કરો", + "progress": { + "titleSending": "ફાઇલો મોકલાઈ રહી છે...", + "titleReceiving": "ફાઇલો પ્રાપ્ત થઈ રહી છે..." + } + } +} diff --git a/i18n/locales/hi.json b/i18n/locales/hi.json new file mode 100644 index 0000000..97c7bce --- /dev/null +++ b/i18n/locales/hi.json @@ -0,0 +1,26 @@ +{ + "index": { + "seo": { + "title": "LocalSend वेब", + "description": "अपने ब्राउज़र और LocalSend चला रहे अन्य डिवाइसों के बीच फ़ाइलें साझा करें।" + }, + "connecting": "कनेक्ट हो रहा है...", + "webCryptoNotSupported": "आपका ब्राउज़र LocalSend का समर्थन नहीं करता: Web Crypto API आवश्यक है।", + "empty": { + "title": "किसी अन्य डिवाइस पर LocalSend खोलें।", + "deviceHint": "इस साइट को किसी अन्य ब्राउज़र या नेटिव संस्करण (v1.18.0 या नया) में खोलें।", + "lanHint": "केवल समान नेटवर्क के डिवाइस ही दिखाए जाते हैं।" + }, + "you": "आप हैं:", + "pin": { + "label": "PIN: ", + "none": "कोई नहीं" + }, + "enterAlias": "नाम दर्ज करें", + "enterPin": "PIN दर्ज करें", + "progress": { + "titleSending": "फ़ाइलें भेजी जा रही हैं...", + "titleReceiving": "फ़ाइलें प्राप्त की जा रही हैं..." + } + } +} diff --git a/nuxt.config.ts b/nuxt.config.ts index 9496687..37a6353 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -59,6 +59,18 @@ export default defineNuxtConfig({ file: "fa.json", name: "فارسی", }, + { + code: "gu", + language: "gu-IN", + file: "gu.json", + name: "ગુજરાતી", + }, + { + code: "hi", + language: "hi-IN", + file: "hi.json", + name: "हिन्दी", + }, { code: "hu", language: "hu-HU",