-
Notifications
You must be signed in to change notification settings - Fork 107
Fork qTranslate XT
To contribute with your translation of this plugin, you first need to setup your own Fork of qTranslate-XT.
Every contributions you make are within your own fork and later sended to qTranslate Team.
You can now start to contribute by either creating a new fork or by using your already existing qTranslate-XT Fork.
Please choose your option below:
Fork your own copy of qTranslate-XT to your account by pressing the Fork button in the top of qTranslate-XT GitHub page.
Your fork now exists in:
https://github.com/YOUR-USERNAME/qtranslate-x
Clone your fork to your computer by pressing Clone in Desktop button.
When you fork qTranslate-XT in order to add/update translations or to propose changes to the original repository, you should configure Git to pull changes from the original, or upstream, repository into the local clone of your fork.
You can do this now or later as explained in Use Existing Fork
Your fork is set, the files should be accessible in your computer and you are now ready to start translating qTranslate-XT.
Next: Translate →
If you already have your own qTranslate-XT fork for a while, before you start to translate you need to make sure that your fork is up to date with the latest version of qTranslate-XT.
Below are the five steps to keep your fork updated.
You can easily do this if you have a desktop GitHub Client installed on your computer or you can do it in the command line as follows.
The first step can be done as soon as you create the fork, as it is necessary to keep your forked repository updated and synced with the original in the future, and it's done only once.
Add the original GitHub repository as a remote of your local clone of qTranslate-XT. This is done only once. Add the remote called "upstream":
git remote add upstream https://github.com/qTranslate/qtranslate-xt.git
The steps from 2 to 5 must be done every time you want to contribute with some translation, in order to receive all the latest commits/updates and language files from original qTranslate-XT repository.
You need to fetch all the branches from the "upstream" remote into remote-tracking branches, such as upstream/master:
git fetch upstream
To make sure that you are on your "master" branch:
git checkout master
Rewrite your work in master branch so that any commits of yours that aren't already in "upstream" remote / "master" branch are replayed on top of that branch latest updates, to continue working on top of the upstream version:
git rebase upstream/master
Push your rebased branched to your own forked repository on GitHub, called the remote "origin":
git push -f origin master
Your fork is synced, the files should be accessible in your computer and you are now ready to update your translation of qTranslate-XT.
Next: Translate →