-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Remove unncessary i18nDir
from hugo.toml
#49643
base: main
Are you sure you want to change the base?
Remove unncessary i18nDir
from hugo.toml
#49643
Conversation
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
i18nDir
from hugo-toml
i18nDir
from hugo.toml
Hmm, https://deploy-preview-49643--kubernetes-io-main-staging.netlify.app/bn/releases/ doesn't look happy does it? (compare https://kubernetes.io/bn/releases/) |
Nope, it seems like its not picking up the website defined localisation keys |
e9c823e
to
178aab7
Compare
This PR is ready for review. It contains 55 file changes but most of them (52 files) are just the translations moving from The other 3 files include 2 files for removing the |
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 confident are you that README and contributor docs changes are included here, @SayakMukhopadhyay ?
@sftim They aren't. I was thinking about updating the README about the changes in here in a new PR, unless you would like to have them in this PR itself. |
bad5dc8
to
603cd4b
Compare
603cd4b
to
ec0b4f1
Compare
@@ -517,3 +516,74 @@ languagedirection = "ltr" | |||
languageNameLatinScript = "Tiếng Việt" | |||
description = "Giải pháp điều phối container trong môi trường production" | |||
|
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.
We should add a comment here, I think.
What happens if someone creates, eg i18n/de/en.toml
?
The comment I have in mind warns people not to try that.
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.
Sounds good! Done!
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.
Maybe the individual localization directories should have filters that only match TOML files.
Is there any possibility of the individual localisation directories containing anything other than the .toml files? I think any other file should be discouraged right? In which case, should we add a filter for OWNERS? |
A team could make a mistake, or might update their |
ec0b4f1
to
3ab5849
Compare
Agreed, I think we should do it in a fresh PR. There are a few changes in those |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@sftim I have also added a commit in this PR to update the docs at https://kubernetes.io/docs/contribute/localization/ to reflect the changes. I think that's all there is regarding documentation around localisation. I will squash the commits into 2 commits, 1 for the changes and the other for the doc updates. |
222000a
to
122d8ac
Compare
Description
This PR removes the unnecessary
i18nDir
property fromhugo.toml
.Issue
Closes: #49649