View Single Post
Old 01-29-2012, 02:30 PM   #209
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Concerning the "translations on git" issue, I see 3 possibilities:
  1. git does not include ANY translations
  2. git only includes source (en_US) translations
  3. git includes ALL translations

Option 1) would ensure that only code is in the git repository.
Option 2) would only include "base" translations (en_US as extracted from the device).
Option 3) would make sure that everything localized so far is in the repository.

Regardless of which option is selected, a "tx pull -a -s" can restore all translation files (including the sources).

- "tx pull -a -s" might interfere with git operation using options 2 and 3 ("git pull" refusing to overwrite untracked files).

- "tx pull -s" might interfere with git operations using option 2 in (very) rare circumstances.

- none of the transifex commands would interfere with git using option 1 (quite simply, because none of the files touched by transifex would be known to git).

I have a slight preference for option 2), because
  • Translations change frequently, and the current state can always be pulled from transifex without interfering with git.
  • Source translations (en_US) do not change frequently, and serve as input to transifex. I see source translations at the same "level" as .tx/config, actually.

What do you guys think?

Last edited by ixtab; 01-29-2012 at 02:38 PM. Reason: bugfix.
ixtab is offline   Reply With Quote