-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Localised toml configuration file to Hindi within i18n directory #14071
Localised toml configuration file to Hindi within i18n directory #14071
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: If they are not already assigned, you can assign the PR to them by writing The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/language hi |
Any idea failed during stage 'building site': Build script returned non-zero exit code: 2
Check this French localisation, they too have double quotes. ->https://github.com/kubernetes/website/blob/master/i18n/fr.toml |
@raelga I am getting this error while deploying. Any inputs? Have I missed anything! |
@raelga Need some help here. |
Updated the commit and now I am facing below translation key issue:
|
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@avidLearnerInProgress just added my comment about the possible reason for the build fail.
Aside from the diff --git a/config.toml b/config.toml
index d4ced34..e5a5bb5 100644
--- a/config.toml
+++ b/config.toml
@@ -248,3 +248,15 @@ contentDir = "content/id"
time_format_blog = "02.01.2006"
# A list of language codes to look for untranslated content, ordered from left to right.
language_alternatives = ["en"]
+
+[languages.hi]
+title = "Kubernetes"
+description = "Production-Grade Container Orchestration"
+languageName = "हिन्दी Hindi"
+weight = 11
+contentDir = "content/hi"
+
+[languages.hi.params]
+time_format_blog = "02.01.2006"
+# A list of language codes to look for untranslated content, ordered from left to right.
+language_alternatives = ["en"]
\ No newline at end of file
diff --git a/i18n/hi.toml b/i18n/hi.toml
index 5f9fd12..48b735f 100644
--- a/i18n/hi.toml
+++ b/i18n/hi.toml
@@ -49,7 +49,7 @@ other = "सावधान:"
other = "टिप्पणी:"
[warning]
-otehr = "चेतावनी:"
+other = "चेतावनी:"
[main_read_about]
other = "के बारे में पढ़ें" With that configuration compiles as expected:
|
Deploy preview for kubernetes-io-master-staging ready! Built with commit 6f4e795 https://deploy-preview-14071--kubernetes-io-master-staging.netlify.com |
@Rajakavitha1 @mittalyashu @daminisatya please proceed with the peer reviews for this one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. You don't have to incorporate all of my suggestions.
@mittalyashu and @daminisatya please chime in.
other = "पदावनत" | ||
|
||
[objectives_heading] | ||
other = "उद्देश्य" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may be: उद्देश्यों
other = "आपका कुबरनेट्स सर्वर संस्करण की तुलना में या बाद में होना चाहिए " | ||
|
||
[version_check_tocheck] | ||
other = "संस्करण की जांच करने के लिए, प्रवेश करें " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
प्रवेश करें or enter करें ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would go with प्रवेश करें
.
other = "के बारे में पढ़ें" | ||
|
||
[main_read_more] | ||
other = "और पढ़ें" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may be: अधिक पढ़ें
# i18n strings for the Hindi site. | ||
|
||
[deprecation_warning] | ||
other = "प्रलेखन अब सक्रिय रूप से बनाए नहीं रखा गया है। वर्तमान में आप जिस संस्करण को देख रहे हैं वह एक स्थिर स्नैपशॉट है। अप-टू-डेट प्रलेखन के लिए, देखें | " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
प्रलेखन पर अब सक्रिय रूप से काम नहीं किया जा रहा है।
Can someone suggest a better word for संस्करण
?
Can you remove |
from the end?
other = "प्रतिक्रिया" | ||
|
||
[feedback_question] | ||
other = "क्या यह पृष्ठ उपयोगी था?" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
पृष्ठ
is kind of a big word, we can use a simple word like, पेज
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What?
other = "और पढ़ें" | ||
|
||
[main_github_invite] | ||
other = "कोर कुबरनेट्स कोड आधार पर हैकिंग में रुचि रखते हैं?" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am finding it difficult to understand this sentence "Interested in hacking on the core Kubernetes code base?"
Since this is not matching up कोर कुबरनेट्स कोड
other = "GitHub पर देखें" | ||
|
||
[main_github_create_an_issue] | ||
other = "एक मुद्दा बनाएँ" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
मुद्दा
is not a bad choice, but I think it is mainly used in discussion or in public talks, while मसला
is related to a specific problem.
other = "एक मुद्दा बनाएँ" | ||
|
||
[main_community_explore] | ||
other = "समुदाय का अन्वेषण करें" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about समुदाय का दौर करें
?
I know this is not the best word of choice. Just exploring different words we can use.
other = "समुदाय का अन्वेषण करें" | ||
|
||
[main_kubernetes_features] | ||
other = "कुबरनेट्स विशेषताएं" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The features of Kubernetes, कुबरनेट्स की विशेषताएं
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
कुबरनेट्स की विशेषताएं
tells that we are referring to the features of kubernets.
@avidLearnerInProgress: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Until the conflict is fixed, is better to @mittalyashu let me know if I can can help with the rebase! 💙 /hold |
There are still few lines left to review. |
I will re-review the whole PR again and update you on that further. |
@mittalyashu @avidLearnerInProgress let me know if you need any help with the rebase :) |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@avidLearnerInProgress @mittalyashu @Rajakavitha1 @raelga , |
/close |
@kbhawkey: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Added Hindi localisation for toml configuration file.
File added: https://github.com/kubernetes/website/tree/master/i18n/hi.toml
Closes #14070