17.0.0 • Published 6 months ago

angular-t9n v17.0.0

Weekly downloads
62
License
Apache-2.0
Repository
github
Last release
6 months ago

angular-t9n

This project is a tool to manage .xlf translation files. It is implemented as an Angular builder and can be added to a project via schematics.

angular-t9n allows adding translation targets, editing translations, exporting to Excel, importing from Excel and migrating orphaned translations.

The focus of this project is on Angular specific XLIFF files with UTF-8 encoding.

Installation

ng add angular-t9n

This will add a t9n section to the architect section of your angular.json.

Configuration

The following properties can be configured in the t9n section in the angular.json file.

PropertyDescription
translationFileThe file path to the source translation file.Default: message.xlf
targetTranslationPathThe path to the target translation files.Default: src/locales
includeContextInTargetWhether to include the context information(like notes) in the target files. This isuseful for sending the target translationfiles to translation agencies/services.Default: false
portThe port on which to host the translation app.Default: 4300

Usage

Run ng run {projectName}:t9n, where {projectName} is the name of the project in the angular.json file, to start the translation app and open your browser at http://localhost:4300/.

Standalone Usage

This library can also be used without an angular.json. Install the package globally via npm install angular-t9n --global or yarn global add angular-t9n.

Create a config file with ng-t9n init [name-of-config] and start a translation server with ng-t9n path/to/config/file.json.

17.0.0-next.0

6 months ago

17.0.0

6 months ago

15.0.2

1 year ago

16.0.0

1 year ago

15.0.0

1 year ago

15.0.1

1 year ago

14.0.0

2 years ago

13.0.0

2 years ago

12.0.0

3 years ago

11.1.3

3 years ago

11.1.1

3 years ago

11.1.2

3 years ago

11.1.0

3 years ago

11.0.0

3 years ago

10.1.0

4 years ago

10.0.0

4 years ago

0.3.5

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago