Comment
Comment by betimsl
I have a small framework I built for developing small web apps faster and it also has a translation engine very much like this, basically what it does is:
and it translates it to:
T is a function that takes a string and returns a string from static map that gets built when app starts or when somebody translates a label.