Skip to content

Commit 2800a95

Browse files
authored
Translating fragments docs and adding Contributor badge page (#2503)
## Motivation for the change, related issues This pull request translates the fragments from the documentation, together with the following pages: - Contributor Badge - Build - Test And updates the Translation Page.
1 parent da0a4b6 commit 2800a95

File tree

8 files changed

+521
-64
lines changed

8 files changed

+521
-64
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!-- Original English content:
2+
- [Query API](/developers/apis/query-api) enable basic operations using only query parameters
3+
- [Blueprints API](/blueprints) give you a great degree of control with a simple JSON file
4+
- [JavaScript API](/developers/apis/javascript-api) give you full control via a JavaScript client from an npm package
5+
-->
6+
7+
- [Query API](/developers/apis/query-api) permite operações básicas usando apenas parâmetros de consulta
8+
- [Blueprints API](/blueprints) oferece um alto grau de controle com um arquivo JSON simples
9+
- [JavaScript API](/developers/apis/javascript-api) oferece controle total através de um cliente JavaScript de um pacote npm
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Original English content:
2+
:::caution Careful with the demo site
3+
4+
The site at https://playground.wordpress.net is there to support the community, but there are no guarantees it will continue to work if the traffic grows significantly.
5+
6+
If you need certain availability, you should [host your own WordPress Playground](/developers/architecture/host-your-own-playground).
7+
-->
8+
9+
:::caution Cuidado com o site de demonstração
10+
11+
O site em https://playground.wordpress.net está lá para apoiar a comunidade, mas não há garantias de que continuará funcionando se o tráfego crescer significativamente.
12+
13+
Se você precisa de certa disponibilidade, você deve [hospedar seu próprio WordPress Playground](/developers/architecture/host-your-own-playground).
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<!-- Original English content:
2+
This is called [Query API](/developers/apis/query-api/) and you can learn more about it [here](/developers/apis/query-api/).
3+
-->
4+
5+
Isso é chamado de [Query API](/developers/apis/query-api/) e você pode aprender mais sobre isso [aqui](/developers/apis/query-api/).
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Original English content:
2+
:::danger Work in Progress
3+
4+
WordPress Playground is under active development and the features described in this document
5+
may break or change without a warning.
6+
-->
7+
8+
:::danger Trabalho em Andamento
9+
10+
O WordPress Playground está em desenvolvimento ativo e os recursos descritos neste documento
11+
podem quebrar ou mudar sem aviso prévio.
Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
---
2+
title: Build
3+
slug: /about/build
4+
description: Build with WP Playground
5+
sidebar_class_name: navbar-build-item
6+
---
7+
8+
<!--
9+
# Build
10+
-->
11+
12+
# Construir
13+
14+
<!--
15+
WordPress Playground can help you to create and learn WordPress quickly, even on mobile with no signal. You can use Playground where you work best, whether that's in the browser, Node.js, mobile apps, VS Code, or elsewhere.
16+
-->
17+
18+
O WordPress Playground pode ajudá-lo a criar e aprender WordPress rapidamente, mesmo no celular sem sinal. Você pode usar o Playground onde trabalha melhor, seja no navegador, Node.js, aplicativos móveis, VS Code ou em outros lugares.
19+
20+
<!--
21+
## Setting quickly a local WordPress environment
22+
-->
23+
24+
## Configurando rapidamente um ambiente WordPress local
25+
26+
<!--
27+
You can seamlessly integrate Playground into your development workflow to launch a local WordPress environment quickly for testing your code. You can do this directly [from the terminal](/developers/local-development/wp-playground-cli) or [your preferred IDE.](/developers/local-development/vscode-extension)
28+
-->
29+
30+
Você pode integrar perfeitamente o Playground ao seu fluxo de trabalho de desenvolvimento para lançar rapidamente um ambiente WordPress local para testar seu código. Você pode fazer isso diretamente [do terminal](/developers/local-development/wp-playground-cli) ou [da sua IDE preferida](/developers/local-development/vscode-extension).
31+
32+
<!--
33+
## Save changes done on a Block Theme and create Github Pull Requests
34+
-->
35+
36+
## Salvar alterações feitas em um Tema de Blocos e criar Pull Requests no GitHub
37+
38+
<!--
39+
You can connect your Playground instance to a GitHub repository and create a Pull Request with the changes you've done through the WordPress UI, leveraging the [Create Block Theme](https://wordpress.org/plugins/create-block-theme/) plugin.
40+
41+
With this workflow, you could build a block theme completely in your browser and save your change to GitHub, or you could improve/fix an existing one.
42+
-->
43+
44+
Você pode conectar sua instância do Playground a um repositório GitHub e criar um Pull Request com as alterações que fez através da interface do WordPress, aproveitando o plugin [Create Block Theme](https://wordpress.org/plugins/create-block-theme/).
45+
46+
Com este fluxo de trabalho, você pode construir um tema de blocos completamente no seu navegador e salvar suas alterações no GitHub, ou pode melhorar/corrigir um existente.
47+
48+
<iframe width="800" src="https://www.youtube.com/embed/94KnoFhQg1g" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
49+
50+
<p></p>
51+
52+
<!--
53+
Some more examples of this workflow:
54+
55+
- [Developer Hours: Creating WordPress Playground Blueprints for Testing and Demos](https://www.youtube.com/watch?v=gKrij8V3nK0&t=2488s)
56+
- [Recap Hallway Hangout: Theme Building with Playground, Create-block-theme plugin, and GitHub](https://make.wordpress.org/core/2024/06/25/recap-hallway-hangout-theme-building-with-playground-create-block-theme-plugin-and-github/)
57+
-->
58+
59+
Mais alguns exemplos deste fluxo de trabalho:
60+
61+
- [Developer Hours: Creating WordPress Playground Blueprints for Testing and Demos](https://www.youtube.com/watch?v=gKrij8V3nK0&t=2488s)
62+
- [Recap Hallway Hangout: Theme Building with Playground, Create-block-theme plugin, and GitHub](https://make.wordpress.org/core/2024/06/25/recap-hallway-hangout-theme-building-with-playground-create-block-theme-plugin-and-github/)
63+
64+
<!--
65+
## Synchronize your playground instance with a local folder and create Github Pull Requests
66+
-->
67+
68+
## Sincronizar sua instância do playground com uma pasta local e criar Pull Requests no GitHub
69+
70+
![Captura do Tipo de Armazenamento do Dispositivo](../_assets/storage-type-device.png)
71+
72+
<!--
73+
With Google Chrome you can synchronize your Playground instance with a local directory, that can be either:
74+
75+
- And empty directory – to save this Playground and start syncing
76+
- An existing directory – to load it here and start syncing
77+
-->
78+
79+
Com o Google Chrome você pode sincronizar sua instância do Playground com um diretório local, que pode ser:
80+
81+
- Um diretório vazio – para salvar este Playground e começar a sincronizar
82+
- Um diretório existente – para carregá-lo aqui e começar a sincronizar
83+
84+
<!--
85+
:::info
86+
87+
This feature is only available for Google Chrome for now. It won't work with other browsers, yet.
88+
89+
:::
90+
-->
91+
92+
:::info
93+
94+
Este recurso está disponível apenas para o Google Chrome por enquanto. Não funcionará com outros navegadores ainda.
95+
96+
:::
97+
98+
<!--
99+
Regarding changes done on both sides of the connection:
100+
101+
- Files changed in Playground will be synchronized to your computer.
102+
- Files changed on your computer will not be synchronized to Playground. You'll need to click the "Sync local files" button.
103+
104+
With this workflow you can create directly GitHub PRs from your changes done on your local directory.
105+
-->
106+
107+
Quanto às alterações feitas em ambos os lados da conexão:
108+
109+
- Arquivos alterados no Playground serão sincronizados para o seu computador.
110+
- Arquivos alterados no seu computador não serão sincronizados para o Playground. Você precisará clicar no botão "Sync local files".
111+
112+
Com este fluxo de trabalho você pode criar diretamente PRs do GitHub a partir das suas alterações feitas no seu diretório local.
113+
114+
<!--
115+
See here a little demo of this workflow in action:
116+
-->
117+
118+
Veja aqui uma pequena demonstração deste fluxo de trabalho em ação:
119+
120+
<iframe width="800" src="https://www.youtube.com/embed/UYK88eZqrjo" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
121+
122+
<p></p>
123+
124+
<!--
125+
## Integrate with other APIs to create new tools.
126+
-->
127+
128+
## Integrar com outras APIs para criar novas ferramentas.
129+
130+
<!--
131+
Playground can be combined with different APIs to create amazing tools. The possibilities are endless.
132+
133+
You can [use WordPress Playground in Node.js](/developers/local-development/php-wasm-node) to create new tools. The [@php-wasm/node package](https://npmjs.org/@php-wasm/node), which ships the PHP WebAssembly runtime, is the package used for [https://playground.wordpress.net/](https://playground.wordpress.net/), for example.
134+
135+
Another interesting app built on top of Playground is **Translate Live** (see [example](https://translate.wordpress.org/projects/wp-plugins/friends/dev/de/default/playground/)) which, in combination with Open AI provides a WordPress translations tool "in place" where translations can be seen and modified in their real context (see example). Read more about this tool at [Translate Live: Updates to the Translation Playground](https://make.wordpress.org/polyglots/2023/05/08/translate-live-updates-to-the-translation-playground/)
136+
-->
137+
138+
O Playground pode ser combinado com diferentes APIs para criar ferramentas incríveis. As possibilidades são infinitas.
139+
140+
Você pode [usar o WordPress Playground no Node.js](/developers/local-development/php-wasm-node) para criar novas ferramentas. O pacote [@php-wasm/node](https://npmjs.org/@php-wasm/node), que envia o runtime PHP WebAssembly, é o pacote usado para [https://playground.wordpress.net/](https://playground.wordpress.net/), por exemplo.
141+
142+
Outro aplicativo interessante construído sobre o Playground é o **Translate Live** (veja [exemplo](https://translate.wordpress.org/projects/wp-plugins/friends/dev/de/default/playground/)) que, em combinação com a Open AI, fornece uma ferramenta de traduções WordPress "no local" onde as traduções podem ser vistas e modificadas em seu contexto real (veja exemplo). Leia mais sobre esta ferramenta em [Translate Live: Updates to the Translation Playground](https://make.wordpress.org/polyglots/2023/05/08/translate-live-updates-to-the-translation-playground/)
143+
144+
<!--
145+
## Work offline and as a native app
146+
-->
147+
148+
## Trabalhar offline e como um aplicativo nativo
149+
150+
<!--
151+
When you first visit [playground.wordpress.net](https://playground.wordpress.net/), your browser automatically caches all the necessary files to use Playground. From that point on, you can access [playground.wordpress.net](https://playground.wordpress.net/), even without internet connection, ensuring you can continue working on your projects without interruptions.
152+
153+
You can also install Playground on your device as a Progressive Web App (PWA) to launch the Playground directly from your home screen—just like a native app.
154+
155+
Read [Introducing Offline Mode and PWA Support for WordPress Playground](https://make.wordpress.org/playground/2024/08/05/offline-mode-and-pwa-support/) for more info.
156+
-->
157+
158+
Quando você visita pela primeira vez [playground.wordpress.net](https://playground.wordpress.net/), seu navegador automaticamente armazena em cache todos os arquivos necessários para usar o Playground. A partir desse momento, você pode acessar [playground.wordpress.net](https://playground.wordpress.net/), mesmo sem conexão com a internet, garantindo que você pode continuar trabalhando em seus projetos sem interrupções.
159+
160+
Você também pode instalar o Playground no seu dispositivo como um Progressive Web App (PWA) para lançar o Playground diretamente da sua tela inicial—exatamente como um aplicativo nativo.
161+
162+
Leia [Introducing Offline Mode and PWA Support for WordPress Playground](https://make.wordpress.org/playground/2024/08/05/offline-mode-and-pwa-support/) para mais informações.
163+
164+
<!--
165+
## Embed a WordPress site in non-web environments
166+
-->
167+
168+
## Incorporar um site WordPress em ambientes não-web
169+
170+
<!--
171+
The [How to ship a real WordPress site in a native iOS app via Playground?](../guides/wordpress-native-ios-app) guide shows how we can leverage Playground to wrap a WordPress site into an IOS app.
172+
-->
173+
174+
O guia [How to ship a real WordPress site in a native iOS app via Playground?](../guides/wordpress-native-ios-app) mostra como podemos aproveitar o Playground para envolver um site WordPress em um aplicativo iOS.

0 commit comments

Comments
 (0)