Skip to content

language_pack/ru/:1 Failed to load resource: the server responded with a status of 404 (NOT FOUND) #35581

@KirP32

Description

@KirP32

Bug description

After adding
`
LANGUAGES = {
"ru": {"flag": "ru", "name": "Russian"},
"en": {"flag": "us", "name": "English"}
}

BABEL_DEFAULT_LOCALE = "ru"
`
to the file, the language selection appeared, but selecting it produces an error in the logs.

Image Image

### To reproduce:
git clone https://github.com/apache/superset.git
in file superset_config.py

LANGUAGES = {
"ru": {"flag": "ru", "name": "Russian"},
"en": {"flag": "us", "name": "English"}
}

BABEL_DEFAULT_LOCALE = "ru"

docker compose -f docker-compose-non-dev.yml up

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    i18nNamespace | Anything related to localization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions