Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Angular Project Integration Example

This directory shows how to integrate LocaleSync into a typical Angular project.

Files

  • package.json — Example Angular package.json with LocaleSync npm scripts
  • .github/workflows/translations.yml — Example CI workflow for translation checks
  • src/assets/i18n/ — Example locale file structure

How This Works

  1. LocaleSync is installed separately via pipx or pip (not from npm).
  2. package.json scripts invoke locale-sync as an external CLI command.
  3. CI workflow uses setup-python + pip install to make locale-sync available.

Try It

# From the LocaleSync repository root, you can simulate the Angular workflow:
locale-sync scan examples/angular-project/src/assets/i18n
locale-sync check examples/angular-project/src/assets/i18n --source en.json
locale-sync sync examples/angular-project/src/assets/i18n --source en.json --dry-run