Skip to content

Commit 0d9262d

Browse files
authored
Adding Gujarati Intro documentation. (#2450)
## Motivation for the change, related issues This pull request adds the necessary structure to translate the WordPress Playground documentation into Gujarati(#gu), as the first step towards resolving issue #2320. ## Implementation details The `gu` folder follows the structure from other languages, adding the JSON files for localization of components and the intro.md file as the first translation. ## Testing Instructions (or ideally a Blueprint) To run it locally: 1. Download the repository 2. Go to the terminal and run `npm install` 3. Run the command at the terminal: `npm run dev:docs -- --locale gu`
1 parent 635b408 commit 0d9262d

File tree

7 files changed

+695
-1
lines changed

7 files changed

+695
-1
lines changed

packages/docs/site/docusaurus.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const config = {
3333
i18n: {
3434
defaultLocale: 'en',
3535
path: 'i18n',
36-
locales: ['en', 'es', 'fr', 'ja', 'pt-br', 'tl'],
36+
locales: ['en', 'es', 'fr', 'ja', 'pt-br', 'tl', 'gu'],
3737
localeConfigs: {
3838
en: {
3939
label: 'English',
@@ -59,6 +59,10 @@ const config = {
5959
label: 'Tagalog',
6060
path: 'tl',
6161
},
62+
gu: {
63+
label: 'Gujarati',
64+
path: 'gu',
65+
},
6266
},
6367
},
6468
themes: ['@docusaurus/theme-live-codeblock'],

packages/docs/site/i18n/gu/code.json

Lines changed: 472 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"title": {
3+
"message": "Blog",
4+
"description": "The title for the blog used in SEO"
5+
},
6+
"description": {
7+
"message": "Blog",
8+
"description": "The description for the blog used in SEO"
9+
},
10+
"sidebar.title": {
11+
"message": "Recent posts",
12+
"description": "The label for the left sidebar"
13+
}
14+
}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"version.label": {
3+
"message": "આગળ",
4+
"description": "The label for version current"
5+
},
6+
"sidebar.mainSidebar.category.Documentation": {
7+
"message": "માર્ગદર્શિકા",
8+
"description": "The label for category Documentation in sidebar mainSidebar"
9+
},
10+
"sidebar.mainSidebar.category.About Playground": {
11+
"message": "પ્લેગ્રાઉન્ડ વિશે",
12+
"description": "The label for category About Playground in sidebar mainSidebar"
13+
},
14+
"sidebar.mainSidebar.category.Guides": {
15+
"message": "માર્ગદર્શિકા",
16+
"description": "The label for category Guides in sidebar mainSidebar"
17+
},
18+
"sidebar.mainSidebar.category.Contributing": {
19+
"message": "યોગદાન",
20+
"description": "The label for category Contributing in sidebar mainSidebar"
21+
},
22+
"sidebar.blueprintsSidebar.category.Blueprints": {
23+
"message": "બ્લુપ્રિન્ટ્સ",
24+
"description": "The label for category Blueprints in sidebar blueprintsSidebar"
25+
},
26+
"sidebar.blueprintsSidebar.category.Tutorial": {
27+
"message": "ટ્યુટોરિયલ",
28+
"description": "The label for category Tutorial in sidebar blueprintsSidebar"
29+
},
30+
"sidebar.blueprintsSidebar.category.Steps": {
31+
"message": "પગલાં",
32+
"description": "The label for category Steps in sidebar blueprintsSidebar"
33+
},
34+
"sidebar.developersSidebar.category.Developers": {
35+
"message": "ડેવલપર્સ",
36+
"description": "The label for category Developers in sidebar developersSidebar"
37+
},
38+
"sidebar.developersSidebar.category.Local Development": {
39+
"message": "લોકલ ડેવલપમેન્ટ",
40+
"description": "The label for category Local Development in sidebar developersSidebar"
41+
},
42+
"sidebar.developersSidebar.category.Playground APIs": {
43+
"message": "પ્લેગ્રાઉન્ડ APIs",
44+
"description": "The label for category Playground APIs in sidebar developersSidebar"
45+
},
46+
"sidebar.developersSidebar.category.Javascript API": {
47+
"message": "Javascript API",
48+
"description": "The label for category Javascript API in sidebar developersSidebar"
49+
},
50+
"sidebar.developersSidebar.category.Architecture": {
51+
"message": "આર્કિટેક્ચર",
52+
"description": "The label for category Architecture in sidebar developersSidebar"
53+
}
54+
}
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
---
2+
title: Introduction
3+
slug: /
4+
id: introduction
5+
---
6+
7+
# વર્ડપ્રેસ પ્લેગ્રાઉન્ડ ડોક્સ
8+
9+
:::info **શું તમે પ્લેગ્રાઉન્ડની સત્તાવાર વેબસાઇટ શોધી રહ્યા છો?**
10+
11+
વર્ડપ્રેસ પ્લેગ્રાઉન્ડ વેબસાઇટ હવે [wordpress.org/playground/](https://wordpress.org/playground/)પર ખસેડાઈ ગઈ છે. તમે જે સાઇટ પર છો તે હવે માર્ગદર્શિકા માટે છે.
12+
13+
:::
14+
15+
👋 નમસ્તે! વર્ડપ્રેસ પ્લેગ્રાઉન્ડ માર્ગદર્શિકામાં આપનું સ્વાગત છે.
16+
17+
પ્લેગ્રાઉન્ડ એ વર્ડપ્રેસ વિશે પ્રયોગ કરવા અને શીખવા માટેનું એક ઓનલાઈન સાધન છે. આ સાઇટ (માર્ગદર્શિકા) એ એવી જગ્યા છે જ્યાં તમને પ્લેગ્રાઉન્ડનો ઉપયોગ શરૂ કરવા માટે જરૂરી બધી માહિતી મળશે.
18+
19+
<p class="docs-hubs">વર્ડપ્રેસ પ્લેગ્રાઉન્ડ માર્ગદર્શિકા ચાર અલગ હબ (સબસાઇટ્સ) માં વિતરિત થયેલ છે:</p>
20+
21+
- 👉 [**માર્ગદર્શિકા**](/) (તમે અહીં છો) – WP પ્લેગ્રાઉન્ડનો પરિચય, શરૂઆતની માર્ગદર્શિકાઓ અને WP પ્લેગ્રાઉન્ડ ડોક્સમાં તમારા પ્રવેશ બિંદુ.
22+
- [**બ્લુપ્રિન્ટ્સ**](/blueprints) – બ્લુપ્રિન્ટ્સ એ તમારા વર્ડપ્રેસ પ્લેગ્રાઉન્ડ ઇન્સ્ટન્સને સેટ કરવા માટે JSON ફાઇલો છે. બ્લુપ્રિન્ટ્સ ડોક્સ હબમાંથી તેમની શક્યતાઓ વિશે જાણો.
23+
- [**ડેવલપર્સ**](/developers) – વર્ડપ્રેસ પ્લેગ્રાઉન્ડ એક પ્રોગ્રામેબલ ટૂલ તરીકે બનાવવામાં આવ્યું હતું. ડેવલપર્સ ડોક્સ હબમાં તમારા કોડમાંથી તમે તેની સાથે શું કરી શકો તે બધું શોધો.
24+
- [**API સંદર્ભ**](/api) – વર્ડપ્રેસ પ્લેગ્રાઉન્ડ દ્વારા ઉપલબ્ધ તમામ API માટેની જાણકારી
25+
26+
## આ માર્ગદર્શિકા હબમાં નેવિગેટ કરવું
27+
28+
આ ડોક્સ હબ વર્ડપ્રેસ પ્લેગ્રાઉન્ડથી શરૂઆત કરવા પર કેન્દ્રિત છે અને તેને નીચેના મુખ્ય વિભાગોમાં વહેંચવામાં આવ્યું છે.
29+
30+
- **[ઝડપી પ્રારંભ માર્ગદર્શિકા](/quick-start-guide)**: જેઓ હમણાં જ વર્ડપ્રેસ પ્લેગ્રાઉન્ડ સાથે શરૂઆત કરી રહ્યા છે, તેઓ માટે અહીં તમે વર્ડપ્રેસ પ્લેગ્રાઉન્ડ સાથે ઝડપથી [નવી વર્ડપ્રેસ સાઇટ શરૂ શકો છો](/quick-start-guide#start-a-new-wordpress-site) અને [બ્લોક/થીમ/પ્લગઇન અજમાવી શકો છો](/quick-start-guide#try-a-block-a-theme-or-a-plugin) અથવા [ચોક્કસ વર્ડપ્રેસ અથવા PHP સંસ્કરણનું પરીક્ષણ કરી શકો છો](/quick-start-guide#use-a-specific-wordpress-or-php-version).
31+
32+
- **[પ્લેગ્રાઉન્ડ વેબ ઇન્સ્ટન્સ](/web-instance)**: https://playground.wordpress.net/ પર તમે જે પ્લેગ્રાઉન્ડ ઇન્સ્ટન્સ મેળવો છો તેના વિશે વધુ જાણો.
33+
34+
- **[પ્લેગ્રાઉન્ડ વિશે](/about)**: વર્ડપ્રેસ પ્લેગ્રાઉન્ડ શું છે, તે કેટલું સલામત છે, તમે તેની સાથે શું કરી શકો છો અને હાલની કેટલીક મર્યાદાઓ વિશે જાણવા માટે, આ વિભાગની મુલાકાત લો.
35+
36+
તમારા પ્રોડક્ટ્સ [બનાવવા](./about/build), [પરીક્ષણ](./about/test) કરવા અને [લોન્ચ](./about/launch) કરવા માટે તમે વર્ડપ્રેસ પ્લેગ્રાઉન્ડનો ઉપયોગ કેવી રીતે કરી શકો છો તે વિશે જાણવા.
37+
38+
- **[માર્ગદર્શિકા](/guides)**: નવી કુશળતામાં નિપુણતા મેળવવા, પગલાંવાર સૂચનાઓ શોધવા અને કિંમતી જાણકારીઓ જાણવા માટે અમારી વિગતવાર માર્ગદર્શિકાઓ તપાસો. શીખવા અને વધવા માટે શરૂ કરો!
39+
40+
- **[યોગદાન](/contributing)**: વર્ડપ્રેસ પ્લેગ્રાઉન્ડ એક ઓપન-સોર્સ પ્રોજેક્ટ છે જે તમામ યોગદાનકર્તાઓનું સ્વાગત કરે છે — કોડથી લઈને ડિઝાઇન, માર્ગદર્શિકાથી લઈને ત્રાયેજ સુધી. અહીં શીખો કે કેવી રીતે યોગદાન આપી શકાય.
41+
42+
- **[લિંક્સ અને સંસાધનો](/resources)**: વર્ડપ્રેસ પ્લેગ્રાઉન્ડ સંબંધિત ઉપયોગી લિંક્સ અને સંસાધનોનું સરસ સંકલન.
43+
44+
## પ્રથમ પગલાં
45+
46+
ભલે તમે ડેવલપર હો, નોન-ટેકનિકલ યુઝર હો, કે યોગદાનકર્તા, આ દસ્તાવેજો તમને તમારી શીખવાની યાત્રા શરૂ કરતી વખતે માર્ગદર્શન આપશે:
47+
48+
- 5 મિનિટમાં [વર્ડપ્રેસ પ્લેગ્રાઉન્ડનો ઉપયોગ શરૂ કરો](/quick-start-guide) (અને [ડેમો સાઇટ](https://playground.wordpress.net/) પણ જુઓ)
49+
- વર્ડપ્રેસ પ્લેગ્રાઉન્ડ સાથે [ડેવેલોપીંગ માટે શરૂઆત કરો](/developers/build-your-first-app)
50+
- પ્લેગ્રાઉન્ડનો ઉપયોગ શૂન્ય-સેટઅપ [લોકલ ડેવલપમેન્ટ એન્વાયરમેન્ટ](/developers/local-development/) તરીકે કરો
51+
- [મર્યાદાઓ](/developers/limitations) વિશે વાંચો
52+
- [વર્ડકેમ્પ યોગદાન દિવસ](/contributing/contributor-day)
53+
54+
:::tip
55+
વર્ડપ્રેસ પ્લેગ્રાઉન્ડનો ઉત્તમ પરિચય મેળવવા માટે [WordPress Developer Blog](https://developer.wordpress.org/news) માં આવેલ [**Introduction to Playground: running WordPress in the browser**](https://developer.wordpress.org/news/2024/04/05/introduction-to-playground-running-wordpress-in-the-browser/) બ્લોગ પોસ્ટ વાંચો
56+
:::
57+
58+
## વિસ્તૃત રીતે જાણો
59+
60+
જો તમે ડેવલપર અથવા ટેક યુઝર છો, તો તમે ઉપલબ્ધ API સીધા જ તપાસી શકો છો:
61+
62+
import APIList from '@site/docs/\_fragments/\_api_list.mdx';
63+
64+
- [પ્લેગ્રાઉન્ડ APIs](/developers/apis/) અને મૂળભૂત સિદ્ધાંતો વિશે વાંચો
65+
- [લિંક્સ અને સંસાધનો](/resources) ની સમીક્ષા કરો
66+
- તમારા એપ માટે યોગ્ય API પસંદ કરો <APIList />
67+
- [આર્કિટેક્ચર](/developers/architecture) વિશે ઊંડાણપૂર્વક શીખો અને સમજો કે તે કેવી રીતે કાર્ય કરે છે
68+
69+
## સક્રિય રીતે જોડાઓ
70+
71+
વર્ડપ્રેસ પ્લેગ્રાઉન્ડ એ ઓપન-સોર્સ પ્રોજેક્ટ છે અને કોડથી લઈને ડિઝાઇન, અને માર્ગદર્શિકાથી લઈને ત્રાયેજ સુધીના તમામ યોગદાનકર્તાઓનું સ્વાગત કરે છે. ચિંતા ન કરો, યોગદાન આપવા માટે તમને WebAssembly આવડતું હોવું જરૂરી નથી!
72+
73+
- તમે કેવી રીતે યોગદાન આપી શકો છો તેની બધી વિગતો માટે [યોગદાનકર્તાઓની હેન્ડબુક](/contributing) જુઓ.
74+
- Slack પર `#playground` ચેનલમાં અમારી સાથે જોડાઓ (સાઇનઅપ માહિતી માટે [WordPress Slack page](https://make.wordpress.org/chat/) જુઓ)
75+
76+
બધા વર્ડપ્રેસ પ્રોજેક્ટ્સની જેમ, આપણે દરેક માટે આવકારભર્યું વાતાવરણ સુનિશ્ચિત કરવા ઈચ્છીએ છીએ. આને ધ્યાનમાં રાખીને, તમામ યોગદાનકર્તાઓ માટે [Code of Conduct](https://make.wordpress.org/handbook/community-code-of-conduct/) નું પાલન કરવું અપેક્ષિત છે.
77+
78+
## લાઇસન્સ
79+
80+
વર્ડપ્રેસ પ્લેગ્રાઉન્ડ એ મફત સોફ્ટવેર છે, જે GNU General Public License વર્ઝન 2 અથવા (તમારી પસંદગી મુજબ) તેની પછીની કોઈપણ વર્ઝનના નિયમો હેઠળ રજૂ કરવામાં આવ્યું છે. સંપૂર્ણ લાઈસન્સ માટે [LICENSE.md](https://github.com/WordPress/wordpress-playground/blob/trunk/LICENSE) જુઓ.
81+
82+
<br/><br/><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p>
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"link.title.Docs": {
3+
"message": "માર્ગદર્શિકા",
4+
"description": "The title of the footer links column with title=Docs in the footer"
5+
},
6+
"link.title.Community": {
7+
"message": "સમુદાય",
8+
"description": "The title of the footer links column with title=Community in the footer"
9+
},
10+
"link.item.label.Documentation": {
11+
"message": "માર્ગદર્શિકા",
12+
"description": "The label of footer link with label=Documentation linking to /"
13+
},
14+
"link.item.label.Blueprints": {
15+
"message": "બ્લુપ્રિન્ટ્સ",
16+
"description": "The label of footer link with label=Blueprints linking to /blueprints"
17+
},
18+
"link.item.label.Developers": {
19+
"message": "ડેવલપર્સ",
20+
"description": "The label of footer link with label=Developers linking to /developers"
21+
},
22+
"link.item.label.API Reference": {
23+
"message": "API સંદર્ભ",
24+
"description": "The label of footer link with label=API Reference linking to /api"
25+
},
26+
"link.item.label.GitHub": {
27+
"message": "GitHub",
28+
"description": "The label of footer link with label=GitHub linking to https://github.com/WordPress/wordpress-playground"
29+
},
30+
"link.item.label.#playground on Slack": {
31+
"message": "Slack પર #playground",
32+
"description": "The label of footer link with label=#playground on Slack linking to https://make.wordpress.org/chat"
33+
},
34+
"copyright": {
35+
"message": "કૉપિરાઇટ © 2025 WordPress Playground, Inc. Docusaurus વડે બનાવેલ.",
36+
"description": "The footer copyright"
37+
},
38+
"logo.alt": {
39+
"message": "Code Is Poetry",
40+
"description": "The alt text of footer logo"
41+
}
42+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"title": {
3+
"message": "વર્ડપ્રેસ પ્લેગ્રાઉન્ડ",
4+
"description": "The title in the navbar"
5+
},
6+
"logo.alt": {
7+
"message": "વર્ડપ્રેસ પ્લેગ્રાઉન્ડ",
8+
"description": "The alt text of navbar logo"
9+
},
10+
"item.label.Documentation": {
11+
"message": "માર્ગદર્શિકા",
12+
"description": "Navbar item with label Documentation"
13+
},
14+
"item.label.Blueprints": {
15+
"message": "બ્લુપ્રિન્ટ્સ",
16+
"description": "Navbar item with label Blueprints"
17+
},
18+
"item.label.Developers": {
19+
"message": "ડેવલપર્સ",
20+
"description": "Navbar item with label Developers"
21+
},
22+
"item.label.API Reference": {
23+
"message": "API સંદર્ભ",
24+
"description": "Navbar item with label API Reference"
25+
}
26+
}

0 commit comments

Comments
 (0)