This project is read-only.


Multilanguage support


At this moment, this plugin does not support TFS in another language than english.
For example, in a french TFS, it search for "Child" instead of "Enfant" to find child links.
Closed Feb 14, 2015 at 4:06 PM by giuliov
Moved to GitHub Issue #5


molodec5 wrote Feb 28, 2014 at 8:55 AM

To use TFSAggregator with non english TFS you need to modify of source code (a little bit).

You can modify "WorkItemHelper.cs" file:
  • GetParentFromListOrStore
  • GetChildrenFromListOrStore
    Replace "Child" and "Parent" strings by new values.
And If you want use string aggregation through field "System.State" modify functions below:
Replace "State" string to your local name of System.State field.

AirEau wrote Feb 28, 2014 at 10:09 AM

Yes :)
I submitted this issue just to add a patch after :)
You can find an updated WorkItemHelper.cs in patchs who support multilanguage (only for aggregation yet).

But after some more investigation, I found that there are a lot more problems in this plugin.

For example, the Divide aggregation operator always return 0 because it work like this :

target = 0
target = target {operator} source1
target = target {operator} source2

so, the Divide operator will perform like 0 / X / X = 0.

Same for substract : you want to substract value 1 to value 2. For example 5 and 2 = 3.
But what appends is 0 - 5 - 2 = -7

I am changing the code to improve aggregation and adding some others operators. I'll probably add another patch for theses issues. But not sure because I am adding some others personnal preferences to it.

wrote Feb 14, 2015 at 4:06 PM