13 lines
461 B
Plaintext
13 lines
461 B
Plaintext
---
|
|
description: Details Paraglide.js i18n implementations.
|
|
globs: **/*.svelte
|
|
---
|
|
- Use Paraglide.js for internationalization: https://inlang.com/m/gerre34r/library-inlang-paraglideJs
|
|
- Install Paraglide.js: `npm install @inlang/paraglide-js`
|
|
- Set up language files in the `languages` directory.
|
|
- Use the `t` function to translate strings:
|
|
svelte
|
|
<br />
|
|
import { t } from '@inlang/paraglide-js';
|
|
<br />
|
|
- Support multiple languages and RTL layouts. |