If you wish to translate WordPress documentation to langunage that doesn't exist in this repository, first you have to add the language to the repository.
- Fork the entire repository to your own account.
- Clone your repository to your local machine.
git clone [email protected]:<user>/documentation-end-user.git
- Navigate to repository's folder
cd documentation-end-user
- Create a new branch
git chekout -b add/language-<language_name>
- Create a new forlder named by the new language code
mkdir <language>
- Copy all files and folders from
en
folder to the new language foldercp -r en/* <language>/
- Make a copy of English manifest file and rename it for the new language
cp manifest/documentation-manifest-en.json manifest/documentation-manifest-<language>.json
- Translate the following line to the new language and add it to README.md:
[EN - English](en/): Check the documentation in English..
- Add, commit and push changes to your GitHub repository
git add .
git commit -m "Add <language_name> language."
git push origin add/language-<language_name>
- Through GitHub create a pull request from your
add/language-<language_name>
branch totrunk
branch in this repository. - Wait for someone to review, approve and merge your request.