GitHub user dosubot[bot] added a comment to the discussion: Unable to configure 
French locale (number formatting) with Helm chart

<!-- Answer -->
Your D3_FORMAT settings in superset_config.py are the key to controlling French 
number formatting in the Superset UI. For these settings to take effect, make 
sure your D3_FORMAT dictionary looks like this:

```python
D3_FORMAT = {
    "decimal": ",",
    "thousands": " ",
    "grouping": [3],
    "currency": ["", " €"]
}
```

After updating, restart all Superset pods and clear your browser cache. To 
confirm your config is loaded, open your browser dev tools and check that 
`window.bootstrap_data.common.d3_format` matches your settings on any Superset 
page. If it doesn't, double-check that your superset_config.py is mounted 
correctly and that the SUPERSET_CONFIG_PATH or SUPERSET_CONFIG environment 
variable points to it 
[[source]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/config.py).

Note: This only affects number formatting in the UI—CSV/Excel exports will 
still use US-style formatting 
[[source]](https://github.com/apache/superset/discussions/34568). The Helm 
chart 0.14.2 does not support extraAppConfig or frontend config injection, so 
this is the only supported method for locale-aware number formatting in the 
frontend 
[[source]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/helm/superset/README.md).

If you still don't see the expected formatting, check for typos in your config, 
ensure the config is loaded, and verify that no other overrides are present. 
Let me know if you need help troubleshooting further!


<!-- 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/4e00d4a7-5a3d-4836-b58d-87f0e7f1a970?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/4e00d4a7-5a3d-4836-b58d-87f0e7f1a970?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/4e00d4a7-5a3d-4836-b58d-87f0e7f1a970?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/4e00d4a7-5a3d-4836-b58d-87f0e7f1a970?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/4e00d4a7-5a3d-4836-b58d-87f0e7f1a970?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/4e00d4a7-5a3d-4836-b58d-87f0e7f1a970?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/4e00d4a7-5a3d-4836-b58d-87f0e7f1a970?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=github)&
 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)

GitHub link: 
https://github.com/apache/superset/discussions/35093#discussioncomment-14365549

----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@superset.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