def handle(self, *args, **options):
    langs = options['langs']
    if (not langs):
        langs = os.listdir(os.path.join(settings.ROOT, 'locale'))
        langs = filter((lambda x: (x != 'templates')), langs)
        langs = filter((lambda x: (x[0] != '.')), langs)
    merge_lang_files(langs)
def handle(self, *args, **options):
    langs = options['langs']
    if (not langs):
        langs = os.listdir(os.path.join(settings.ROOT, 'locale'))
        langs = filter((lambda x: (x != 'templates')), langs)
        langs = filter((lambda x: (x[0] != '.')), langs)
    merge_lang_files(langs)