def METHOD_NAME(lang):
    langs = getlangs(lang)
    puts("Adding %s" % ', '.join(langs))
    for loc in langs:
        with indent(2):
            puts("Generating PO for %s" % loc)
        shell_call("django-admin.py makemessages -l %(lang)s "
                   "-e py,html,email,txt" % {'lang': loc})
        for app in I18N_APPS:
            with indent(4):
                puts("Generating PO for app %s" % app)
            with chdir(os.path.join(REPO_ROOT, app)):
                shell_call("django-admin.py makemessages "
                           "-d djangojs -l %(lang)s" % {'lang': loc})
        puts(colored.green("sucesssfuly generated %s" % loc))