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

[ar] Add and localize i18n strings to Arabic #44862

Merged

Commits on Mar 12, 2024

  1. [ar] Add a localized ar.toml l10n strings file

    This commit will add a new file ar.toml, as well as an appropriate
    symbolic link, containing Arabic versions for almost all localization
    strings used in the website. String which have not been localized to
    Arabic are kept in the file and commented out.
    
    Copy i18n/en/en.toml to /ar/
    
    Fix whitespace from copy
    
    [WIP] Add and localize site strings to Arabic
    
    This commit will add a new file i18n/ar/ar.toml, containing a copy
    of the english localizationn strings, translated to Arabic. This
    commit contributes to Step 8 of the effort to localize the Docs
    website to Arabic.
    
    [WIP] Add more string localizations
    
    This partial commit will add some more localizations of strings.
    Some of these are based on Mohammed Boukhalfa's earlier work.
    
    Delete OWNERS file
    
    This commit will remove the OWNERS file from this PR, in response
    to a review comment.
    
    Add symbolic link for ar.toml
    
    This commit will add a symbolic link for data/i18n/ar/ar.toml to
    i18n/ar.toml.
    
    [WIP] Add more strings and address reviews
    
    Co-authored-by: Mohammed BOUKHALFA <mohammedboukhalfa@yandex.com>
    Signed-off-by: Ali Dowair <adowair@umich.edu>
    
    Keep English translation for social links
    
    This commit will keep both English and transliterated forms of
    social links, as they are instantly recognizable in English.
    
    Signed-off-by: Ali Dowair <adowair@umich.edu>
    
    [WIP] Add more strings, fix typos, address review
    
    Co-authored-byL Mohammed BOUKHALFA <mohammedboukhalfa@yandex.com>
    Signed-off-by: Ali Dowair <adowair@umich.edu>
    
    Respond to review comment
    
    This commit will remove an extraneous conjunctive.
    
    Co-authored-by: Mohammed BOUKHALFA <mohammed.boukhalfa@est.tech>
    
    Complete string translations
    
    This commit will complete string translations and fix some typos.
    There are some strings which, in my opinion, should not be translated
    at all, such as "alpha", "beta". I left these untranslated but did
    not remove them, to show that not translating them is intentional.
    
    Change translation of KubeWeekly "Subscribe"
    
    Based on review comments, this commit will change the relevant
    translation to be shorter, to ensure that it fits inside the button.
    
    Co-authored-by: Mohammed BOUKHALFA <mohammedboukhalfa@yandex.com>
    Signed-off-by: Ali Dowair <adowair@umich.edu>
    
    Address review comments
    
    This commit will address some review comments
    
    Co-authored-by: Mohammeed BOUKHALFA <mohammedboukhalfa@yandex.com>
    Signed-off-by: Ali Dowair <adowair@umich.edu>
    
    Apply suggestions from code review
    
    This commit will remove English language tags from some href links
    
    Co-authored-by: Tim Bannister <tim@scalefactory.com>
    
    Comment out unresolved localizations
    
    This commit will comment out localization strings which have not
    yet been translated to due to the ongoing process of setting
    localization standards.
    
    Co-authored-by: Tim Bannister <tim+github@scalefactory.com>
    Signed-off-by: Ali Dowair <adowair@umich.edu>
    
    Localize "ID" in "CVE ID"
    
    This commit will localize "ID" in the term "CVE ID"
    
    Co-authored-by: TIm Bannister <tim+github@scalefactory.com>
    Signed-off-by: Ali Dowair <adowair@umich.edu>
    
    Change translation of "Kubernetes" to "كوبيرنيتيس"
    
    This commit will change the translation of "Kubernetes" in accordance
    with the agreed-upon standard in kubernetes#45082 and kubernetes#45078.
    
    Co-authored-by: Saifeddine Rajhi <rajhisaif@gmail.com>
    Co-authored-by: Mohammed BOUKHALFA <mohammedboukhalfa@yandex.com>
    Signed-off-by: Ali Dowair <adowair@umich.edu>
    
    Comment out OS name translations
    
    This commit will comment out OS name translations addressing a review
    comment.
    
    Co-authored-by: Tim Bannister <tim+github@scalefactory.com>
    Signed-off-by: Ali Dowair <adowair@umich.edu>
    
    Remove English href tag
    
    Co-authored-by: Tim Bannister <tim@scalefactory.com>
    
    Translate "CLI"
    
    This commit will translate CLI as "واجهة سطر الأوامر"
    which corresponds to the current Wikipedia translation, in accordance
    with a review comment.
    
    Co-authored-by: Saifeddine Rajhi <rajhisaif@gmail.com>
    Signed-off-by: Ali Dowair <adowair@umich.edu>
    
    Update date format localization string
    
    This commit will update the date format string to conform to what is
    customary in Arabic (DD-MM-YYYY). As far as I can tell, only Arabic
    numerals are supported, so I have decided to keep that (rather than
    Eastern Arabic numerals ١١-٢٢-٣٣٣٣).
    
    Co-authored-by: Tim Bannister <tim+github@scalefactory.com>
    Signed-off-by: Ali Dowair <adowair@umich.edu>
    
    Fix a grammer nit and "Kubernetes" translation
    
    Signed-off-by: Ali Dowair <adowair@umich.edu>
    adowair committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    b6fec9d View commit details
    Browse the repository at this point in the history