@besaitech/ng-design-system 0.0.53 → 0.0.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -199,6 +199,17 @@ Import names are the `Sl…` classes; the markup selectors are `sds-…`.
199
199
  | `SdsTopbar` | `<sds-topbar>` | `appName`, `user`, `(logout)`; `[sdsLogo]` slot |
200
200
  | `SdsSidebar` + `SdsNavGroup` + `SdsNavItem` | `<sds-sidebar>` … | Collapsible nav rail; collapse state via root-provided `SidebarStore`; items render `routerLink` or `<button>` |
201
201
 
202
+ ## Labels & languages
203
+
204
+ The library ships **no translations of its own**. Every visible or spoken string — placeholders,
205
+ empty states, validation messages and the accessible names of icon-only buttons — is an input with
206
+ an **English default** (since 0.0.54; earlier releases defaulted some components to French). An app
207
+ serving more than one language binds its translations, e.g.
208
+ `<sds-select [placeholder]="'common.select' | translate" [clearLabel]="'common.clear' | translate" />`.
209
+ Locale-aware parts take a `locale` input: `sds-date-picker`/`sds-calendar` (month and weekday names,
210
+ default `en-GB`), `sds-input-number` and `sds-table` (number/currency formatting), `sds-phone-input`
211
+ (country names via `Intl.DisplayNames`; empty = built-in English names).
212
+
202
213
  ---
203
214
 
204
215
  ## Troubleshooting