Update 'How to translate the program'

Helge-Mikael Nordgård 2021-10-04 14:10:58 +00:00
parent 910ea0470b
commit cb31f4c109

@ -1,7 +1,11 @@
### Translating without using Git
Translating the program is fairly easy. All you have [to do is download](https://www.qt.io/download-qt-installer) the Qt installer and when you launch the installer, select only the "Qt Linguist" component. You can install the entire development environment if you want to play around with the source code aswell, but be careful not to upload any test code to the master branch. Translating the program is fairly easy. All you have [to do is download](https://www.qt.io/download-qt-installer) the Qt installer and when you launch the installer, select only the "Qt Linguist" component. You can install the entire development environment if you want to play around with the source code aswell, but be careful not to upload any test code to the master branch.
When you have downloaded and installed Qt Linguist, [head over to the repository](https://git.outlands.no/heno/Saeterprosjekt) and fetch the language file you want to translate under ["trans"](https://git.outlands.no/heno/Saeterprosjekt/src/branch/master/trans). Open up the language file in Qt Linguist and get cracking. When you have downloaded and installed Qt Linguist, [head over to the repository](https://git.outlands.no/heno/Saeterprosjekt) and fetch the language file you want to translate under ["trans"](https://git.outlands.no/heno/Saeterprosjekt/src/branch/master/trans). Open up the language file in Qt Linguist and get cracking.
### Translating using Git
When you are done with the translation you can either send the translation file to the [master branch maintainer](https://git.outlands.no/heno), or upload it yourself using Git. Here is a short walkthrough using Git command line (there are graphical interfaces also, but for the sake of simplicity, I am only going to cover command line as this is easier to follow without pasting in screenshots. There is also a lot of different Git graphical clients out there, so it's impossible to cover every one): When you are done with the translation you can either send the translation file to the [master branch maintainer](https://git.outlands.no/heno), or upload it yourself using Git. Here is a short walkthrough using Git command line (there are graphical interfaces also, but for the sake of simplicity, I am only going to cover command line as this is easier to follow without pasting in screenshots. There is also a lot of different Git graphical clients out there, so it's impossible to cover every one):
1. [Download the git](https://git-scm.com/downloads) client and install it 1. [Download the git](https://git-scm.com/downloads) client and install it