open-index/open-npm huggingface dataset:
npm package: @linguastik/cli
Description: Wrap any terminal command and read its output in your language, in real time — powered by Lingo.dev
Latest version: 1.0.1

# Linguastik CLI — `lingo`

> Wrap any terminal command and read its output in your language, in real time.

```bash
npm install -g @linguastik/cli   # or npm link from source
```

---

## Usage

```bash
lingo [options] <command> [args...]
```

### Options

| Flag | Alias | Description |
|---|---|---|
| `--key <key>` | `-k` | Set your Lingo.dev API key (saved persistently) |
| `--lang <code>` | `-l` | Set target language (e.g. `ja`, `es`, `fr`, `de`) |
| `--precise` | `-p` | Capture full output then translate in one context-aware request |

### Examples

```bash
# Set up once
lingo --key <your-lingo-api-key>
lingo --lang ja

# Wrap any command — output is translated line by line
lingo git status
lingo npm install
lingo docker compose up

# Precise mode — full output → single accurate translation
lingo -p npm help
lingo -p git log --oneline
```

---

## How it works

| Mode | Behaviour |
|---|---|
| **Default** | Spawns the command, streams each output line through Lingo.dev, prints translation immediately |
| **Precise (`-p`)** | Runs command with raw passthrough, captures full output, sends it as one request for better accuracy |

Translations are **cached on disk** — repeated identical lines are instant and never re-hit the API.

---

## Config

Settings are saved to `~/.linguastik/config.json`.

```bash
lingo --key sk-...        # Save API key
lingo --lang fr           # Save target language
lingo git status          # Use saved config automatically
```

---

## Requirements

