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

--lang fr is not accepted while warning message says it is #2852

Closed
ContrapunctusII opened this issue Feb 13, 2025 · 1 comment
Closed

--lang fr is not accepted while warning message says it is #2852

ContrapunctusII opened this issue Feb 13, 2025 · 1 comment

Comments

@ContrapunctusII
Copy link

ContrapunctusII commented Feb 13, 2025

Search terms

If one tries to run the following command to generate documentation in French:

typedoc --out docs --entryPoints lib/index.ts --lang fr

He will get this warning message:

[info] The languages that translations are available for are:
        en
        fr
        ja
        ko
        zh

And the documentation won't be translated.

All the other languages work as expected.

Expected Behavior

According to the message, fr should be a correct value for the lang option.

Environment

  • Typedoc version: 0.27.7
  • TypeScript version: 5.6.2
  • Node.js version: v22.13.1
  • OS: Windows 11
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Feb 14, 2025

fr shouldn't be included in that list as it has no translations, TypeDoc was incorrectly including the selected language in the list

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

2 participants