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

   <!-- Answer -->
   Locale configuration for frontend number formatting (like French-style 
spaces for thousands and commas for decimals) is not supported in the Superset 
Helm chart 0.14.2. This version only allows backend config overrides via 
`superset_config.py` (using `configOverrides`), and does not support 
`extraAppConfig` or any mechanism to inject frontend-specific settings through 
Helm values or templates. Setting `BABEL_DEFAULT_LOCALE`, `DEFAULT_LOCALE`, or 
similar variables only affects backend translations, not how numbers are 
formatted in the UI 
[[source]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/helm/superset/README.md).
   
   To enforce French number formatting in charts and dashboards, you should set 
the `D3_FORMAT` dictionary in `superset_config.py` (for example: `D3_FORMAT = 
{"decimal": ",", "thousands": " ", "grouping": [3], "currency": ["", ""]}`), 
then restart all Superset pods and clear your browser cache. This will update 
number formatting in the UI, but not in CSV/Excel exports, which always use US 
formatting [[source]](https://github.com/apache/superset/issues/34295).
   
   There is currently no Helm chart version that supports injecting frontend 
locale or number formatting config (like `extraAppConfig`) out of the box. If 
you need to enforce frontend locale settings beyond what `D3_FORMAT` provides, 
you would need to customize the Superset image or wait for future Helm chart 
support [[source]](https://github.com/apache/superset/issues/32698).
   
   
   <!-- 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/e3cc04e2-81b6-46f7-9ef2-8ae007f67679?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/e3cc04e2-81b6-46f7-9ef2-8ae007f67679?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/e3cc04e2-81b6-46f7-9ef2-8ae007f67679?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/e3cc04e2-81b6-46f7-9ef2-8ae007f67679?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/e3cc04e2-81b6-46f7-9ef2-8ae007f67679?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/e3cc04e2-81b6-46f7-9ef2-8ae007f67679?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/e3cc04e2-81b6-46f7-9ef2-8ae007f67679?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/35088)


-- 
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