CMS Made Simple Forums
https://forum.cmsmadesimple.org/

translate a project under GIT
https://forum.cmsmadesimple.org/viewtopic.php?f=15&t=47541
Page 1 of 1

Author:  bess [ Tue Sep 21, 2010 6:57 pm ]
Post subject:  translate a project under GIT

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

Author:  calguy1000 [ Wed Sep 22, 2010 1:08 am ]
Post subject:  Re: translate a project under GIT

I think that the TC center will work
I will just need the HTTP link to the en_US.php master lang file.

Author:  bess [ Wed Sep 22, 2010 9:27 am ]
Post subject:  Re: translate a project under GIT

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

Author:  bess [ Thu Sep 23, 2010 11:57 am ]
Post subject:  Re: translate a project under GIT

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

Author:  Foaly* [ Wed Mar 16, 2011 1:56 pm ]
Post subject:  Re: translate a project under GIT

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

Author:  Foaly* [ Fri Mar 25, 2011 4:34 pm ]
Post subject:  Re: translate a project under GIT

lucky bess :D

Author:  bess [ Fri Mar 25, 2011 5:15 pm ]
Post subject:  Re: translate a project under GIT

???

why did you said that ?

Author:  Foaly* [ Fri Mar 25, 2011 5:39 pm ]
Post subject:  Re: translate a project under GIT

Because you've got an answer contrary me.

Author:  bess [ Fri Mar 25, 2011 5:45 pm ]
Post subject:  Re: translate a project under GIT

yeah,an answer. but my project doesn't still under TC :'(

Author:  Foaly* [ Sat Mar 26, 2011 5:28 pm ]
Post subject:  Re: translate a project under GIT

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.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/