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

feat: @capacitor-mlkit/translation should also have short language code as well. #172

Closed
3 of 7 tasks
Saqib92 opened this issue Aug 1, 2024 · 1 comment
Closed
3 of 7 tasks
Labels
feature Feature package: translation wontfix This will not be worked on

Comments

@Saqib92
Copy link

Saqib92 commented Aug 1, 2024

Plugin(s)

  • Barcode Scanning
  • Face Detection
  • Face Mesh Detection
  • Selfie Segmentation
  • Translation

Current problem

when getting language

let langList = Object.entries(Language).map(([name, code]) => {
   return { name, code }; // English and en
});

My use case is with capacitor-community/text-to-speech whre speak method expect full code en-US.

Preferred solution

Languages should have both short and full code.

Alternative options

No response

Additional context

Translating text adn then using Text to Speech .

Before submitting

@robingenz
Copy link
Member

Thank you for your request. Unfortunately, we are not planning to implement this feature. Therefore, I am closing this issue as not planned.

@robingenz robingenz closed this as not planned Won't fix, can't repro, duplicate, stale Aug 1, 2024
@robingenz robingenz added package: translation wontfix This will not be worked on and removed needs: triage labels Aug 1, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Feature package: translation wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants