Repository navigation
Conversation
- config forms: English base + x-i18n-*.fr for every public and new plugin, a French-only one translated fully the next time its schema is touched - logs and thrown errors in English - what a plugin writes into data (titles, columns, x-labels, product variants) stays in French for now: renaming a column breaks what is built on it - schema examples in English base with their French in x-i18n Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ions - dates: useLocaleDayjs() at every call site (getLocaleDayjs(lang) outside a component), never new Date().toLocaleString(locale), with the one exception of formats dayjs has no localized token for - numbers: toLocaleString(locale) without options is the simplest and fastest form, services use it and declare no numberFormats; a named n() format only for numbers with options in a render loop Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
agents, registry and simple-directory dropped unhead, which only set the lang attribute: every service now uses the same watchEffect. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…acts Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dayjs - new dayjs option, usually useLocaleDayjs().dayjs: dates use its localized L / L LT formats; without it the French DD/MM/YYYY patterns stay, so current callers see no change - dateTimeInOwnTimeZone takes an optional dayjs factory - booleans fall back on Yes/No instead of Oui/Non for a language without labels Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
formatBytes wrote kb/Mb, which read as kilobits and megabits. The French units and the French default locale are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cation schemas - theme and access-ref: the base title and description take the English value of their x-i18n overrides, the overrides themselves are unchanged (French users see no difference) - theme preload links (hidden in forms) and notification schema written in English - notification locale accepts any two letters language code instead of the fr/en enum Constants and the main types (Theme, Colors, AccessRef, Notification) keep their names. The secondary types generated from titles are renamed (UnMembreDeLOrganisation becomes AnOrganizationMember…): none is imported by the services. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both had their texts in French only. They get <i18n> blocks like the other lib-vuetify components, and the icon-only calendar button of date-match-filter gets a title and an aria-label. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The injected dayjs carried its own language beside the locale option: a call could format numbers in English and dates in French. formatFieldValue now loads the fr locale and the localizedFormat plugin itself and formats dates in the language of locale when localizedDates is set; without it the French patterns stay. The app skill documents the option. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No option needed: French, the default, keeps DD/MM/YYYY and DD/MM/YYYY, HH[h]mm, every other locale reads the English localized formats (L, L LT), like the other fallbacks of the module. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
formatFieldValue gave the English formats to every non French locale: a future Spanish session would have read 01/15/2024. It now asks dayjs for the formats of the language, which uses them when its dayjs locale is loaded and falls back on English otherwise. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The lib side of the platform-wide fr/en pass: the code fixes the services and applications were waiting for, and the i18n rules of the skills. French output is unchanged.
formatFieldValuedates followlocale: French, the default, keeps itsDD/MM/YYYYandDD/MM/YYYY, HH[h]mmpatterns, another locale reads the dayjs localized formats of its language (L/L LT) when that dayjs locale is loaded, English otherwise (supporting Spanish later is oneimport 'dayjs/locale/es.js'). Booleans of a language without labels fall back on Yes/No instead of Oui/Non.formatByteswriteskB/MB/GBin English instead ofkb/Mb; French units and the'fr'default are unchanged.envalue of their existingx-i18n-*overrides, which stay as they are); the notification schema is written in English and itslocaleaccepts any two letters code instead of the fr/en enum.search-addressanddate-match-filterget<i18n>blocks like the other components; the icon-only calendar button gets a title and an aria-label.data-fair-processinglanguage policy (logs and errors in English, forms in English base);data-fair-servicei18n reference: dates throughuseLocaleDayjs(), numbers throughtoLocaleString(locale)without options, documentlangthroughwatchEffectonly (no unhead), reading rule of the{ en, fr }values of registry artefacts;data-fair-appdocuments the date formats per locale and its summary line on numbers is aligned.Why: the remaining lib items of the platform-wide fr/en pass, without changing anything for French users.
Heads-up:
UnMembreDeLOrganisation→AnOrganizationMember,CouleurPrincipale→PrimaryColor…). Constants and the main types (Theme,Colors,AccessRef,Notification) keep their names and no service imports the renamed ones, but an outside consumer would break: pick the version accordingly.Notification['locale']widens from'fr' | 'en'tostring(pattern^[a-z]{2}$).localetoformatFieldValue(the skill's documented call) get dates in their language (English for now) after the bump instead of French ones: that is the fix, French sessions are untouched.localizedFormatplugin, like lib-vue already does.search-addresschecked in the browser in app-dashboards in French and English.getItemsexpression thatx-i18ndoes not reach.