Skip to content
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

Create basic structure and translate home for Arabic #44902

Closed

Conversation

mboukhalfa
Copy link
Member

This PR adds the minimal translation related to the file /home/_index.md

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jan 25, 2024
@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 reylejano for approval. For more information see the Kubernetes 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 Jan 25, 2024
@adowair
Copy link

adowair commented Jan 25, 2024

Thanks for re-opening this @mboukhalfa. I have a draft PR #44862 open for data/i18n/ar/ar.toml and your work here is vital—I will incorporate your changes here into it and credit you as co-author, in order to keep that unit of work independent.

Copy link
Contributor

@sftim sftim left a comment

Choose a reason for hiding this comment

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

Thanks for this work. I have some feedback you'd need to account for before we can merge this, even to a branch you're not yet publishing to the live site

  • avoid including any English files
  • let's split the important CSS change out into its own pull request, so we can make sure we merge the right thing
  • one of the localization strings files actually needs to be a symbolic link

/hold
I'd want to omit the change to OWNERS_ALIASES before removing the hold, and I'd want the PR to avoid including any files with substantial English text before we give this LGTM.

It's impressive, and we're here to help - with some more changes, this can land.

Comment on lines +158 to +168
body:lang(ar) {
.navbar-brand {
left: 16px;
}
.announcement-main {

direction: ltr;
text-align: left;

}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

  • This change belongs in its own PR.
  • Ideally, make it work for all LTR languages and not just Arabic.

SIG Docs can help you make and land that PR in main so that the Arabic work can build upon it.

Copy link
Member

Choose a reason for hiding this comment

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

Hi @sftim, do you have any plans to address the LTR issue in the main branch?
Is there a possibility of implementing a solution soon?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm happy to support the work to complete LTR support; I don't plan to work on it all myself.

Copy link
Contributor

Choose a reason for hiding this comment

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

We should definitely separate it out so it can land as its own change, and into main.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think should be fixed in https://github.com/google/docsy

Comment on lines +2 to +4
reviewers:
- mboukhalfa
- oxPraGa
Copy link
Contributor

@sftim sftim Jan 26, 2024

Choose a reason for hiding this comment

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

I'd omit page-specific reviewers; they don't add much (you can manage the whole team membership instead using OWNERS files).

Copy link
Contributor

Choose a reason for hiding this comment

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

This should be a symbolic link, not a file. SIG Docs can help you make a symbolic link if you are not sure how to.

Copy link
Contributor

Choose a reason for hiding this comment

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

If you can, avoid changing this file.

Copy link
Contributor

Choose a reason for hiding this comment

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

Please avoid including untranslated strings. You can mark what's omitted with a comment, but don't have English text where we eventually want to see Arabic.

Copy link
Contributor

Choose a reason for hiding this comment

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

This file is not in Arabic - let's not include it.

Copy link
Member

Choose a reason for hiding this comment

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

Comment on lines +200 to +203
sig-docs-ar-owners: # Admins for Arabic content
- mboukhalfa
sig-docs-ar-reviews: # PR reviews for Arabic content
- mboukhalfa
Copy link
Contributor

Choose a reason for hiding this comment

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

For now, omit this change.

@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 Jan 26, 2024
@sftim
Copy link
Contributor

sftim commented Jan 26, 2024

/language ar

@k8s-ci-robot k8s-ci-robot added the language/ar Issues or PRs related to Arabic language label Jan 26, 2024
@sftim
Copy link
Contributor

sftim commented Jan 26, 2024

/area localization

@k8s-ci-robot k8s-ci-robot added the area/localization General issues or PRs related to localization label Jan 26, 2024
@sftim
Copy link
Contributor

sftim commented Jan 26, 2024

Even though there is more to do, I'd like to invite reviews by people who can speak both Arabic and English.

Copy link
Contributor

Choose a reason for hiding this comment

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

For now, omit this change (but we can help get it added once the team is up and running).

@sftim sftim changed the title Create basic structure and translate home Create basic structure and translate home for Arabic Jan 26, 2024
@seokho-son
Copy link
Member

Hi @mboukhalfa,
As a lead in the localization subproject, I'm particularly eager to see a collaborative effort this time around, especially given the several previous attempts to initiate the Arabic version by individual contributors.

I suggest we use #44682 to rally active members for the Arabic localization. It's crucial to remember that localizing Kubernetes documents is a complex task due to the sheer volume of content. Maintaining these documents is likely more challenging than setting up the basic configuration for Arabic, and it's a task that cannot be sustained without a committed team of active contributors. (I hope to discuss with contributors who are eligible for reviewer/approver for Arabic content in #44682 . Please note that a candidate needs to be Kubernetes github organization member eventually)

With a focus on teamwork and guided steps, I'm hopeful that we will not lose our way and achieve a successful outcome together. 😉

@seokho-son
Copy link
Member

cc: @a-mccarthy @natalisucks :)

@seokho-son
Copy link
Member

Hi @mboukhalfa

(same comment here: #44682 (comment))

@k8s-ci-robot
Copy link
Contributor

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.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 31, 2024
adowair added a commit to adowair/kubernetes-website that referenced this pull request Feb 1, 2024
This partial commit will add some more localizations of strings.
Some of these are based on @mboukhalfa's work in kubernetes#44902.

Co-authored-by: Mohammed Boukhalfa <mohammedboukhalfa@yandex.com>
@seokho-son
Copy link
Member

Hi @mboukhalfa
Please give your feedback for the above review comment. I think many Arabic localization members are waiting for your response.
If you don't have enough time, let us know. :)

- oxPraGa
title: "ملخص"
description: >
كوبرناتيز عبارة عن نظام أساسي محمول قابل للتوسيع ومفتوح المصدر لإدارة حاويات الخدمات و الإنتاج، مما يسهل الاعدادات التصريحية و التنفيذ الأتوماتيكي. يضم نظام متكامل واسع وسريع النمو. خدمات كوبرناتيز، دعم و الأدوات المتوفرة على نطاق واسع.
Copy link
Member

Choose a reason for hiding this comment

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

Can we change لإدارة حاويات الخدمات و الإنتاج to لإدارة، جدولة و تنظيم حاويات الخدمات و الإنتاج

@mboukhalfa
Copy link
Member Author

Hi @mboukhalfa Please give your feedback for the above review comment. I think many Arabic localization members are waiting for your response. If you don't have enough time, let us know. :)

Thanks for the feedback I will address the comments ASAP and push

@mboukhalfa
Copy link
Member Author

Close as the content was split into file by file PRs mentioned above
/close

@k8s-ci-robot
Copy link
Contributor

@mboukhalfa: Closed this PR.

In response to this:

Close as the content was split into file by file PRs mentioned above
/close

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.

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. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. language/ar Issues or PRs related to Arabic language needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. 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.

None yet

6 participants