mirror of
https://github.com/zuiidea/antd-admin
synced 2026-11-02 07:53:59 +00:00
Document API_PREFIX, folder structure, templates, and E2E script usage in en/zh. Co-authored-by: Cursor <cursoragent@cursor.com>
29 lines
854 B
Plaintext
29 lines
854 B
Plaintext
---
|
|
title: with-lingui
|
|
description: Admin template with Lingui internationalization
|
|
---
|
|
|
|
# with-lingui
|
|
|
|
`apps/with-lingui` adds multilingual capabilities based on Lingui while keeping the same admin architecture.
|
|
|
|
## Good Fit
|
|
|
|
- Products serving multiple regions/languages
|
|
- Teams that want standardized translation workflow
|
|
- Projects requiring language switch in UI
|
|
|
|
## Highlights
|
|
|
|
- Same **`src/api/`** layout as **basic** (shared transport, `API_PREFIX`, `auth/` / `users/` modules)
|
|
- Lingui message extraction and compilation flow (`i18n:extract`, `i18n:compile`, `i18n:check`)
|
|
- Built-in **en** / **zh** switching with Ant Design locale wiring
|
|
|
|
Full tree and scripts: [apps/with-lingui/README.md](https://github.com/zuiidea/antd-admin/blob/master/apps/with-lingui/README.md).
|
|
|
|
## Start Development
|
|
|
|
```bash
|
|
pnpm --filter ./apps/with-lingui dev
|
|
```
|