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

   <!-- Greeting -->
   Hello @jaki102! I'm [Dosu](https://dosu.dev), a friendly bot here to help 
you solve bugs, answer questions, and guide you in becoming a contributor. I'm 
here while you wait for a human maintainer. Let's tackle this together! 😊
   
   <!-- Answer -->
   The "Select all" option in the `Select.tsx` file is indeed hardcoded and not 
localized. Unfortunately, I couldn't find specific information about any plans 
to fix this issue or details about the comment with a TODO in the `Select.tsx` 
file regarding localization 
<sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/src/components/Select/Select.tsx)</sup>.
 
   
   For localization in Superset, the functions `t()` and `tn()` from the 
`@superset-ui/core` package are used. These could potentially be applied to 
localize the "Select all" option 
<sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/packages/superset-ui-core/test/translation/index.test.ts)</sup>.
 Additionally, the current localization setup in Superset involves language 
packs and configurations that support multiple languages 
<sup>[[3]](https://github.com/apache/superset/blob/master/superset-frontend/packages/superset-ui-core/test/translation/languagePacks/en.ts)</sup><sup>[[4]](https://github.com/apache/superset/blob/master/superset-frontend/CHANGELOG.md)</sup>.
   
   If you are looking to implement localization for this option, you might 
consider using these existing localization mechanisms.
   
   
   <!-- 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/001c2c47-4200-4988-bac4-476512b11a73?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/001c2c47-4200-4988-bac4-476512b11a73?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/001c2c47-4200-4988-bac4-476512b11a73?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/001c2c47-4200-4988-bac4-476512b11a73?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/001c2c47-4200-4988-bac4-476512b11a73?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/001c2c47-4200-4988-bac4-476512b11a73?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/001c2c47-4200-4988-bac4-476512b11a73?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: [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