Hi,
I have issues with @Translate tag when used inside a Razor block of code.
Consider this:
In translations.xml in root of "Templates" i have defined a key:
mykey = 1
@{
// Using old fashion translate
int anInt = <!--@Translate(mykey, "mykeyNotTranslated", global)-->;
// Using real razor version
// Where an overloaded method taking three parameter does not exist (!)
int aSecondInt = Translate("mykey", "myKeyNotTranslated")
}
It seems that the translation only is done on 2nd request!
Please try your self and explain to me this behaviour.