Skip to content

Feature Request: Make ng-xi18n extraction tool accessible outside of CLI #9282

@gregbown

Description

@gregbown

Angular Documentation used to illustrate using the i18n extraction tool outside of the CLI
Below would have been a script inside package.json

./node_modules/.bin/ng-xi18n --i18nFormat=xlf2 --outFile=src/i18n/messages.xlf

The tool would extract all of the i18n attribute markup text consuming any ID's within the attribute and write out the .xlif file. Running the script now fails silently.

The only method now described in the documentation. is via the CLI inside of a CLI build process.

Is there a way to access the extraction tool in an ejected Webpack build similar to how it was documented before?
Are there plans to enable using the extraction tool outside of the CLI as before?

Not sure if this is related to this post

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions