Skip to content

♿(frontend) localize LaGaufre label fallback in Docs#1979

Open
Ovgodd wants to merge 2 commits intomainfrom
fix/frontend-waffle-label-i18n
Open

♿(frontend) localize LaGaufre label fallback in Docs#1979
Ovgodd wants to merge 2 commits intomainfrom
fix/frontend-waffle-label-i18n

Conversation

@Ovgodd
Copy link
Collaborator

@Ovgodd Ovgodd commented Mar 11, 2026

Purpose

Fix LaGaufre (waffle) label localization in Docs. The label stayed in English regardless of the selected language because Docs uses CunninghamProvider instead of the ui-kit provider, so LaGaufreV2 internal translations were not applied. We now pass an explicit, translated label from Docs i18n.

1973

Proposal

  • Pass label={t('LaSuite digital services')} in Waffle.tsx when waffleConfig.label is not provided
  • Add translations for "LaSuite digital services" in translations.json (en, fr, de, es)

@Ovgodd Ovgodd requested a review from AntoLC March 11, 2026 08:20
@Ovgodd Ovgodd self-assigned this Mar 11, 2026
@Ovgodd Ovgodd added bug Something isn't working accessibility labels Mar 11, 2026
@Ovgodd Ovgodd force-pushed the fix/frontend-waffle-label-i18n branch from adbbaa3 to 7c6444a Compare March 11, 2026 08:26
@Ovgodd Ovgodd linked an issue Mar 11, 2026 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Mar 11, 2026

Size Change: +168 B (0%)

Total Size: 4.25 MB

Filename Size Change
apps/impress/out/_next/static/0087b73a/_buildManifest.js 932 B +932 B (new file) 🆕
apps/impress/out/_next/static/846f961d/_buildManifest.js 0 B -930 B (removed) 🏆

compressed-size-action

@Ovgodd Ovgodd marked this pull request as ready for review March 11, 2026 08:27
We pass a translated fallback label so the waffle follows the app locale.
@Ovgodd Ovgodd force-pushed the fix/frontend-waffle-label-i18n branch from 7c6444a to 5bb5dda Compare March 11, 2026 08:28
@Ovgodd Ovgodd force-pushed the fix/frontend-waffle-label-i18n branch from 2969eda to 92286fd Compare March 11, 2026 13:19
@Ovgodd Ovgodd requested a review from AntoLC March 11, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Waffle label and decorative svg

2 participants