yiisoft/yii — Issue #419: Find a git workflow for yiidoc
Author: cebe
Created: 2012-02-29 22:36:42+00:00
State: open

As discussed in pull request #411 we want to find a workflow for the [yiidoc](http://code.google.com/p/yiidoc/) project that fits git.
We are seeing people sending pull requests with translation changes to yii repo and I think this should be possible in the future. So if yiidoc will have its own repo (svn or git will not make any difference here) we will have to merge in two directions which will be very complex and error-prone task. So the only solution that makes sence for me will be one repository, so transllation changes will directly be committed to yii repo on github.

So we need a simple process that allows easy way to contribute to translations:

> **@qiangxue wrote in #411:**
> 1. a web app that can preview guide/blog tutorials and their translations. In yiidoc, we have such an application. We now need to put it into yii project.
> 2. a tool to detect if a translation is up-to-date. In yiidoc, we have syncguide and syncblog command. We also have the message extraction tool for message translations.
> 3. a set of instructions like README in yiidoc

I am currently playing around with git submodules, [keyword_expansion](http://progit.org/book/ch7-2.html#keyword_expansion) and some other things. If you have any input on this I'd love to read it!

--
Btw: found that tool, not sure if it can help us in any way, didn't check the details:
https://www.transifex.net/start/
https://www.transifex.net/tour/products/transifexee/
Just came up with the idea of a website that allows online editing and pull request sending without the mess of console command and local webserver with yii. Would be a nice thing, right?