# Rate labels in the user's language („Blue HC“ instead of „blue off-peak“)

**URL:** <https://community.gladysassistant.com/t/libelles-des-tarifs-dans-la-langue-de-l-utilisateur-bleu-hc-plutot-que-blue-off-peak/11564>\
**Category:** Demande de fonctionnalités\
**Created:** [November 13, 2026, 8:15am UTC](https://community.gladysassistant.com/t/libelles-des-tarifs-dans-la-langue-de-l-utilisateur-bleu-hc-plutot-que-blue-off-peak/11564 "2026-11-13T08:15:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [November 13, 2026, 8:15am UTC](https://community.gladysassistant.com/t/libelles-des-tarifs-dans-la-langue-de-l-utilisateur-bleu-hc-plutot-que-blue-off-peak/11564/1 "2026-11-13T08:15:33Z")

</div>

## The need

The « Electricity Price » widget displays the current rate as a badge, and the next change in parentheses. Today, a French-speaking user on a Tempo contract sees `blue off-peak`. They expect to read **Bleu HC** , as on their bill.

I would like these labels to be displayed in the user’s language, with the terms we actually use: Bleu HC, Blanc HP, Heures creuses, etc.

Initial request: [Amélioration widget Prix de l’électricité](https://community.gladysassistant.com/t/amelioration-widget-prix-de-l-electricite/11550)

## What happens today

These labels are automatically generated in English for:

- contracts taken from the old pricing system (migration);
- contracts created from the current community catalog.

| Contract type | Current labels |
| --- | --- |
| Tempo | `blue peak`, `blue off-peak`, `white peak`, `white off-peak`, `red peak`, `red off-peak`, and `off-peak` when the day’s color is not yet known |
| Peak/off-peak hours | `peak`, `off-peak` |

The EDF Tempo model integrated into Gladys has the same problem (`Blue off-peak`). These labels appear in the widget and in the contract creation assistant preview.

However, the names of the contract models and the labels of their parameters (« Jour bleu, heures creuses ») are already translated. Only the rate labels are not.

## In the meantime

We can already rename the labels manually: edit the contract in « Contracts », switch to JSON mode, and replace the `"label"` texts. The widget then displays the new label.
