'Function to remove all untranslated strings from a lang_code.py'

@staticmethod
def remove_untranslated(lang_code):

    w2pfilename = os.path.join(current.request.folder, 'languages', ('%s.py' % lang_code))
    data = read_dict(w2pfilename)
    newdata = {}
    for (k, v) in data.iteritems():
        if (k != v):
            new_data[k] = v
    data = new_data
    write_dict(w2pfilename, data)
