---
url: /api/renderers/web-components/src/functions/makeStrings.md
---
[pantoken-root](../../../../index.md) / [renderers/web-components/src](../index.md) / makeStrings

# Function: makeStrings()

> **makeStrings**(`locale`, `overrides?`): [`WebComponentStrings`](../interfaces/WebComponentStrings.md)

Alpha

Build a `WebComponentStrings` object for `locale`.
Weekday names are derived from `Intl.DateTimeFormat` (and rotated to the locale's first day of
week); all other strings fall back to English unless provided in `overrides`.

## Parameters

### locale

`string`

### overrides?

`Partial`<[`WebComponentStrings`](../interfaces/WebComponentStrings.md)>

## Returns

[`WebComponentStrings`](../interfaces/WebComponentStrings.md)
