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

Error: unrecognized arguments: --optimize #73

Open
Pavi92 opened this issue Nov 27, 2024 · 5 comments
Open

Error: unrecognized arguments: --optimize #73

Pavi92 opened this issue Nov 27, 2024 · 5 comments

Comments

@Pavi92
Copy link

Pavi92 commented Nov 27, 2024

I try to compile with the --optimize flag, but I get the the error from the title.

If I run lv_i18n compile -h I get the following output:

usage: lv_i18n compile [-h] -t <path> [-o <path>] [--raw <path>] [-l <locale>]

Generate compiled translations

optional arguments:
  -h, --help    show this help message and exit
  -t <path>     translation file(s) path (glob patterns allowed)
  -o <path>     output folder path
  --raw <path>  raw output file path
  -l <locale>   base locale (default: en/en-GB/en-US)

So it seems there is no --optimize flag ?

PS: I created a docker image for this tool:

FROM node:22.11-bookworm

RUN npm i lv_i18n -g

ENTRYPOINT ["lv_i18n"]
@bryghtlabs-richard
Copy link
Contributor

bryghtlabs-richard commented Dec 4, 2024

Perhaps you're running a version before --optimize was added? It's fairly new.

@Pavi92
Copy link
Author

Pavi92 commented Dec 4, 2024

So the npm package has not been updated ?

@kisvegabor
Copy link
Member

We can have a new release, if you agree!

@Pavi92
Copy link
Author

Pavi92 commented Jan 31, 2025

@kisvegabor Any updates on the new release ?

@kisvegabor
Copy link
Member

At least these to issues/PRs yshould be handled before a release.
#68
#75

I'm not a JS developer so can't do much here. Any help is highly appreciated. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants