Coder Social home page Coder Social logo

reactjs / Goto Github PK

View Code? Open in 1sVSCode Editor NEW
22.0 10.0 33.0 124.63 MB

(Work in progress) React documentation website in Gujarati

Home Page:

License: Creative Commons Attribution 4.0 International

JavaScript 90.07% CSS 9.26% HTML 0.66%'s Introduction

This repo contains the source code and documentation powering

Getting started


  1. Git
  2. Node: any 12.x version starting with v12.0.0 or greater
  3. Yarn: See Yarn website for installation instructions
  4. A fork of the repo (for any contributions)
  5. A clone of the repo on your local machine


  1. cd to go into the project root
  2. yarn to install the website's npm dependencies

Running locally

  1. yarn dev to start the hot-reloading development server (powered by Gatsby)
  2. open http://localhost:8000 to open the site in your favorite browser



The documentation is divided into several sections with a different tone and purpose. If you plan to write more than a few sentences, you might find it helpful to get familiar with the contributing guidelines for the appropriate sections.

Create a branch

  1. git checkout master from any folder in your local repository
  2. git pull origin master to ensure you have the latest main code
  3. git checkout -b the-name-of-my-branch (replacing the-name-of-my-branch with a suitable name) to create a branch

Make the change

  1. Follow the "Running locally" instructions
  2. Save the files and check in the browser
  3. Changes to React components in src will hot-reload
  4. Changes to markdown files in content will hot-reload
  5. If working with plugins, you may need to remove the .cache directory and restart the server

Test the change

  1. If possible, test any visual changes in all latest versions of common browsers, on both desktop and mobile.
  2. Run yarn check-all from the project root. (This will run Prettier, ESLint, and Flow.)

Push it

  1. git add -A && git commit -m "My message" (replacing My message with a commit message, such as Fix header logo on Android) to stage and commit your changes
  2. git push my-fork-name the-name-of-my-branch
  3. Go to the repo and you should see recently pushed branches.
  4. Follow GitHub's instructions.
  5. If possible, include screenshots of visual changes. A Netlify build will also be automatically created once you make your PR so other people can see your change.


If you are interested in translating, please see the current translation efforts at

If your language does not have a translation and you would like to create one, please follow the instructions at Translations.


  • yarn reset to clear the local cache


Content submitted to is CC-BY-4.0 licensed, as found in the file.'s People


zpao avatar bvaughn avatar gaearon avatar sophiebits avatar alexkrolick avatar petehunt avatar chenglou avatar vjeux avatar jimfb avatar reactjs-translation-bot avatar acdlite avatar marocchino avatar tesseralis avatar kohei-takata avatar ron4ex avatar 3sanket3 avatar koba04 avatar yangshun avatar mcsheffrey avatar lex111 avatar sebmarkbage avatar Daniel15 avatar DSchau avatar iamchenxin avatar jxom avatar arkist avatar saranshkataria avatar yungsters avatar tricinel avatar mjackson avatar


Rajish Savaliya avatar Abhishek Ghaskata avatar Himanshu avatar George Kontridze avatar  avatar Nikunj Sondagar avatar Ashish Chawda avatar  avatar Adarsh pandya avatar Phoenix avatar Ankit Boghra avatar pathusutariya avatar Harshil Parmar avatar Lipi Mehta avatar Yogesh Kotadiya avatar  avatar Dhruv Patel avatar Meet Zaveri avatar Nikul Goyani avatar Rutul Patel avatar Sanket Patel avatar Ronak Baldha avatar


Sebastian Markbåge avatar Ryan Florence avatar James Cloos avatar Flarnie Marchan avatar Sanket Patel avatar  avatar Amit Chauhan avatar Asif Vora avatar Nikunj Sondagar avatar Harshil Parmar avatar's Issues

Revert the translation 'કેમ છો' back to 'Hello World'

We will have to keep 'Hello World' as it is. At many places in documentation, the code from .js file is directly pulled for code snippets in doc. And if the code in .js file tries to print 'Hello World', we will have update the .js file from src folder. Which we think out of translation scope.

Under this issue we want to revert that ''કેમ છો' translation back to 'Hello World' for the below pages.

  • Home Page
  • Hello World
  • Introducing JSX

Gujarati Translation Progress

Maintainer List

For New Translators

To translate a page:

  1. Check that no one else has claimed your page in the checklist and comments below.
  2. Comment below with the name of the page you would like to translate. Please take only one page at a time.
  3. Clone this repo, translate your page, and submit a pull request!

Before contributing, read the glossary and style guide (once they exist) to understand how to translate various technical and React-specific terms.

Please be prompt with your translations! If you find find that you can't commit any more, let the maintainers know so they can assign the page to someone else.

For Maintainers

When someone volunteers, edit this issue with the username of the volunteer, and with the PR. Ex:

When PRs are merged, make sure to mark that page as completed!

Core Pages

To do before releasing as an "official" translation. Please translate these pages first.


API Reference


These are the navigation links that appears in the sidebar. Possibly wait until
the corresponding sections are translated to do these.

  • tutorial/nav.yml
  • docs/nav.yml

