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

   <!-- Answer -->
   The URL `/lang/zh` in Superset is likely handled by the backend to change 
the application's language to Chinese. The specific handling of language routes 
is configured in the `superset/views/base.py` file, where the `menu_data` 
function constructs URLs for different languages using 
`appbuilder.get_url_for_locale(lang)`. This function generates 
language-specific URLs, allowing the application to manage multilingual support 
<sup>[[1]](https://github.com/apache/superset/blob/master/superset/views/base.py)</sup>.
 
   
   However, the exact endpoint or function that processes the `/lang/zh` 
request in the backend is not explicitly detailed in the available information. 
It is likely part of the application's internationalization setup, which 
involves both frontend and backend components to ensure the language change is 
applied across the application.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/94692d59-1e21-4958-afd7-9afd231cec29?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/94692d59-1e21-4958-afd7-9afd231cec29?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/94692d59-1e21-4958-afd7-9afd231cec29?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/94692d59-1e21-4958-afd7-9afd231cec29?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/94692d59-1e21-4958-afd7-9afd231cec29?feedback_type=hallucination)
 | 
[Other](https://app.dosu.dev/response-feedback/94692d59-1e21-4958-afd7-9afd231cec29?feedback_type=other)</sup>
   


-- 
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: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to