Skip to content

Commit 3b29706

Browse files
authored
Merge pull request #186 from adityagupta0251/feat/add-hi-IN-language-support
feat(i18n): add Hindi (hi-IN) language support
2 parents 9792c46 + ecf7e5f commit 3b29706

File tree

1 file changed

+156
-0
lines changed

1 file changed

+156
-0
lines changed
Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
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+
'organization.profile.title': 'संगठन प्रोफ़ाइल',
111+
'organization.profile.loading': 'संगठन लोड हो रहा है...',
112+
'organization.profile.error': 'संगठन लोड करने में विफल',
113+
114+
'organization.create.title': 'संगठन बनाएं',
115+
'organization.create.name.label': 'संगठन का नाम',
116+
'organization.create.name.placeholder': 'संगठन का नाम दर्ज करें',
117+
'organization.create.handle.label': 'संगठन हैंडल',
118+
'organization.create.handle.placeholder': 'my-organization',
119+
'organization.create.description.label': 'विवरण',
120+
'organization.create.description.placeholder': 'संगठन विवरण दर्ज करें',
121+
'organization.create.button': 'संगठन बनाएं',
122+
'organization.create.creating': 'बनाया जा रहा है...',
123+
'organization.create.cancel': 'रद्द करें',
124+
125+
/* |---------------------------------------------------------------| */
126+
/* | Messages | */
127+
/* |---------------------------------------------------------------| */
128+
129+
'messages.loading': 'लोड हो रहा है...',
130+
131+
/* |---------------------------------------------------------------| */
132+
/* | Errors | */
133+
/* |---------------------------------------------------------------| */
134+
135+
'errors.title': 'त्रुटि',
136+
'errors.sign.in.initialization': 'इनिशियलाइज़ेशन में त्रुटि हुई। कृपया बाद में पुनः प्रयास करें।',
137+
'errors.sign.in.flow.failure': 'साइन-इन प्रक्रिया में त्रुटि। कृपया बाद में पुनः प्रयास करें।',
138+
'errors.sign.in.flow.completion.failure': 'साइन-इन प्रक्रिया पूरी करते समय त्रुटि। कृपया बाद में पुनः प्रयास करें।',
139+
'errors.sign.in.flow.passkeys.failure': 'पासकीज़ के साथ साइन-इन करते समय त्रुटि।',
140+
'errors.sign.in.flow.passkeys.completion.failure': 'पासकीज़ साइन-इन पूरी करते समय त्रुटि।',
141+
};
142+
143+
const metadata: I18nMetadata = {
144+
localeCode: 'hi-IN',
145+
countryCode: 'IN',
146+
languageCode: 'hi',
147+
displayName: 'हिन्दी (भारत)',
148+
direction: 'ltr',
149+
};
150+
151+
const hi_IN: I18nBundle = {
152+
metadata,
153+
translations,
154+
};
155+
156+
export default hi_IN;

0 commit comments

Comments
 (0)