Skip to content

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

@andyjamesn

Description

@andyjamesn

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions