Skip to content

[fa] Persian/Farsi support for the Kubernetes Website #50762

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

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

frozenprocess
Copy link

Description

This commit adds the Persian/Farsi language to the docs.

  • Adds Persian as a dropdown option
  • Translates the entire main page
  • Translates the most important parts of the i8 file
  • Adds a structure for essential pages that need to be translated next
  • Takes a stab at the README.md in the Farsi folder for next contributors

Issue

#47142
#22730

Closes: #47142

+ Adds Persian as a dropdown option
+ Translates the entire main page
+ Translates the most important parts of the i8 file
+ Adds a structure for essential pages that need to be translated next
+ Takes a stab at the README.md in the Farsi folder for next contributors
@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 assign salaxander for approval. 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

@k8s-ci-robot k8s-ci-robot added the sig/docs Categorizes an issue or PR as relevant to SIG Docs. label May 2, 2025
@k8s-ci-robot k8s-ci-robot requested a review from a-mccarthy May 2, 2025 04:12
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 2, 2025
@k8s-ci-robot k8s-ci-robot requested a review from nate-double-u May 2, 2025 04:12
@k8s-ci-robot
Copy link
Contributor

Welcome @frozenprocess!

It looks like this is your first PR to kubernetes/website 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/website has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. do-not-merge/invalid-owners-file Indicates that a PR should not merge because it has an invalid OWNERS file in it. labels May 2, 2025
Copy link

netlify bot commented May 2, 2025

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 07050e3
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/681a42f55fd7220008de225f
😎 Deploy Preview https://deploy-preview-50762--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.

Copy link
Contributor

@lmktfy lmktfy left a comment

Choose a reason for hiding this comment

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

Thank you very much for the pull request.

/hold

We can merge this once all of:

  • it meets minimum requirements for launching a new localization
  • the main branch has at least MVP support for right-to-left writing systems

Copy link
Contributor

Choose a reason for hiding this comment

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

I notice this page is in the wrong language (English).

Copy link
Author

Choose a reason for hiding this comment

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

Yes, some of the pages are in English since I'm trying to have the barebone version of the website available for anyone else who is interested to join in and start to translate. I find it easier if you don't have to worry about how Hugo works and just translate sentences.

Copy link
Author

@frozenprocess frozenprocess May 2, 2025

Choose a reason for hiding this comment

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

@lmktfy this was a huge help, somehow I missed it before :D I'll try to rebase my PR to meet that , and I will get rid of English pages that I put there as placeholder for links to work!

it meets minimum requirements for launching a new localization

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 2, 2025
@frozenprocess frozenprocess marked this pull request as draft May 2, 2025 17:23
@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 May 2, 2025
@k8s-ci-robot
Copy link
Contributor

The following users are mentioned in OWNERS file(s) but are untrusted for the following reasons. One way to make the user trusted is to add them as members of the kubernetes org. You can then trigger verification by writing /verify-owners in a comment.

  • sig-docs-fa-reviews
    • User is not a member of the org. Satisfy at least one of these conditions to make the user trusted.
    • i18n/fa/OWNERS
  • sig-docs-fa-owners
    • User is not a member of the org. Satisfy at least one of these conditions to make the user trusted.
    • i18n/fa/OWNERS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. do-not-merge/invalid-owners-file Indicates that a PR should not merge because it has an invalid OWNERS file in it. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Localize Kubernetes website into Farsi
3 participants