dosubot[bot] commented on issue #35581:
URL: https://github.com/apache/superset/issues/35581#issuecomment-3397174874

   <!-- Answer -->
   The 404 error happens because Superset's frontend can't find the Russian 
language pack file (like `/static/assets/i18n/locales/ru.json`). While Russian 
translations exist in the backend 
([messages.po](https://github.com/apache/superset/blob/master/superset/translations/ru/LC_MESSAGES/messages.po)),
 the frontend also needs its own translation files, which are generated during 
the build process.
   
   To fix this, make sure the frontend Russian translation files exist and 
rebuild the frontend assets. Typically, you need to:
   
   1. Confirm Russian is included in your config and translation files.
   2. Run the frontend build commands (such as `npm run build` or the 
equivalent in your Docker setup) to generate the necessary locale files.
   3. Restart Superset so the new assets are served.
   
   Just changing the Python config isn't enough—frontend assets must be present 
and up-to-date for the language to work without errors. If the Russian pack is 
still missing after a rebuild, check that the translation extraction and 
compilation steps include Russian, and that the resulting JSON file is in the 
expected location.
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/ec5addc8-c6c4-40ba-983f-db584ee0f5c4?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/ec5addc8-c6c4-40ba-983f-db584ee0f5c4?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/ec5addc8-c6c4-40ba-983f-db584ee0f5c4?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/ec5addc8-c6c4-40ba-983f-db584ee0f5c4?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/ec5addc8-c6c4-40ba-983f-db584ee0f5c4?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/ec5addc8-c6c4-40ba-983f-db584ee0f5c4?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/ec5addc8-c6c4-40ba-983f-db584ee0f5c4?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat
 with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
 b)&nbsp;[![Join 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/35581)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to