Configuration
Configure LangSync via langsync.config.ts.
LangSync is configured through a langsync.config.ts file at the root of your project.
Example
Options
| Option | Type | Required | Description |
|---|---|---|---|
input | string | yes | Path to the source i18n directory. |
output | string | yes | Path to the output/translations directory. |
locales | string[] | yes | List of supported locales. |
defaultLocale | string | no | Reference locale used for validation. |
framework | string | no | One of i18next, ngx-translate, react-intl. |
excel.file | string | no | Excel filename (default: translations.xlsx). |
excel.sheetName | string | no | Worksheet name (default: Translations). |