Page 1 of 1

translate a project under GIT

Posted: Tue Sep 21, 2010 6:57 pm
by bess
hello all

I searched the forum without finding an answer or documentation about it, I can therefore ask the question directly.

We know how to translate our modules from the CMSMS Forge and SVN.

but how to make the link between the center of translation and the GIT repository?

there is a directory structure to comply with or otherwise have to do without the tools of the translation center as soon as we leave the forge and SVN?

thank you in advance to all those who look at my question and good day

myproject :

http://github.com/besstiolle/Open-Statistics-Community
http://dev.cmsmadesimple.org/projects/osc

Re: translate a project under GIT

Posted: Wed Sep 22, 2010 1:08 am
by calguy1000
I think that the TC center will work
I will just need the HTTP link to the en_US.php master lang file.

Re: translate a project under GIT

Posted: Wed Sep 22, 2010 9:27 am
by bess
The project has only one French-language file. Once I corrected this point I'd give you the url.

But new questions:

I'll have to get myself the latest translations from svn -> my PC -> git is not it?

no field is currently defined in the TC center to do this in automatic? you have to do a manual manipulation to integrate git TC center?

thank you in advance and I want you to know as soon a first version is available on GIT

Re: translate a project under GIT

Posted: Thu Sep 23, 2010 11:57 am
by bess
http://github.com/besstiolle/Open-Stati ... /en_US.php

content is in French for now but I'll try to translate as soon as possible lines and other minor modifications.

But essentially the file is there. I hope this will be enough for you to link it with the TC

don't hesitate to contact me if I have to change some things in the project

Re: translate a project under GIT

Posted: Wed Mar 16, 2011 1:56 pm
by Foaly*
hey calguy,
would be nice if you linked my to modules, too! I've already informed Ted some time ago and the first project already appear in TC, but how can I import the language files produced by TC to my repo?

Image Compressor (appears in TC):
http://git.cmsmadesimple.org/?p=imageco ... /en_US.php

JSAvailability (doesn't even appear in TC):
https://github.com/foaly-nr1/JS-Availab ... /en_US.php

Thanks a lot

Re: translate a project under GIT

Posted: Fri Mar 25, 2011 4:34 pm
by Foaly*
lucky bess :D

Re: translate a project under GIT

Posted: Fri Mar 25, 2011 5:15 pm
by bess
???

why did you said that ?

Re: translate a project under GIT

Posted: Fri Mar 25, 2011 5:39 pm
by Foaly*
Because you've got an answer contrary me.

Re: translate a project under GIT

Posted: Fri Mar 25, 2011 5:45 pm
by bess
yeah,an answer. but my project doesn't still under TC :'(

Re: translate a project under GIT

Posted: Sat Mar 26, 2011 5:28 pm
by Foaly*
Ted made my Image Compressor module showing up in TC by manually pointing the english lang file path to git. to have the corresponding ext dir as submodule in your git repo there should be either a git mirror of the translatecenter svn repo or TC should distinguish between git and svn origins.