French translation raises “ValueError('invalid token in plural form: %s' % value)”
问题 I want to handle a french version of my website. I use Django 2.2 with i18n and I already set locale variables in settings.py. # Internationalization # https://docs.djangoproject.com/en/2.2/topics/i18n/ LANGUAGES = ( ('en', _('English')), ('fr', _('French')), ('it', _('Italian')), ('es', _('Spanish')), ) LOCALE_PATHS = ( os.path.join(BASE_DIR, 'locale'), ) TIME_ZONE = 'Europe/Paris' USE_I18N = True USE_L10N = True USE_TZ = True When I use ./manage.py makemessages -l fr , I correctly have a