fix to use gwt based locale parameter passing rather than old custom