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

WIP Initial Portuguese Brazil translation. #13572

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions OWNERS_ALIASES
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ aliases:
- rlenferink
- lledru
- micheleberardi
sig-docs-ja-owners: # Admins for Japanese content
sig-docs-ja-owners: # Admins for Japanese content
- cstoku
- nasa9084
- tnir
- zacharysarah
sig-docs-ja-reviews: # PR reviews for Italian content
sig-docs-ja-reviews: # PR reviews for Italian content
Copy link
Contributor

Choose a reason for hiding this comment

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

Beware there is some whitespaces changes here

- cstoku
- makocchi-git
- MasayaAoyama
Expand Down Expand Up @@ -140,4 +140,9 @@ aliases:
- xichengliudui
- zhangxiaoyu-zidif
- pigletfly

sig-docs-pt-BR-owners: # Admins for Portuguese Brazil content
- jcjesus
- femrtnz
sig-docs-pt-BR-reviews: # PR reviews for Portuguese Brazil content
- jcjesus
- femrtnz
82 changes: 82 additions & 0 deletions README-pt-BR.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# A documentação do Kubernetes

[![Build Status](https://api.travis-ci.org/kubernetes/website.svg?branch=master)](https://travis-ci.org/kubernetes/website)
[![GitHub release](https://img.shields.io/github/release/kubernetes/website.svg)](https://github.com/kubernetes/website/releases/latest)

Bem vindos! Este repositório abriga todos os recursos necessários para construir o [Kubernetes website e documentação](https://kubernetes.io/). Estamos muito satisfeitos por você querer contribuir!

## Contribuindo com os docs

You can click the **Fork** button in the upper-right area of the screen to create a copy of this repository in your GitHub account. This copy is called a *fork*. Make any changes you want in your fork, and when you are ready to send those changes to us, go to your fork and create a new pull request to let us know about it.

Once your pull request is created, a Kubernetes reviewer will take responsibility for providing clear, actionable feedback. As the owner of the pull request, **it is your responsibility to modify your pull request to address the feedback that has been provided to you by the Kubernetes reviewer.** Also note that you may end up having more than one Kubernetes reviewer provide you feedback or you may end up getting feedback from a Kubernetes reviewer that is different than the one originally assigned to provide you feedback. Furthermore, in some cases, one of your reviewers might ask for a technical review from a [Kubernetes tech reviewer](https://github.com/kubernetes/website/wiki/Tech-reviewers) when needed. Reviewers will do their best to provide feedback in a timely fashion but response time can vary based on circumstances.

For more information about contributing to the Kubernetes documentation, see:

* [Start contributing](https://kubernetes.io/docs/contribute/start/)
* [Staging Your Documentation Changes](http://kubernetes.io/docs/contribute/intermediate#view-your-changes-locally)
* [Using Page Templates](http://kubernetes.io/docs/contribute/style/page-templates/)
* [Documentation Style Guide](http://kubernetes.io/docs/contribute/style/style-guide/)
* [Localizing Kubernetes Documentation](https://kubernetes.io/docs/contribute/localization/)

## `README.md`'s Localizing Kubernetes Documentation

### Korean

See translation of `README.md` and more detail guidance for Korean contributors on the [Korean README](README-ko.md) page.

You can reach the maintainers of Korean localization at:

* June Yi ([GitHub - @gochist](https://github.com/gochist))
* [Slack channel](https://kubernetes.slack.com/messages/kubernetes-docs-ko)

## Running the site locally using Docker

The recommended way to run the Kubernetes website locally is to run a specialized [Docker](https://docker.com) image that includes the [Hugo](https://gohugo.io) static site generator.

> If you are running on Windows, you'll need a few more tools which you can install with [Chocolatey](https://chocolatey.org). `choco install make`

> If you'd prefer to run the website locally without Docker, see [Running the site locally using Hugo](#running-the-site-locally-using-hugo) below.

If you have Docker [up and running](https://www.docker.com/get-started), build the `kubernetes-hugo` Docker image locally:

```bash
make docker-image
```

Once the image has been built, you can run the site locally:

```bash
make docker-serve
```

Open up your browser to http://localhost:1313 to view the site. As you make changes to the source files, Hugo updates the site and forces a browser refresh.

## Running the site locally using Hugo

See the [official Hugo documentation](https://gohugo.io/getting-started/installing/) for Hugo installation instructions. Make sure to install the Hugo version specified by the `HUGO_VERSION` environment variable in the [`netlify.toml`](netlify.toml#L9) file.

To run the site locally when you have Hugo installed:

```bash
make serve
```

This will start the local Hugo server on port 1313. Open up your browser to http://localhost:1313 to view the site. As you make changes to the source files, Hugo updates the site and forces a browser refresh.
Copy link
Contributor

Choose a reason for hiding this comment

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

There is still English in this file


## Community, discussion, contribution, and support

Learn how to engage with the Kubernetes community on the [community page](http://kubernetes.io/community/).

You can reach the maintainers of this project at:

- [Slack](https://kubernetes.slack.com/messages/sig-docs)
- [Mailing List](https://groups.google.com/forum/#!forum/kubernetes-sig-docs)

### Code of conduct

Participation in the Kubernetes community is governed by the [Kubernetes Code of Conduct](code-of-conduct.md).

## Thank you!

Kubernetes thrives on community participation, and we really appreciate your contributions to our site and our documentation!
12 changes: 12 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -212,3 +212,15 @@ contentDir = "content/de"
time_format_blog = "02.01.2006"
# A list of language codes to look for untranslated content, ordered from left to right.
language_alternatives = ["en"]

[languages.pt-BR]
title = "Kubernetes"
description = "Production-Grade Container Orchestration"
Copy link
Contributor

Choose a reason for hiding this comment

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

Feel free to translate it to Portuguese as well :)

languageName ="Português Brasil"
weight = 8
contentDir = "content/pt-BR"

[languages.de.params]
time_format_blog = "02.01.2006"
# A list of language codes to look for untranslated content, ordered from left to right.
language_alternatives = ["en"]
13 changes: 13 additions & 0 deletions content/pt-BR/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# See the OWNERS docs at https://go.k8s.io/owners
Copy link
Member

Choose a reason for hiding this comment

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

I think we should change the folder to "pt" only, following the same folder structure as the older content.
e.g:
fr
en


# This is the localization project for Portuguese Brazils.
Copy link
Member

Choose a reason for hiding this comment

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

Wondering if we need to translate comments like that...

# Teams and members are visible at https://github.com/orgs/kubernetes/teams.

reviewers:
- sig-docs-pt-BR-reviews

approvers:
- sig-docs-pt-BR-owners

labels:
- language/pt-BR
139 changes: 139 additions & 0 deletions i18n/pt-BR.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
# i18n strings for the English (main) site.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you can remove this comment


[deprecation_warning]
other = " documentação não será manutenida por mais tempo. A versão que você está visualizando atualmente é um versão desatualizada e estática. Para obter documentação atualizada, consulte "
Copy link
Member

Choose a reason for hiding this comment

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

Maybe mantida instead of manutenida ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, greate @femrtnz!


[deprecation_file_warning]
other = "Desuso"

[objectives_heading]
other = "Objetivos"

[cleanup_heading]
other = "Limpo"

[prerequisites_heading]
other = "Antes de você começar"

[whatsnext_heading]
other = "O que vem a seguir"

[feedback_heading]
other = "Feedback"

[feedback_question]
other = "esta página te ajudou?"

[feedback_yes]
other = "Sim"

[feedback_no]
other = "Não"

[latest_version]
other = "última versão."

[version_check_mustbe]
other = "Seu servidor Kubernetes deve estar na versão "

[version_check_mustbeorlater]
other = "Seu servidor Kubernetes deve estar nesta ou numa versão mais atual "

[version_check_tocheck]
other = "Para conferir a versão, pressione enter "

[caution]
other = "Atenção:"

[note]
other = "Observação:"

[warning]
other = "Aviso:"

[main_read_about]
other = "Leia sobre"

[main_read_more]
other = "Leia mais"

[main_github_invite]
other = "Interessado em melhorar a base de código do Kubernetes?"

[main_github_view_on]
other = "Visualizar no Github"

[main_github_create_an_issue]
other = "Criar Issue"

[main_community_explore]
other = "Explore a comunidade"

[main_kubernetes_features]
other = "Kubernetes Features"

[main_cncf_project]
other = """Nós somos um projeto <a href="https://cncf.io/">CNCF</a></p>"""

[main_kubeweekly_baseline]
other = "Interessado em receber as últimas novidades do Kubernetes? Inscreva-se no KubeWeekly."

[main_kubernetes_past_link]
other = "Veja as notícias anteriores"

[main_kubeweekly_signup]
other = "Increva-se"

[main_contribute]
other = "Contribuir"

[main_edit_this_page]
other = "Editar esta página"

[main_page_history]
other ="Histórico da página"

[main_page_last_modified_on]
other = "Última modificação da página em"

[main_by]
other = "por"

[main_documentation_license]
other = """Os Autores do Kubernetes | Documentação Distribuída sob <a href="https://git.k8s.io/website/LICENSE" class="light-text">CC BY 4.0</a>"""

[main_copyright_notice]
other = """The Linux Foundation &reg;. Todos os direitos reservados. A Linux Foundation tem marcas registradas e usa marcas registradas. Para uma lista de marcas registradas da The Linux Foundation, por favor, acesse <a href="https://www.linuxfoundation.org/trademark-usage" class="light-text">Página de uso de marca registrada</a>"""

# Labels for the docs portal home page.
[docs_label_browse]
other = "Busca nos documentos"

[docs_label_contributors]
other = "Contribuidores"

[docs_label_users]
other = "Usuários"

[docs_label_i_am]
other = "Eu sou..."



# Community links
[community_twitter_name]
other = "Twitter"
[community_github_name]
other = "GitHub"
[community_slack_name]
other = "Slack"
[community_stack_overflow_name]
other = "Stack Overflow"
[community_forum_name]
other = "Fórum"
[community_events_calendar]
other = "Calendário de Eventos"

# UI elements
[ui_search_placeholder]
other = "Pesquisar"