Git commit lib/messagebundles/it.po -m "my translation update for italian users"Īnd then push it to your fork up on github So if you’re working say with italian, you would do (from the frostwire-desktop root directory) Once you are finished, commit your changes, make sure you don’t make changes in other files than the. Once the bundle is built, you need to test your translation, for this you will need to build FrostWire, you can do this in one step, from the root frostwire-desktop folder type:Īfter a couple minutes it should be done compiling everything, and then you can invoke the “run” script right there if you’re on Linux or Mac, if you’re on windows, go to gui/ and invoke the run.bat file.įrostWire will open, switch to your language and make sure your translations are fine. If you see any errors you should try to fix them, if you don’t know how to fix them you can reach us on the FrostWire forum, or right here for help. po file this should finish after a few minutes of bundling every language file. To test your translation, you will need to recreate the message bundle file, for this you will need to invoke the following commandĪssuming you didn’t mess up anything in the format of the. We recommend that you use a PO Editor software to make things easier, and always make sure to save the file using UTF-8 encoding. If you’re going to translate say to arabic, you will edit the ar.po file, it should be easy to find the language file for the language you intend to work on. Translation files are in the following folder inside the frostwire-desktop project Now you get to do the actual translation. (this could take a while to finish as it goes through every line of code looking for translatable strings.) Make sure the latest english strings have been put into your language.po fileĮnter the following command to sync strings Now you’re ready to start working on your branch.Īfter we’ve accepted your changes, next time you want to help us do another update of the translation you will have to create a new branch.ĥ. Git checkout translation-french-2013-november-myname Now your branch lives both on your computer and at your github repository. Git push origin -u translation-french-2013-november-myname Git branch translation-french-2013-november-myname You create a branch on the git command line like this (just remember to put the name of YOUR branch instead) “translation-french-2013-november-myname”, so that we can easily see what language you are translating, on which date you were working on it, and your name so we can give you credit for it. Wait a few seconds and all the source code and assets that belong to the frostwire-desktop project will be downloaded to a folder called “frostwire-desktop” on your computer.Ĭreate a branch with a name that will help us understand that this is a translation update you’re sending us, it could be named something like If you use the command line git client, you should issue the following command Go to a command line, or with your favorite git client make a clone of YOUR repo (not ours). Once the fork is done, you can go to your github personal page, and in the list of your repositories you should have your frostwire-desktop fork.Īs of now, that copy lives only at, you could try and edit the files up there, but it’s very uncomfortable working that way, the text editor can be quite slow sometimes, so …ģ. ![]() You will wok on that one, and when you are done you will send the changes to the origin repo.įor us by clicking on the button that says “ Fork” on the top right. Forking means you will be making a copy of your own inside your github account. Go to, this is the page for our origin repo. ![]() GitHub is really helpful because it makes colaboration very social, we can comment and review each other’s changes before merging them into the origin repository. ![]() is a site where we host our source code and its origin git repository (the official one), think of the repository as a database to keep all those file versions. Git, is a version control software which helps us keep track of all the changes on every file that belong to the FrostWire project. If you don’t have git installed on your computer, here are instructions on how to install. Download and install Git on your computer Go to and sign up for a free account unless you have one already.ġ. Help us translate the FrostWire user interface, be part of an open source project, learn new things.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |