https://github.com/locize/transloco-example
https://github.com/locize/transloco-example
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/locize/transloco-example
- Owner: locize
- License: mit
- Created: 2021-08-26T13:20:28.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-26T13:20:48.000Z (almost 5 years ago)
- Last Synced: 2025-10-01T00:31:42.939Z (8 months ago)
- Language: HTML
- Size: 132 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ngx-translate example with [locize](https://locize.com) integration
Uses [Transloco](https://ngneat.github.io/transloco).
The most important part regarding [locize](https://locize.com) is [here](https://github.com/locize/transloco-example/blob/main/src/app/app.module.ts).
This example is also using [locizer](https://github.com/locize/locizer) to optionally send the missing keys to [locize](https://locize.com), so they can directly be translated... analogous to [this example](https://dev.to/adrai/unleash-the-full-power-of-angular-i18next-4b7o#save-missing).
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).