On Wed, Jan 18, 2012 at 6:50 PM, Thomas Mortagne <[email protected]> wrote: > Hi devs, > > Right now renaming a key is a pain if we don't want to loose the > existing translations associated to it. Basically it require to rename > the key in all languages and reimport all of them on l10n.xwiki.org. > > We already have a section in the translation file to indicate which > translations are deprecated. The idea is to indicate what is the new > name of a deprecated translation key directly in the translation file > so that l10n.xwiki.org can automatically copy the translation to the > new key when it find a new deprecated key while importing default > translation file. > > For that we need to decide a syntax to indicate what is the new name of the > key. > > I propose to do something similar to java and indicate it in a comment > like the following: > > new.key.name=Default translation >
> #@deprecated new.key.name > old.key.name=Default translation +1 Thanks, Marius > > Here are some other alternatives to "deprecated": > > * replacedBy > * new > > others ? > > Here is my +1 for "deprecated", more intuitive for Java developers and > it's clear it's a deprecated translation key. > > Thanks, > -- > Thomas Mortagne > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

