On Mon, Nov 03, 2014 at 10:23:24AM +0100, Denis Rouzaud wrote: > 1. Create a new repo on github, let's say QGIS-i18n > > 2. In i18n folder, do > 2.1. git init > 2.2. git remote add origin [email protected]:QGIS/QGIS-i18n.git > 2.3. git add * > 2.4. git commit -m "first" > 2.5. git push -u origin master > > 3. On top directory, remove i18n folder: git rm -rf i18n > > 4. Add the submodule: git submodule add > [email protected]:QGIS/qgis-i18n.git i18n > > After this, you should have exactly the same folder structure, > except that i18n is now an external repo. > pulling/pushing in this folder will be performed on the submodule > repo and won't affect the main repo.
To complete the picture, the main repo references a specific commit of the submodule, so in order to "update" translations such reference would need to be updated in the main repo. > For the transifex config, I am not an expert, but as far as I > understand it, pushing/pull translation is done from the project, so > I wonder if even a change is requested. The the reason above it may be advisible to have transifex pull from the submodule, or it would see no changes until the submodule reference is updated (assuming transifex puller would be able to follow submodules). --strk; () Free GIS & Flash consultant/developer /\ http://strk.keybit.net/services.html _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
