Skip to content

Commit 1b4e362

Browse files
feat(i18n): add Hindi (hi-IN) language support
1 parent 9275cad commit 1b4e362

File tree

1 file changed

+157
-0
lines changed

1 file changed

+157
-0
lines changed
Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
/**
2+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3+
*
4+
* WSO2 LLC. licenses this file to you under the Apache License,
5+
* Version 2.0 (the "License"); you may not use this file except
6+
* in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing,
12+
* software distributed under the License is distributed on an
13+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
* KIND, either express or implied. See the License for the
15+
* specific language governing permissions and limitations
16+
* under the License.
17+
*/
18+
19+
/* eslint-disable sort-keys */
20+
21+
import { I18nTranslations, I18nMetadata, I18nBundle } from "../models/i18n";
22+
23+
const translations: I18nTranslations = {
24+
/* |---------------------------------------------------------------| */
25+
/* | Elements | */
26+
/* |---------------------------------------------------------------| */
27+
28+
/* Buttons */
29+
"elements.buttons.signIn": "साइन इन",
30+
"elements.buttons.signOut": "साइन आउट",
31+
"elements.buttons.signUp": "साइन अप",
32+
"elements.buttons.facebook": "Facebook के साथ जारी रखें",
33+
"elements.buttons.google": "Google के साथ जारी रखें",
34+
"elements.buttons.github": "GitHub के साथ जारी रखें",
35+
"elements.buttons.microsoft": "Microsoft के साथ जारी रखें",
36+
"elements.buttons.linkedin": "LinkedIn के साथ जारी रखें",
37+
"elements.buttons.ethereum": "Ethereum के साथ साइन इन करें",
38+
"elements.buttons.multi.option": "{connection} के साथ जारी रखें",
39+
"elements.buttons.social": "{connection} के साथ जारी रखें",
40+
41+
/* Fields */
42+
"elements.fields.placeholder": "{field} दर्ज करें",
43+
44+
/* |---------------------------------------------------------------| */
45+
/* | Widgets | */
46+
/* |---------------------------------------------------------------| */
47+
48+
/* Base Sign In */
49+
"signin.title": "साइन इन",
50+
"signin.subtitle": "जारी रखने के लिए अपनी प्रमाणिक जानकारी दर्ज करें।",
51+
52+
/* Base Sign Up */
53+
"signup.title": "साइन अप",
54+
"signup.subtitle": "शुरू करने के लिए नया खाता बनाएं।",
55+
56+
/* Email OTP */
57+
"email.otp.title": "OTP सत्यापन",
58+
"email.otp.subtitle": "अपनी ईमेल पर भेजा गया कोड दर्ज करें।",
59+
"email.otp.submit.button": "जारी रखें",
60+
61+
/* Identifier First */
62+
"identifier.first.title": "साइन इन",
63+
"identifier.first.subtitle": "अपना उपयोगकर्ता नाम या ईमेल दर्ज करें।",
64+
"identifier.first.submit.button": "जारी रखें",
65+
66+
/* SMS OTP */
67+
"sms.otp.title": "OTP सत्यापन",
68+
"sms.otp.subtitle": "अपने फ़ोन नंबर पर भेजा गया कोड दर्ज करें।",
69+
"sms.otp.submit.button": "जारी रखें",
70+
71+
/* TOTP */
72+
"totp.title": "अपनी पहचान सत्यापित करें",
73+
"totp.subtitle": "अपने ऑथेंटिकेटर ऐप से कोड दर्ज करें।",
74+
"totp.submit.button": "जारी रखें",
75+
76+
/* Username Password */
77+
"username.password.submit.button": "जारी रखें",
78+
"username.password.title": "साइन इन",
79+
"username.password.subtitle": "अपना उपयोगकर्ता नाम और पासवर्ड दर्ज करें।",
80+
81+
/* |---------------------------------------------------------------| */
82+
/* | User Profile | */
83+
/* |---------------------------------------------------------------| */
84+
85+
"user.profile.title": "प्रोफ़ाइल",
86+
"user.profile.update.generic.error": "प्रोफ़ाइल अपडेट करते समय त्रुटि हुई। कृपया पुनः प्रयास करें।",
87+
88+
/* |---------------------------------------------------------------| */
89+
/* | Organization Switcher | */
90+
/* |---------------------------------------------------------------| */
91+
92+
"organization.switcher.select.organization": "संगठन चुनें",
93+
"organization.switcher.switch.organization": "संगठन बदलें",
94+
"organization.switcher.loading.organizations": "संगठन लोड हो रहे हैं...",
95+
"organization.switcher.members": "सदस्य",
96+
"organization.switcher.member": "सदस्य",
97+
"organization.switcher.create.organization": "संगठन बनाएं",
98+
"organization.switcher.manage.organizations": "संगठनों का प्रबंधन करें",
99+
"organization.switcher.manage.button": "प्रबंधित करें",
100+
"organization.switcher.organizations.title": "संगठन",
101+
"organization.switcher.switch.button": "बदलें",
102+
"organization.switcher.no.access": "कोई पहुँच नहीं",
103+
"organization.switcher.status.label": "स्थिति:",
104+
"organization.switcher.showing.count": "{total} में से {showing} संगठन दिखा रहे हैं",
105+
"organization.switcher.refresh.button": "रिफ्रेश",
106+
"organization.switcher.load.more": "और संगठन लोड करें",
107+
"organization.switcher.loading.more": "लोड हो रहा है...",
108+
"organization.switcher.no.organizations": "कोई संगठन नहीं मिला",
109+
"organization.switcher.error.prefix": "त्रुटि:",
110+
111+
"organization.profile.title": "संगठन प्रोफ़ाइल",
112+
"organization.profile.loading": "संगठन लोड हो रहा है...",
113+
"organization.profile.error": "संगठन लोड करने में विफल",
114+
115+
"organization.create.title": "संगठन बनाएं",
116+
"organization.create.name.label": "संगठन का नाम",
117+
"organization.create.name.placeholder": "संगठन का नाम दर्ज करें",
118+
"organization.create.handle.label": "संगठन हैंडल",
119+
"organization.create.handle.placeholder": "my-organization",
120+
"organization.create.description.label": "विवरण",
121+
"organization.create.description.placeholder": "संगठन विवरण दर्ज करें",
122+
"organization.create.button": "संगठन बनाएं",
123+
"organization.create.creating": "बनाया जा रहा है...",
124+
"organization.create.cancel": "रद्द करें",
125+
126+
/* |---------------------------------------------------------------| */
127+
/* | Messages | */
128+
/* |---------------------------------------------------------------| */
129+
130+
"messages.loading": "लोड हो रहा है...",
131+
132+
/* |---------------------------------------------------------------| */
133+
/* | Errors | */
134+
/* |---------------------------------------------------------------| */
135+
136+
"errors.title": "त्रुटि",
137+
"errors.sign.in.initialization": "इनिशियलाइज़ेशन में त्रुटि हुई। कृपया बाद में पुनः प्रयास करें।",
138+
"errors.sign.in.flow.failure": "साइन-इन प्रक्रिया में त्रुटि। कृपया बाद में पुनः प्रयास करें।",
139+
"errors.sign.in.flow.completion.failure": "साइन-इन प्रक्रिया पूरी करते समय त्रुटि। कृपया बाद में पुनः प्रयास करें।",
140+
"errors.sign.in.flow.passkeys.failure": "पासकीज़ के साथ साइन-इन करते समय त्रुटि।",
141+
"errors.sign.in.flow.passkeys.completion.failure": "पासकीज़ साइन-इन पूरी करते समय त्रुटि।",
142+
};
143+
144+
const metadata: I18nMetadata = {
145+
localeCode: "hi-IN",
146+
countryCode: "IN",
147+
languageCode: "hi",
148+
displayName: "हिन्दी (भारत)",
149+
direction: "ltr",
150+
};
151+
152+
const hi_IN: I18nBundle = {
153+
metadata,
154+
translations,
155+
};
156+
157+
export default hi_IN;

0 commit comments

Comments
 (0)