1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Python] CommandError: errors happened while running msguniq

Discussão em 'Python' iniciado por Stack, Outubro 6, 2024 às 23:02.

  1. Stack

    Stack Membro Participativo

    C:\Users\Boss\OneDrive\İş masası\ask>django-admin makemessages --locale 'en' --ignore=myenv/*
    CommandError: errors happened while running msguniq msguniq: error while opening "C:\Users\Boss\OneDrive\Is masasi\ask\locale\django.pot" for reading: No such file or directory

    in main folder:

    • locale
      • en
        • LC_MESSAGES

    settings.py

    LANGUAGES = (
    ('az', _('Azerbaijan')),
    ('en', _('English')),
    )

    LOCALE_PATHS = [
    os.path.join(BASE_DIR, 'locale'),
    ]

    LANGUAGE_CODE = 'az'
    MODELTRANSLATION_DEFAULT_LANGUAGE = 'az'

    TIME_ZONE = 'Asia/Baku'
    SITE_ID = 1
    USE_I18N = True
    USE_TZ = True


    and i use gettext 0.21 and iconv 1.16 - Binaries for Windows in ubuntu server i can makemessages but in windows i only get error django.pot" for reading: No such file or directory,msguniq: error while opening

    in django project i try to py manage.py makemessages -l en

    Continue reading...

Compartilhe esta Página