- Node.js ≥ 18
- A [Lingo.dev](https://lingo.dev) API key

---

## Build from source

```bash
# From the monorepo root
npm install && npm run build

# Link globally
cd packages/cli && npm link
```
npm package: @lingui-solid/babel-plugin-extract-messages
Description: Babel plugin for collecting messages from source code for internationalization
Author: Tomáš Ehrlich
Latest version: 5.1.3

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui-solid/solid

> SolidJS components for internationalization

This is fork of the [LinguiJS](https://lingui.dev/) with SolidJS support.

See [documentation](https://github.com/Azq2/js-lingui-solid/blob/main/README.md) for usage and installation.

## License

[MIT][license]

[license]: https://github.com/Azq2/js-lingui-solid/blob/main/LICENSE

[package]: https://www.npmjs.com/package/@lingui-solid/babel-plugin-extract-messages
[badge-downloads]: https://img.shields.io/npm/dw/@lingui-solid/babel-plugin-extract-messages.svg
[badge-version]: https://img.shields.io/npm/v/@lingui-solid/babel-plugin-extract-messages.svg
[badge-license]: https://img.shields.io/npm/l/@lingui-solid/babel-plugin-extract-messages.svg
npm package: @lingui-solid/babel-plugin-lingui-macro
Description: Babel plugin for transforming Lingui Macros
Author: Tomáš Ehrlich
Latest version: 5.1.3

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui-solid/solid

> SolidJS components for internationalization

This is fork of the [LinguiJS](https://lingui.dev/) with SolidJS support.

See [documentation](https://github.com/Azq2/js-lingui-solid/blob/main/README.md) for usage and installation.

## License

[MIT][license]

[license]: https://github.com/Azq2/js-lingui-solid/blob/main/LICENSE

[package]: https://www.npmjs.com/package/@lingui-solid/babel-plugin-lingui-macro
[badge-downloads]: https://img.shields.io/npm/dw/@lingui-solid/babel-plugin-lingui-macro.svg
[badge-version]: https://img.shields.io/npm/v/@lingui-solid/babel-plugin-lingui-macro.svg
[badge-license]: https://img.shields.io/npm/l/@lingui-solid/babel-plugin-lingui-macro.svg
npm package: @lingui-solid/solid
Description: SolidJS components for translations
Author: Tomáš Ehrlich
Latest version: 5.1.4

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui-solid/solid

> SolidJS components for internationalization

This is fork of the [LinguiJS](https://lingui.dev/) with SolidJS support.

See [documentation](https://github.com/Azq2/js-lingui-solid/blob/main/README.md) for usage and installation.

## License

[MIT][license]

[license]: https://github.com/Azq2/js-lingui-solid/blob/main/LICENSE

[package]: https://www.npmjs.com/package/@lingui-solid/solid
[badge-downloads]: https://img.shields.io/npm/dw/@lingui-solid/solid.svg
[badge-version]: https://img.shields.io/npm/v/@lingui-solid/solid.svg
[badge-license]: https://img.shields.io/npm/l/@lingui-solid/solid.svg
npm package: @lingui-solid/vite-plugin
Description: Vite plugin for Lingui message catalogs
Latest version: 5.1.3

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui-solid/vite-plugin

> Vite plugin that compiles Lingui catalogs on the fly. In summary, the `lingui compile` command isn't needed when using this plugin.

`@lingui-solid/vite-plugin` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

## Installation & Usage

See the [reference][reference] documentation.

## License

[MIT][license]

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev/
[reference]: https://lingui.dev/ref/vite-plugin
[package]: https://www.npmjs.com/package/@lingui-solid/vite-plugin
[badge-downloads]: https://img.shields.io/npm/dw/@lingui-solid/vite-plugin.svg
[badge-version]: https://img.shields.io/npm/v/@lingui-solid/vite-plugin.svg
[badge-license]: https://img.shields.io/npm/l/@lingui-solid/vite-plugin.svg
npm package: @lingui/babel-plugin-extract-messages
Description: Babel plugin for collecting messages from source code for internationalization
Author: Tomáš Ehrlich
Latest version: 5.9.5

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui/babel-plugin-extract-messages

> Babel plugin which extracts messages for translation from source files

`@lingui/babel-plugin-extract-messages` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

## Installation

```sh
npm install --save-dev @lingui/babel-plugin-extract-messages
# yarn add --dev @lingui/babel-plugin-extract-messages
```

## Usage

### Via `.babelrc` (Recommended)

**.babelrc**

```json
{
  "plugins": ["@lingui/babel-plugin-extract-messages"]
}
```

### Via CLI

```bash
babel --plugins @lingui/babel-plugin-extract-messages script.js
```

### Via Node API

```js
require("@babel/core").transform("code", {
  plugins: ["@lingui/babel-plugin-extract-messages"]
})
```

## License

[MIT][license]

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev
[package]: https://www.npmjs.com/package/@lingui/babel-plugin-extract-messages
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/babel-plugin-extract-messages.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/babel-plugin-extract-messages.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/babel-plugin-extract-messages.svg
npm package: @lingui/babel-plugin-lingui-macro
Description: Babel plugin for transforming Lingui Macros
Author: Tomáš Ehrlich
Latest version: 5.9.5

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui/babel-plugin-lingui-macro

> Babel plugin that does actual transforms of Lingui's Macros

`@lingui/babel-plugin-lingui-macro` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

## Installation

```sh
npm install --save-dev @lingui/babel-plugin-lingui-macro
# yarn add --dev @lingui/babel-plugin-lingui-macro
```

## Usage

### Via `.babelrc`

**.babelrc**

```json
{
  "plugins": ["@lingui/babel-plugin-lingui-macro"]
}
```

## License

[MIT][license]

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev
[package]: https://www.npmjs.com/package/@lingui/babel-plugin-lingui-macro
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/babel-plugin-lingui-macro.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/babel-plugin-lingui-macro.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/babel-plugin-lingui-macro.svg
npm package: @lingui/babel-plugin-transform-js
Description: Transform lingui-i18n methods to ICU message format
Author: Tomáš Ehrlich
Latest version: 2.9.2
Deprecated: package deprecated, use @lingui/macro instead

[![License][Badge-License]][License]
[![Version][Badge-Version]][Package]
[![Downloads][Badge-Downloads]][Package]

# @lingui/babel-plugin-transform-js

> Babel plugin which transforms messages written using `lingui-i18n` functions to static ICU MessageFormat.

`@lingui/babel-plugin-transform-js` is part of [LinguiJS][LinguiJS]. See the [documentation][Documentation] for all information, tutorials and examples.

## Installation

```sh
npm install --save-dev @lingui/babel-plugin-transform-js
# yarn add --dev @lingui/babel-plugin-transform-js
```

## Usage

### Via `.babelrc` (Recommended)

**.babelrc**

```json
{
  "plugins": ["@lingui/babel-plugin-transform-js"]
}
```

### Via CLI

```sh
babel --plugins @lingui/babel-plugin-transform-js script.js
```

### Via Node API

```js
require("@babel/core").transform("code", {
  plugins: ["@lingui/babel-plugin-transform-js"]
})
```

## License

[MIT][License]

[License]: https://github.com/lingui/js-lingui/blob/master/LICENSE
[LinguiJS]: https://github.com/lingui/js-lingui
[Documentation]: https://lingui.js.org/
[Package]: https://www.npmjs.com/package/@lingui/babel-plugin-transform-js
[Badge-Downloads]: https://img.shields.io/npm/dw/@lingui/babel-plugin-transform-js.svg
[Badge-Version]: https://img.shields.io/npm/v/@lingui/babel-plugin-transform-js.svg 
[Badge-License]: https://img.shields.io/npm/l/@lingui/babel-plugin-transform-js.svg
npm package: @lingui/babel-plugin-transform-react
Description: Transform React components to ICU message format
Author: Tomáš Ehrlich
Latest version: 2.9.2
Deprecated: package deprecated, use @lingui/macro instead

[![License][Badge-License]][License]
[![Version][Badge-Version]][Package]
[![Downloads][Badge-Downloads]][Package]

# @lingui/babel-plugin-transform-react

> Babel plugin which transforms content of components from [lingui-react](https://www.npmjs.com/package/lingui-react) to ICU MessageFormat.

`@lingui/babel-plugin-transform-react` is part of [LinguiJS][LinguiJS]. See the [documentation][Documentation] for all information, tutorials and examples.

## Installation

```sh
npm install --save-dev @lingui/babel-plugin-transform-react
# yarn add --dev @lingui/babel-plugin-transform-react
```

## Usage

### Via `.babelrc` (Recommended)

**.babelrc**

```json
{
  "plugins": ["@lingui/babel-plugin-transform-react"]
}
```

### Via CLI

```bash
babel --plugins @lingui/babel-plugin-transform-react script.js
```

### Via Node API

```js
require("@babel/core").transform("code", {
  plugins: ["@lingui/babel-plugin-transform-react"]
})
```

## License

[MIT][License]

[License]: https://github.com/lingui/js-lingui/blob/master/LICENSE
[LinguiJS]: https://github.com/lingui/js-lingui
[Documentation]: https://lingui.js.org/
[Package]: https://www.npmjs.com/package/@lingui/babel-plugin-transform-react
[Badge-Downloads]: https://img.shields.io/npm/dw/@lingui/babel-plugin-transform-react.svg
[Badge-Version]: https://img.shields.io/npm/v/@lingui/babel-plugin-transform-react.svg 
[Badge-License]: https://img.shields.io/npm/l/@lingui/babel-plugin-transform-react.svg
npm package: @lingui/babel-preset-js
Description: Lingui preset for Javascript apps
Author: Tomáš Ehrlich
Latest version: 2.9.2
Deprecated: package deprecated, use @lingui/macro instead

[![License][Badge-License]][License]
[![Version][Badge-Version]][Package]
[![Downloads][Badge-Downloads]][Package]

# @lingui/babel-preset-js

> Babel preset for all Lingui plugins required in vanilla JS apps (for React apps see [@lingui/babel-preset-react](https://www.npmjs.com/package/@lingui/babel-preset-react)).

`@lingui/babel-preset-js` is part of [LinguiJS][LinguiJS]. See the [documentation][Documentation] for all information, tutorials and examples.

## Installation

```sh
npm install --save-dev @lingui/babel-preset-js
# yarn add --dev @lingui/babel-preset-js
```

## Usage

### Via `.babelrc` (Recommended)

**.babelrc**

```json
{
  "presets": ["@lingui/babel-preset-js"]
}
```

### Via CLI

```bash
babel script.js --presets @lingui/babel-preset-js
```

### Via Node API

```js
require("@babel/core").transform("code", {
  presets: ["@lingui/babel-preset-js"]
});
```

## License

[MIT][License]

[License]: https://github.com/lingui/js-lingui/blob/master/LICENSE
[LinguiJS]: https://github.com/lingui/js-lingui
[Documentation]: https://lingui.js.org/
[Package]: https://www.npmjs.com/package/@lingui/babel-preset-js
[Badge-Downloads]: https://img.shields.io/npm/dw/@lingui/babel-preset-js.svg
[Badge-Version]: https://img.shields.io/npm/v/@lingui/babel-preset-js.svg 
[Badge-License]: https://img.shields.io/npm/l/@lingui/babel-preset-js.svg
npm package: @lingui/babel-preset-react
Description: Lingui preset for React apps
Author: Tomáš Ehrlich
Latest version: 2.9.2
Deprecated: package deprecated, use @lingui/macro instead

[![License][Badge-License]][License]
[![Version][Badge-Version]][Package]
[![Downloads][Badge-Downloads]][Package]

# @lingui/babel-preset-react

> Babel preset for all Lingui plugins required in React apps (for vanilla JS apps see [@lingui/babel-preset-js](https://www.npmjs.com/package/@lingui/babel-preset-js)).

`@lingui/babel-preset-react` is part of [LinguiJS][LinguiJS]. See the [documentation][Documentation] for all information, tutorials and examples.

## Installation

```sh
npm install --save-dev @lingui/babel-preset-react
# yarn add --dev @lingui/babel-preset-react
```

## Usage

### Via `.babelrc` (Recommended)

**.babelrc**

```json
{
  "presets": ["@lingui/babel-preset-react"]
}
```

### Via CLI

```bash
babel script.js --presets @lingui/babel-preset-react
```

### Via Node API

```js
require("@babel/core").transform("code", {
  presets: ["@lingui/babel-preset-react"]
});
```

## License

[MIT][License]

[License]: https://github.com/lingui/js-lingui/blob/master/LICENSE
[LinguiJS]: https://github.com/lingui/js-lingui
[Documentation]: https://lingui.js.org/
[Package]: https://www.npmjs.com/package/@lingui/babel-preset-react
[Badge-Downloads]: https://img.shields.io/npm/dw/@lingui/babel-preset-react.svg
[Badge-Version]: https://img.shields.io/npm/v/@lingui/babel-preset-react.svg 
[Badge-License]: https://img.shields.io/npm/l/@lingui/babel-preset-react.svg
npm package: @lingui/cli
Description: CLI for working wit message catalogs
Author: Tomáš Ehrlich
Latest version: 5.9.5

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui/cli

> lingui command line library for manipulating message catalogues

`@lingui/cli` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

## Installation & Usage

See the [reference][reference] documentation.

## License

This package is licensed under [MIT][license] license.

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev
[reference]: https://lingui.dev/ref/cli
[package]: https://www.npmjs.com/package/@lingui/cli
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/cli.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/cli.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/cli.svg
npm package: @lingui/codemods
Description: @lingui codemod scripts
Latest version: 1.2.0

<div align="center">
<h1>Lingui<sub>js</sub> Codemods</h1>
<img src="https://github.com/lingui/codemods/workflows/Main%20CI/badge.svg" />
<a href="https://www.npmjs.com/package/@lingui/codemods/v/latest"><img src="https://img.shields.io/npm/v/@lingui/codemods/latest.svg" /></a>
<a href="https://github.com/semantic-release/semantic-release">
<img src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg" />
</a>

This repository contains a collection of codemod scripts for use with [JSCodeshift](https://github.com/facebook/jscodeshift) that help update Lingui APIs.

<hr />

</div>

### Usage

`npx @lingui/codemods <transform> <path> [...options]`

- `transform` - name of transform, see available transforms below.
- `path` - files or directory to transform
- use the `--dry` option for a dry-run
- use `--print` to print the output for comparison
- use `--remove-unused-imports` to remove unused imports once finished the codemod

This will start an interactive wizard, and then run the specified transform.

### Included Transforms

#### `v2-to-v3`

Converts some outdated standards from `lingui` version 2.x.x to new features and best practices introduced in `lingui` version 3.x.x

```sh
npx @lingui/codemods v2-to-v3 <path>
```

#### `split-macro-imports`

Converts `@lingui/macro` imports to `@lingui/core/macro` and `@lingui/react/macro`.

```sh
npx @lingui/codemods split-macro-imports <path>
```

Visit the [Migration guide from 4.x to 5.x](https://lingui.dev/introduction) for more information.

### jscodeshift options

To pass more options directly to jscodeshift, use `--jscodeshift="..."`. For example:

```sh
npx @lingui/codemods --jscodeshift="--run-in-band --verbose=2"
```

See all available options [here](https://github.com/facebook/jscodeshift#usage-cli).

### Recast Options

Options to [recast](https://github.com/benjamn/recast)'s printer can be provided
through jscodeshift's `printOptions` command line argument

```sh
npx @lingui/codemods <transform> <path> --jscodeshift="--printOptions='{\"quote\":\"double\"}'"
```

### Usage without params

A CLI is built-in to help you migrate your codebase, will ask you some questions:

```sh
➜  project git:(master) npx @lingui/codemods
? On which files or directory should the codemods be applied? for ex: ./src
? Which dialect of JavaScript do you use? for ex: JavaScript | Typescript | JavaScript with Flow
? Which transform would you like to apply? for ex: `v2-to-v3`
```

### License

@lingui/codemods is [MIT licensed](./LICENSE).
npm package: @lingui/conf
Description: Get lingui configuration from package.json
Author: Tomáš Ehrlich
Latest version: 5.9.5

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui/conf

> Get lingui configuration from package.json

**⚠️ Internal package: You probably don't need this.**

`@lingui/conf` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

Package finds nearest package.json starting from current directory, reads `lingui` configuration, provides defaults for all options and `<rootDir>` with current working directory.

## Usage

See the [reference][reference] documentation.

## License

This package is licensed under [MIT][license] license.

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev
[reference]: https://lingui.dev/ref/conf
[package]: https://www.npmjs.com/package/@lingui/conf
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/conf.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/conf.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/conf.svg
npm package: @lingui/core
Description: I18n tools for javascript
Author: Tomáš Ehrlich
Latest version: 5.9.5

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui/core

> Internationalization API for JavaScript apps

`@lingui/core` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

## Installation & Usage

See the [tutorial][tutorial] or [reference][reference] documentation.

## License

This package is licensed under [MIT][license] license.

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev
[tutorial]: https://lingui.dev/tutorials/javascript
[reference]: https://lingui.dev/ref/core
[package]: https://www.npmjs.com/package/@lingui/core
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/core.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/core.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/core.svg
npm package: @lingui/detect-locale
Description: @Lingui package to help you find the correct browser/server locale
Author: Sergio Moreno
Latest version: 5.9.5

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui/detect-locale

> Detect the user's locale based on different strategies

`@lingui/detect-locale` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

## Installation & Usage

See the [reference][reference] documentation.

## License

This package is licensed under [MIT][license] license.

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev
[reference]: https://lingui.dev/ref/locale-detector
[package]: https://www.npmjs.com/package/@lingui/detect-locale
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/detect-locale.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/detect-locale.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/detect-locale.svg
npm package: @lingui/extractor-vue
Description: Custom Vue.js extractor to be used with the CLI tool
Author: Christoffer Jahren
Latest version: 5.9.5

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui/extractor-vue

> This package contains a custom extractor that handles Vue.js files. It supports extracting messages from script and setup scripts as well as Vue templates.

`@lingui/extractor-vue` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

## Installation & Usage

See the [reference][reference] documentation.

## License

This package is licensed under [MIT][license] license.

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev/ref/extractor-vue
[reference]: https://lingui.dev/ref/extractor-vue
[package]: https://www.npmjs.com/package/@lingui/extractor-vue
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/extractor-vue.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/extractor-vue.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/extractor-vue.svg
npm package: @lingui/format-csv
Description: CSV format for Lingui Catalogs
Latest version: 5.9.5

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui/format-csv

> Read and write message catalogs in CSV 

`@lingui/format-csv` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

## Installation & Usage

See the [reference][reference] documentation.

## License

This package is licensed under [MIT][license] license.

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev
[reference]: https://lingui.dev/ref/catalog-formats#csv
[package]: https://www.npmjs.com/package/@lingui/format-csv
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/format-csv.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/format-csv.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/format-csv.svg
npm package: @lingui/format-json
Description: JSON format for Lingui Catalogs
Latest version: 5.9.5

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui/format-json

> Read and write message catalogs in JSON 

`@lingui/format-json` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

## Installation & Usage

See the [reference][reference] documentation.

## License

This package is licensed under [MIT][license] license.

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev
[reference]: https://lingui.dev/ref/catalog-formats#json
[package]: https://www.npmjs.com/package/@lingui/format-json
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/format-json.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/format-json.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/format-json.svg
npm package: @lingui/format-po
Description: Gettext PO format for Lingui Catalogs
Latest version: 5.9.5

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui/format-po

> Read and write message catalogs in Gettext PO format with ICU plurals

`@lingui/format-po` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

## Installation & Usage

See the [reference][reference] documentation.

## License

This package is licensed under [MIT][license] license.

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev
[reference]: https://lingui.dev/ref/catalog-formats#po
[package]: https://www.npmjs.com/package/@lingui/format-po
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/format-po.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/format-po.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/format-po.svg
npm package: @lingui/format-po-gettext
Description: Gettext PO format with gettext-style plurals for Lingui Catalogs
Latest version: 5.9.5

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui/format-po-gettext

> Read and write message catalogs in Gettext PO format with gettext-style plurals
>
> Converts ICU Plural expressions into native gettext plurals

`@lingui/format-po-gettext` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

## Installation & Usage

See the [reference][reference] documentation.

> **Warning**
> This formatter is made for compatibility with translation management systems, which do not support ICU expressions in PO files.
>
> It does not support all features of LinguiJS and should be carefully considered over other formats.

## License

This package is licensed under [MIT][license] license.

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev
[reference]: https://lingui.dev/ref/catalog-formats#po-gettext
[package]: https://www.npmjs.com/package/@lingui/format-po-gettext
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/format-po-gettext.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/format-po-gettext.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/format-po-gettext.svg
npm package: @lingui/loader
Description: webpack loader for lingui message catalogs
Author: Tomáš Ehrlich
Latest version: 5.9.5

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui/loader

> webpack loader for compiling message catalog on the fly

`@lingui/loader` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

## Installation & Usage

See the [reference][reference] documentation.

## License

This package is licensed under [MIT][license] license.

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev
[reference]: https://lingui.dev/ref/loader
[package]: https://www.npmjs.com/package/@lingui/loader
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/loader.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/loader.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/loader.svg
npm package: @lingui/macro
Description: Macro for generating messages in ICU MessageFormat syntax
Author: Tomáš Ehrlich
Latest version: 5.9.5

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]
[![Babel Macro][badge-macro]][linguijs]

# @lingui/macro

> [Babel Macros](https://github.com/kentcdodds/babel-plugin-macros) which transforms tagged template literals and JSX components to ICU MessageFormat.

`@lingui/macro` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

## Installation & Usage

See the [reference][reference] documentation.

## License

[MIT][license]

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev
[reference]: https://lingui.dev/ref/macro/
[package]: https://www.npmjs.com/package/@lingui/macro
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/macro.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/macro.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/macro.svg
[badge-macro]: https://img.shields.io/badge/babel--macro-%F0%9F%8E%A3-f5da55.svg
npm package: @lingui/message-utils
Description: [![License][badge-license]][license] [![Version][badge-version]][package] [![Downloads][badge-downloads]][package]
Latest version: 5.9.5

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui/message-utils

> Internal package. You probably don't need to use it directly.

`@lingui/message-utils` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

## License

[MIT][license]

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev
[package]: https://www.npmjs.com/package/@lingui/message-utils
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/message-utils.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/message-utils.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/message-utils.svg
npm package: @lingui/metro-transformer
Description: Metro bundler transformer for LinguiJS catalogs
Author: Vojtech Novak
Latest version: 5.9.5

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui/metro-transformer

> Metro bundler transformer for LinguiJS catalogs

`@lingui/metro-transformer` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

## Installation & Usage

See the [reference][reference] documentation.

## License

This package is licensed under [MIT][license] license.

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev
[reference]: https://lingui.dev/ref/metro-transformer
[package]: https://www.npmjs.com/package/@lingui/metro-transformer
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/metro-transformer.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/metro-transformer.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/metro-transformer.svg
npm package: @lingui/react
Description: React components for translations
Author: Tomáš Ehrlich
Latest version: 5.9.5

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui/react

> React components for internationalization

`@lingui/react` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

## Installation & Usage

See the [tutorial][tutorial] or [reference][reference] documentation.

## License

[MIT][license]

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev
[tutorial]: https://lingui.dev/tutorials/react
[reference]: https://lingui.dev/ref/react
[package]: https://www.npmjs.com/package/@lingui/react
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/react.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/react.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/react.svg
npm package: @lingui/remote-loader
Description: Load remotely your translations
Author: Sergio Moreno
Latest version: 3.11.0

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui/remote-loader

Load your `.json` catalogs remotely.

> This tool is useful when you have plain .json files which are messages/catalogs, but Lingui needs them compiled, this tool under the hood will compile them to Lingui standards.

# Usage

```ts
import { i18n } from "@lingui/core"
import { remoteLoader } from "@lingui/remote-loader"

export async function remoteActive(locale: string) {
  const remoteMessages = await fetch(`https://some-api/${locale}/messages`)
  const compiledMessages = remoteLoader({ messages: remoteMessages })
  i18n.load(locale, compiledMessages)
  i18n.activate(locale)
}
```

### With fallback messages
```ts
import { i18n } from "@lingui/core"
import { remoteLoader } from "@lingui/remote-loader"
import { messages: fallbackMessages } from "./local-messages-to-fallbac/"

export async function remoteActive(locale: string) {
  const remoteMessages = await fetch(`https://some-api/${locale}/messages`)
  const compiledMessages = remoteLoader({ messages: remoteMessages, fallbackMessages })
  i18n.load(locale, compiledMessages)
  i18n.activate(locale)
}
```
npm package: @lingui/snowpack-plugin
Description: Snowpack plugin for Lingui message catalogs
Latest version: 3.11.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui/snowpack-plugin

> Snowpack plugin which compiles on the fly the .po files for auto-refreshing. In summary, `lingui compile` command isn't required when using this plugin

`@lingui/snowpack-plugin` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

## Installation

```sh
npm install --save-dev @lingui/snowpack-plugin
# yarn add --dev @lingui/snowpack-plugin
```

## Usage

### Via `snowpack.config.js` (Recommended)

**snowpack.config.js**

```js
module.exports = {
  plugins: [
    '@lingui/snowpack-plugin',
  ],
}
```

## License

[MIT][license]

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.js.org/
[package]: https://www.npmjs.com/package/@lingui/snowpack-plugin
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/snowpack-plugin.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/snowpack-plugin.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/snowpack-plugin.svg
npm package: @lingui/vite-plugin
Description: Vite plugin for Lingui message catalogs
Latest version: 5.9.5

[![License][badge-license]][license]
[![Version][badge-version]][package]
[![Downloads][badge-downloads]][package]

# @lingui/vite-plugin

> Vite plugin that compiles Lingui catalogs on the fly. In summary, the `lingui compile` command isn't needed when using this plugin.

`@lingui/vite-plugin` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.

## Installation & Usage

See the [reference][reference] documentation.

## License

[MIT][license]

[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
[linguijs]: https://github.com/lingui/js-lingui
[documentation]: https://lingui.dev/
[reference]: https://lingui.dev/ref/vite-plugin
[package]: https://www.npmjs.com/package/@lingui/vite-plugin
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/vite-plugin.svg
[badge-version]: https://img.shields.io/npm/v/@lingui/vite-plugin.svg
[badge-license]: https://img.shields.io/npm/l/@lingui/vite-plugin.svg
npm package: @linguijs/i18n
Description: Laravel localization for your JavaScript apps.
Latest version: 0.1.0

# Lingui.js i18n
Laravel localization for your JavaScript apps.

This is the main package for Lingui.js. You can use it to translate your Laravel localization on your JavaScript apps.

## Install
```bash
npm i @linguijs/i18n
```

## Basic usage
```ts
import i18n, { __ } from '@linguijs/i18n';

i18n.init({
  locale: 'en', // if not defined we'll try to detect it internally.
  resources: {
    en: {
      messages: {
        welcome: 'Welcome to our application!',
      }
    }
  }
});
// initialized and ready to go!
// i18n is already initialized, because the translation resources where passed via init function
document.getElementById('output').innerHTML = i18n.trans('messages.welcome');
// or you can use the alias
document.getElementById('output').innerHTML = __('messages.welcome');

```

### Generating translations
Please visit the [lingui-laravel](https://github.com/linguijs/lingui-laravel) repo for more informations.

## Documentation
You can follow the same approach as [Laravel Localization](https://laravel.com/docs/12.x/localization) but for JavaScript.
npm package: @linguijs/vite-plugin
Description: Vite plugin for [Lingui Laravel](https://github.com/linguijs/lingui-laravel).
Latest version: 0.1.1

# Lingui Vite Plugin

Vite plugin for [Lingui Laravel](https://github.com/linguijs/lingui-laravel).

```ts
import { lingui } from '@linguijs/vite-plugin-lingui';

export default defineConfig({
  plugins: [
    lingui(),
    // ...
  ],
});
```

All options have sensible defaults, but should you need to customize anything:

```ts
import { lingui } from '@linguijs/vite-plugin-lingui';

export default defineConfig({
  plugins: [
    lingui({
      locales: ['en', 'pt'],
      langPath: 'lang',
      outPath: 'my/custom/path/to/output/lang/files',
      command: 'herd php artisan lingui:make-json',
    }),
    // ...
  ],
});
```

## License

The Lingui Vite Plugin is open-sourced software licensed under the [MIT license](LICENSE.md).
npm package: @linguistica-international/ui-kit
Description: A reusable React UI Kit with TailwindCSS components for modern applications.
Author: Abdul Raheem
Latest version: 1.0.1

# React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

```js
export default tseslint.config([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      ...tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      ...tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      ...tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])
```

You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:

```js
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default tseslint.config([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])
```