Skip to content

[uk] Localize community section #48559

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sftim
Copy link
Contributor

@sftim sftim commented Oct 27, 2024

Split out from PR #48551 (by @Andygol)

/language uk

Add Ukrainian localization of https://kubernetes.io/community/ (and contents)

preview

@k8s-ci-robot k8s-ci-robot added the language/uk Issues or PRs related to Ukrainian language label Oct 27, 2024
@k8s-ci-robot k8s-ci-robot requested a review from Arhell October 27, 2024 16:07
@k8s-ci-robot k8s-ci-robot added the area/localization General issues or PRs related to localization label Oct 27, 2024
@k8s-ci-robot k8s-ci-robot added sig/docs Categorizes an issue or PR as relevant to SIG Docs. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 27, 2024
[Кодексу поведінки CNCF](https://github.com/cncf/foundation/blob/main/code-of-conduct.md). Текст Кодексу поведінки CNCF відтворено нижче, [коміт 71412bb02](https://github.com/cncf/foundation/blob/71412bb029090d42ecbeadb39374a337bfb48a9c/code-of-conduct.md)._

<div id="cncf-code-of-conduct">
{{< include "static/cncf-code-of-conduct.md" >}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build preview has failed with the following error (logs here):

ERROR [uk] the 'includes' bundle was not found.

I think the error might be due to a missing / in the file path.

Suggested change
{{< include "static/cncf-code-of-conduct.md" >}}
{{< include "/static/cncf-code-of-conduct.md" >}}

Copy link
Contributor

@Andygol Andygol Oct 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dipesh-rawat thanks for your suggestion, but I don't think that it was correct. The folder content/uk/community has the same structure as content/en/community.

The issue is required further investigation.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The difference is that uk/community/static folder contains only one (translated) file

👇 en/community/static looks like this
image

@sftim sftim marked this pull request as draft October 29, 2024 09:24
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 29, 2024
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 27, 2025
@sftim sftim force-pushed the 20241027_uk_community branch from 646b364 to 9f2e460 Compare February 23, 2025 23:47
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from sftim. For more information see the Code Review Process.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sftim
Copy link
Contributor Author

sftim commented Feb 23, 2025

Think I found the problem: you can't use the include shortcode unless there is an includes/index.html for that localization.

@sftim sftim marked this pull request as ready for review February 23, 2025 23:48
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 23, 2025
Copy link

netlify bot commented Feb 23, 2025

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 127c236
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/67bc434603bfb50008cb7756
😎 Deploy Preview https://deploy-preview-48559--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Largely the work of its co-author.

Co-authored-by: Andrii Holovin <[email protected]>
@sftim sftim force-pushed the 20241027_uk_community branch from 6001c8b to 127c236 Compare February 24, 2025 10:00
@sftim
Copy link
Contributor Author

sftim commented Feb 27, 2025

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 27, 2025
<a href="#news">Новини</a>
</div>
<div class="community-nav-item">
<a href="/releases">Випуски</a>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Релізи" It will be clearer here.

<div class="community-section" id="conduct">
<h2>Кодекс поведінки</h2>
<p>Спільнота Kubernetes цінує повагу та інклюзивність та застосовує Кодекс поведінки у всіх взаємодіях.</p>
<p>Якщо ви помітите порушення Кодексу поведінки на заході чи зустрічі, у <a href="#slack">Slack</a> або в іншому каналі звʼязку, зверніться до Комітету з Кодексу поведінки Kubernetes за адресою <a href="mailto:[email protected]">[email protected]</a>. Всі повідомлення залишаються конфіденційними. Ви можете прочитати <a href="https://github.com/kubernetes/community/tree/master/committee-code-of-conduct">про комітет</a> у репозиторії спільноти Kubernetes на GitHub.</p>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Якщо ви помітите порушення Кодексу поведінки під час заходу чи зустрічі" the correct translation should be like this.


---

Якщо ви помітили порушення Кодексу поведінки на заході чи зустрічі, у Slack або в іншому засобі комунікації, зверніться до [Комітету з Кодексу поведінки Kubernetes](https://git.k8s.io/community/committee-code-of-conduct).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Якщо ви помітите порушення Кодексу поведінки під час заходу чи зустрічі" the correct translation should be like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/localization General issues or PRs related to localization cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/uk Issues or PRs related to Ukrainian language sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants