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

Translator json configuration #2543

Closed
phlptp opened this issue May 9, 2023 · 4 comments
Closed

Translator json configuration #2543

phlptp opened this issue May 9, 2023 · 4 comments

Comments

@phlptp
Copy link
Member

phlptp commented May 9, 2023

make sure the translator configuration is supported through JSON

  "translators": [
     {
       "name": "test translator",
       "source_target": name or key, (string)
       "destination_target: name or key, (string)
       "type": "JSON"
     }
  ]

@trevorhardy
Copy link
Contributor

Probably need to add the "global": true/false flag to the above.

@trevorhardy
Copy link
Contributor

And since we have the API, translators support the "info" field as well.

@trevorhardy
Copy link
Contributor

And the source_target and destination_target can be lists, right?

@phlptp
Copy link
Member Author

phlptp commented Jan 24, 2024

closed in #2560

@phlptp phlptp closed this as completed Jan 24, 2024
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