jquery.i18n.properties.js
function checkKeyNamespace(key) {

        var regDot = /\./;
        if (regDot.test(key)) {
            var fullname = '';
            var names = key.split(/\./);
            for (var i=0,j=names.length;i<j;i++) {
                var name = names[i];

                if (i > 0) {
                    fullname += '.';
                }

                fullname += name;
                if (eval('typeof ' + fullname + ' == "undefined"')) {
                    eval(fullname + '={};');
                }
            }
        }
    }
function checkKeyNamespace(key) {

        var regDot = /\./;
        if (regDot.test(key)) {
            var fullname = '';
            var names = key.split(/\./);
            for (var i=0,j=names.length;i<j;i++) {
                var name = names[i];

                if (i > 0) {
                    fullname += '.';
                }

                fullname += name;
                if (eval('typeof ' + fullname + ' == "undefined"')) {
                    eval(fullname + '={};');
                }
            }
        }
    }
function checkKeyNamespace ( key ) { var regDot = / \. / ; if ( regDot . test ( key ) ) { var fullname = '' ; var names = key . split ( / \. / ) ; for ( var i = 0 , j = names . length ; i < j ; i ++ ) { var name = names [ i ] ; if ( i > 0 ) { fullname += '.' ; } fullname += name ; if ( eval ( 'typeof ' + fullname + ' == "undefined"' ) ) { eval ( fullname + '={};' ) ; } } } }
Make sure namespace exists (for keys with dots in name) TODO key parts that start with numbers quietly fail. i.e. month.short.1=Jan
Make sure namespace exists ( for keys with dots in name ) TODO key parts that start with numbers quietly fail . i . e . month . short . 1 = Jan