Bug 904618 and bug 897862 - changes to registerLocales and requestLocales, removed freeze