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

Is there a way to set the translation module when using the package like with the CLI #58

Open
andyjamesn opened this issue Jun 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@andyjamesn
Copy link

When using the cli you can use -m to set the translation module.

But when using the package eg:

let es_lang = await translator.translateObject(
  en_lang,
  translator.languages.English,
  translator.languages.Spanish
);

How do you set the translation module?

@ParvinEyvazov
Copy link
Member

@andyjamesn Currently it is not available. Planning to add it soon!

@ParvinEyvazov ParvinEyvazov added the enhancement New feature or request label Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants