Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing ng xi18n parameters --locale and --outFile #5145

Closed
ocombe opened this issue Mar 1, 2017 · 1 comment · Fixed by #5154
Closed

Missing ng xi18n parameters --locale and --outFile #5145

ocombe opened this issue Mar 1, 2017 · 1 comment · Fixed by #5154
Assignees

Comments

@ocombe
Copy link
Contributor

ocombe commented Mar 1, 2017

Versions.

@angular/cli: 1.0.0-rc.0
node: 6.9.5
os: win32 x64
@angular/animations: 4.0.0-rc.1
@angular/cli: 1.0.0-rc.0
@angular/common: 4.0.0-rc.1
@angular/compiler: 4.0.0-rc.1
@angular/compiler-cli: 4.0.0-rc.1
@angular/core: 4.0.0-rc.1
@angular/forms: 4.0.0-rc.1
@angular/http: 4.0.0-rc.1
@angular/material: 2.0.0-beta.2
@angular/platform-browser: 4.0.0-rc.1
@angular/platform-browser-dynamic: 4.0.0-rc.1
@angular/platform-server: 4.0.0-rc.1
@angular/router: 4.0.0-rc.1

Repro steps.

We added 2 new parameters to ng-xi18n in angular 4.0.0-rc.1:

Those parameters are currently missing in the cli with the command ng xi18n. You can see that when using the following command:

ng xi18n --i18nFormat xlf --outputPath src/i18n --locale fr --outFile messages.fr.xlf

The log given by the failure.

The option '--locale' is not registered with the xi18n command. Run `ng xi18n --help` for a list of supported options.
The option '--outFile' is not registered with the xi18n command. Run `ng xi18n --help` for a list of supported options.

Mention any other details that might be useful.

/!\ Those parameters are only for v4, they have not been backported to v2

@ocombe ocombe changed the title Missing ng xi18n parameters Missing ng xi18n parameters --locale and --outFile Mar 1, 2017
@ocombe ocombe self-assigned this Mar 1, 2017
ocombe added a commit to ocombe/angular-cli that referenced this issue Mar 1, 2017
ocombe added a commit to ocombe/angular-cli that referenced this issue Mar 1, 2017
ocombe added a commit to ocombe/angular-cli that referenced this issue Mar 1, 2017
ocombe added a commit to ocombe/angular-cli that referenced this issue Mar 1, 2017
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant