History: Translation branching strategy
Preview of version: 14
Here is the problem:
http://old.nabble.com/language.php%3A-trunk-versus-3.0-tt23746165.html
Table of contents
Problems
language.php: the strings are not all/always in the same order so merging can be a nightmare
Options
Translate to trunk, no automatic backport
Translators decide to backport to branch or not as they wish.
- If no backport, people have to wait next major version before using.
Why not: Translate to trunk, with backport to LTS?
- People would not have to wait for new version
- Just 1 translation branch (trunk) (no double work/translations)
- i18n server translations are made in trunk anyway (correct?)
Alternative to stable proposals
Quality Team needs to merge
Translate to stable branch, with merge up
- Who will run the script?
- script to run each time a branch is updated to become "version" (omstefanov)
- How to manage merge conflicts?
- give options (omstefanov):
1. replace stable with branch (complete table)
2. replace branch with stable (complete table)
3. merge, if duplicate source lang but variant target lang, branch overrides stable
4. merge, if duplicate source lang but variant target lang, stable overrides branch
5. produce list of variants. Assumes that merge can be run over and over again.
6. give users interactive possibilities to choose which variant to keep (usable only if not too many mismatches).
Alternative to stable proposals
Quality Team needs to merge
Suggestions
(Torsten)
Update these few files out of trunk on a regular base.
Keep strings in Trunk that are not used anymore, but needed in the former branch, as long as the former branch is supported.
Siteadmins could then backport their individual languages by themselves by just downloading and copying the language.php of one or a few languages into /lang/XYZ .
For certain custom translations this would anyway to be considered by an admin.
(for ex. for one of my sites "shoutbox" is "roadbook", what is very specific and not for the main codebase - I do have several translations like this)
History
| Information | Version | |||||
|---|---|---|---|---|---|---|
| gezza | 35 | |||||
| Marc Laporte So we can bookmark to specific sections | 34 | |||||
| Marc Laporte | 33 | |||||
| Rodrigo Primo | 32 | |||||
| Bernard Sfez / Tiki Specialist | 31 | |||||
| Rodrigo Primo updating information about how to merge translations | 30 | |||||
| Marc Laporte from dev list | 29 | |||||
| Rodrigo Primo | 28 | |||||
| Rodrigo Primo | 27 | |||||
| Rodrigo Primo how to merge language files | 26 | |||||
| Rodrigo Primo moving current policy to the top of the page | 25 | |||||
| Marc Laporte | 24 | |||||
| Philippe Cloutier | 23 | |||||
| Philippe Cloutier disambiguate policy on semi-automatic merging period following discussion with Rodrigo and Sylvie | 22 | |||||
| Marc Laporte | 21 | |||||
| Marc Laporte | 20 | |||||
| Marc Laporte | 19 | |||||
| Philippe Cloutier add solutions for mods issue | 18 | |||||
| Rodrigo Primo moving the new policy to the beginning of the page | 17 | |||||
| Xavier de Pedro | 16 | |||||
| Philippe Cloutier revamp and announce new policy following discussion between Sylvie, Rodrigo and me in TikiFestBoston7 | 15 | |||||
| Philippe Cloutier | 14 | |||||
| Philippe Cloutier "Translate to stable branch, no merge up" is not an option | 13 | |||||
| Torsten Fabricius sorry, preview is not working | 12 | |||||
| Torsten Fabricius | 11 | |||||