# @lit/localize

> Localization client library for lit-html

Latest version **0.12.2** (published 2024-08-05) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @lit/localize
pnpm add @lit/localize
yarn add @lit/localize
bun add @lit/localize
```

## Health

**Score 50/100 (C)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score; popular repo.

Warnings: low downloads; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.12.2 |
| Published | 2024-08-05 |
| First published | 2020-11-10 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 84.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 21824 |
| Author | Google LLC |
| Maintainers | augustjk, lit-robot, kevinpschaaf, jbingham, sorvell, rictic, graynorton, justinfagnani, aomarks |

## Links

- npm: https://www.npmjs.com/package/@lit/localize
- Repository: https://github.com/Lit/Lit
- Homepage: https://github.com/Lit/Lit/tree/main/packages/localize
- Issues: https://github.com/Lit/Lit/issues
- npm.io page: https://npm.io/package/@lit/localize

## Dependencies (1)

- [lit](https://npm.io/package/lit.md) ^3.2.0

## Recent versions

- 0.12.2 (latest) — 2024-08-05
- 0.12.0-pre.1 (pre) — 2023-09-29
- 0.10.2-pre.1 (false) — 2021-05-02
- 0.12.1 — 2023-10-28
- 0.12.0 — 2023-10-10
- 0.11.5-pre.0 — 2023-04-27
- 0.11.4 — 2022-08-12
- 0.11.3 — 2022-06-14
- 0.11.2 — 2022-01-25
- 0.11.1 — 2021-11-09
- 0.11.0 — 2021-10-07
- 0.10.4 — 2021-09-21
- 0.10.3 — 2021-07-14
- 0.10.2 — 2021-05-18
- 0.10.1 — 2021-04-21
- … 9 more at https://npm.io/package/@lit/localize/versions

## README

# @lit/localize

[npm-img]: https://img.shields.io/npm/v/@lit/localize
[npm-href]: https://www.npmjs.com/package/@lit/localize
[test-img]: https://github.com/lit/lit/workflows/Tests/badge.svg?branch=main
[test-href]: https://github.com/lit/lit/actions?query=workflow%3ATests+branch%3Amain+event%3Apush

[![Published on NPM][npm-img]][npm-href]
[![Test status][test-img]][test-href]

Lit Localize provides localization/internationalization support for Lit
templates. See [lit.dev](https://lit.dev/docs/localization/overview/) for full
documentation.

This is the repo for `@lit/localize`, the package provides the library that runs in
the browser and contains `msg` and other utilities.

See also
[`@lit/localize-tools`](https://github.com/lit/lit/tree/main/packages/localize-tools),
the package that provides the `lit-localize` command-line tool for extracting
messages and building localized apps.

## Installation

```sh
npm i @lit/localize
```

## Usage

```js
render() {
  return msg(html`Hello <b>World</b>`);
}
```

## Documentation

Full documentation is available on
[lit.dev](https://lit.dev/docs/localization/overview/).

---
_Source: https://npm.io/package/@lit/localize · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
