GitHub user gabriela-schuster edited a discussion: [6.0.0rc2] Error Enabling
Translations
I am having trouble enabling pt_BR (but any language actually) translations in
Superset 6.0.0rc2 (6.0.0rc1 doesn't seem to work also)
I am building it with the flag `BUILD_TRANSLATIONS: true`, as shown in my
docker compose below:
```
superset:
image: apache/superset:6.0.0rc2
container_name: superset
restart: always
build:
context: .docker/superset
dockerfile: Dockerfile
args:
BUILD_TRANSLATIONS: true
```
Also, i am setting my `superset_config.py` with the required vars:
```
LANGUAGES = {
'en': {'flag': 'us', 'name': 'English'},
"pt_BR": {"flag": "br", "name": "Brazilian Portuguese"},
}
BABEL_DEFAULT_FOLDER = "superset/translations"
BABEL_DEFAULT_LOCALE = 'pt_BR'
BABEL_DEFAULT_TIMEZONE = 'America/Sao_Paulo'
```
But when "pt_BR" is selected as active language, in the Superset web
interface, I get an 404 error in the web console:
```
Failed to fetch language pack, falling back to default.
Response { type: "basic", url:
"https://superset.eyeforest.dev/superset/language_pack/pt/", redirected: false,
status: 404, ok: false, statusText: "NOT FOUND", headers: Headers(14), body:
ReadableStream, bodyUsed: false }
```
Is there any missing config? I've followed the docs and read the
[UPDATING.md](https://github.com/apache/superset/blob/6.0.0rc2/UPDATING.md) for
version 6.0.0, but nothing seems to work
GitHub link: https://github.com/apache/superset/discussions/35312
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]