django-autocomplete-light: The language file for "./i18n/en-us" could not be automatically loaded. A fallback will be used instead

On a clean install, Django 1.10, I get the following message:

The language file for "./i18n/en-us" could not be automatically loaded. A fallback will be used instead

I see that in the src and dist folders the translation files don´t have the sublanguage suffixes.

What´s the best practice here?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 30 (19 by maintainers)

Most upvoted comments

Just to note when you change the value to <html lang="en"> versus <html lang="en-US"> the warning goes away (and gain a slight performance increase in the case of many select2 fields on the page).

I would like to resolve the issue since its affecting the load speed of the admin site. The static files seem to wait for this to load and with multiple inlines its really having an impact.