Code: Select allfunction foo() {
$.localize = true;
$.locale = 'pl';
var str = {en:'locEn', pl:'locPl'};
$.writeln(str); //CS3: locPL, CS4: locPL
}
foo();
var str = {en:'locEn', pl:'locPl'};
$.writeln(str); //CS3: locPL, CS4: [object Object]
Strange... $.localize works locally but $.locale works globally. In CS3 both works globally (as expected).