Loading...
 
Skip to main content

History: Translation branching strategy

Preview of version: 14

Here is the problem:

http://old.nabble.com/language.php%3A-trunk-versus-3.0-tt23746165.htmlQuestion

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)

Translation in trunk and no backport, but providing a downloadlink for certain languages that are very actively translated.

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
View
Marc Laporte So we can bookmark to specific sections 34
View
Marc Laporte 33
View
Rodrigo Primo 32
View
Bernard Sfez / Tiki Specialist 31
View
Rodrigo Primo updating information about how to merge translations 30
View
Marc Laporte from dev list 29
View
Rodrigo Primo 28
View
Rodrigo Primo 27
View
Rodrigo Primo how to merge language files 26
View
Rodrigo Primo moving current policy to the top of the page 25
View
Marc Laporte 24
View
Philippe Cloutier 23
View
Philippe Cloutier disambiguate policy on semi-automatic merging period following discussion with Rodrigo and Sylvie 22
View
Marc Laporte 21
View
Marc Laporte 20
View
Marc Laporte 19
View
Philippe Cloutier add solutions for mods issue 18
View
Rodrigo Primo moving the new policy to the beginning of the page 17
View
Xavier de Pedro 16
View
Philippe Cloutier revamp and announce new policy following discussion between Sylvie, Rodrigo and me in TikiFestBoston7 15
View
Philippe Cloutier 14
View
Philippe Cloutier "Translate to stable branch, no merge up" is not an option 13
View
Torsten Fabricius sorry, preview is not working 12
View
Torsten Fabricius 11
View
  • «
  • 1 (current)
  • 2