Next Steps

These are the next most important translations, ordered by importance:



Everyone is hooked on hooks! People are really excited for these and it would be great for them to be translated.


These are the pages that you get when you click the links in the console (e.g. People tend to search these, so please don't translate the error message itself.

  • dont-call-proptypes
  • invalid-aria-prop
  • invalid-hook-call-warning
  • legacy-factories
  • refs-must-have-owner
  • special-props
  • unknown-prop

Advanced Guides

  • Accessibility
  • Code-Splitting
  • Context
  • Error Boundaries
  • Forwarding Refs
  • Fragments
  • Higher-Order Components
  • Integrating with Other Libraries
  • JSX In Depth
  • Optimizing Performance
  • Portals
  • React Without ES6
  • React Without JSX
  • Reconciliation
  • Refs and the DOM
  • Render Props
  • Static Type Checking
  • Strict Mode
  • Typechecking With PropTypes
  • Uncontrolled Components
  • Web Components


  • APIs and AJAX
  • Babel, JSX, and Build Steps
  • Passing Functions to Components
  • Component State
  • Styling and CSS
  • File Structure
  • Versioning Policy
  • Virtual DOM and Internals


Priority: Low

  • How to Contribute
  • Codebase Overview
  • Implementation Notes
  • Design Principles


Components in src/components that have some text in them.

  • CodeEditor
  • CodeExample
  • ErrorDecoder
  • LayoutFooter
  • LayoutHeader
  • MarkdownPage

Additional Translations

These are not the primary translation targets.

  • Blog
  • Community

Tutorial Translation

Tutorial translation is going to be a major undertaking. I think it will need to be done in smaller chunks. Creating a separate issue to track its progress.


  • Before We Start the Tutorial ( @3sanket3 )
  • Setup for the Tutorial
  • Overview
  • Completing the Game
  • Adding Time Travel

Problem while running 'yarn dev'

When I start the development server locally with yarn dev, it gives error like below:
I don't know what's the problem. Can anyone help me with this.


The words that should be transliterated.

Whose English pronunciation are generally familiar to Gujarati reader

Words Transliteration
Application એપ્લિકેશન
method મેથડ
implement ઈમ્પ્લીમેન્ટ
interface ઇન્ટરફેસ
tutorial ટ્યૂટોરિઅલ
value વેલ્યુ
painless પેઇનલેસ
invoke ઈન્વોક
Rendering રેન્ડરિંગ
Page પેજ

The words needs to be kept as it is:

Programming Jargons

technology stack

The words needs to be translated:

Words Transliteration
Docs માર્ગદર્શિકા

Translation of "We will introduce components in the next section"

Actually it's translation is "અમે આગામી વિભાગ માં components નો પરિચય આપીશું". But don't you think generally in any guide of Gujarati we write it as "આપણે આગલા વિભાગમાં componentsથી પરિચિત થઈશું". It also look nice and give feelings of togetherness rather than one instructing to others.

What do you say?

ERROR to setup dev environment

Did anyone faced this issue

Here is full error:


There was an error in your GraphQL query:

Cannot query field "allExampleCode" on type "Query".

If you don't expect "allExampleCode" to exist on the type "Query" it is most likely a typo.
However, if you expect "allExampleCode" to exist there are a couple of solutions to common problems:

If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
You want to optionally use your field "allExampleCode" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")

It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":

File: src\pages\index.js:358:5

failed extract queries from components - 0.758s
success write out requires - 0.146s
success write out redirect data - 0.042s
success Build manifest and related icons - 0.123s
success onPostBootstrap - 0.137s

info bootstrap finished - 12.114 s

warn code block or inline code language not specified in markdown. applying generic code block
warn unable to find prism language 'sh' for highlighting. applying generic code block
warn unable to find prism language 'jsxon' for highlighting. applying generic code block


Error: C:\hp\\public\page-data\C:\hp\\examples\es5-syntax-example contains invalid WIN32 path characters.
at Object.mkdirs (C:\hp\\node_modules\fs-extra\lib\mkdirs\mkdirs.js:18:22)
at Object.mkdirs (C:\hp\\node_modules\universalify\index.js:5:67)
at C:\hp\\node_modules\fs-extra\lib\output\index.js:20:11
at C:\hp\\node_modules\universalify\index.js:23:46 {
code: 'EINVAL'
{ elapsed: 33635 }

Error: [
Error: C:\hp\\public\page-data\C:\hp\\examples\es5-syntax-example contains invalid WIN32 path characters.

mkdirs.js:18 Object.mkdirs

index.js:5 Object.mkdirs


code: 'EINVAL'


{ elapsed: 33635 }


index.js:133 process.

index.js:155 processEmit [as emit]

promises.js:209 processPromiseRejections

task_queues.js:98 processTicksAndRejections

not finished run queries - 33.795s
not finished Generating image thumbnails - 33.566s

——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————320 pages In Progress react-websiteerror Command failed with exit code 1.
info Visit for documentation about this command.

I also posted this on main repo.Can anyone help!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.