Skip to content

Commit

Permalink
Add hi-IN translation (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
codewithnitesh committed Dec 14, 2023
1 parent 3ccf3a5 commit 308ad52
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/i18n/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const languageFiles = {
'es-ES': async () => (await import('./json/es-ES.json')).default,
'fa-IR': async () => (await import('./json/fa-IR.json')).default,
'fr-FR': async () => (await import('./json/fr-FR.json')).default,
'hi-IN': async () => (await import('./json/hi-IN.json')).default,
'hu-HU': async () => (await import('./json/hu-HU.json')).default,
'hy-AM': async () => (await import('./json/hy-AM.json')).default,
'id-ID': async () => (await import('./json/id-ID.json')).default,
Expand Down
19 changes: 19 additions & 0 deletions src/i18n/json/hi-IN.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"React lifecycle methods diagram": "रिएक्ट लाइफ साइकल मेथड डायग्राम",
"Options": "विकल्प",
"Show less common lifecycles": "कम सामान्य लाइफ साइकल दिखाएं",
"React version": "रिएक्ट आवृत्ति",
"Language": "भाषा",
"Mounting": "तैयार करना",
"Updating": "बदल करना",
"Unmounting": "नष्ट करना",
"“{name} phase”": "“{name} अवस्था”",
"Pure and has no side effects. May be paused, aborted or restarted by React.": "प्युअर मेथड हैं और इसके साइड इफेक्ट्स भी नहीं है. इसे रिएक्ट से रोका जा सकता है, बीच में बंद और पुनर्प्रारंभ किया जा सकता है.",
"Can read the DOM.": "डोम को पढ़ सकते हैं.",
"Can work with DOM, run side effects, schedule updates.": "डोम के साथ काम कर सकते हैं, साइड इफेक्ट्स को रन कर सकते हैं, अपडेट शेड्यूल कर सकते हैं.",
"React updates DOM and refs": "React updates DOM and refs",
"Read docs for {name} (opens in a new tab)": "{name} के लिए दस्तावेज़ पढ़ें (एक नए टैब में खुलता है)",
"//reactjs.org/docs/react-component.html#{docname}": "//hi.reactjs.org/docs/react-component.html#{docname}",
"See project's page on GitHub (opens in a new tab)": "GitHub पर प्रोजेक्ट का पेज देखें (एक नए टैब में खुलता है)",
"See project on": "प्रोजेक्ट देखें"
}
5 changes: 5 additions & 0 deletions src/i18n/languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
"name": "French",
"translated_name": "Français"
},
{
"code": "hi-IN",
"name": "Hindi (India)",
"translated_name": "हिंदी (भारत)"
},
{
"code": "hu",
"name": "Hungarian",
Expand Down

0 comments on commit 308ad52

Please sign in to comment.