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/lang_utils #85

Merged
merged 1 commit into from
Dec 7, 2023
Merged

feat/lang_utils #85

merged 1 commit into from
Dec 7, 2023

Conversation

JarbasAl
Copy link
Member

@JarbasAl JarbasAl commented Dec 7, 2023

helper utils to get valid languages based on mycroft.conf

unified in a single util since it's starting to get used in a few different places

also adds helper to turn a 2-letter lang code into a full 4-letter BCP lang code, taking into account dialect preferences from mycroft.conf

helper utils to get valid languages based on mycroft.conf

unified in a single util since it's starting to get used in a few different places

also adds helper to turn a 2-letter lang code into a full 4-letter BCP lang code, taking into account dialect preferences from mycroft.conf
Copy link

codecov bot commented Dec 7, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (dev@daa93f2). Click here to learn what that means.

Additional details and impacted files
@@          Coverage Diff          @@
##             dev     #85   +/-   ##
=====================================
  Coverage       ?   0.00%           
=====================================
  Files          ?      10           
  Lines          ?     822           
  Branches       ?       0           
=====================================
  Hits           ?       0           
  Misses         ?     822           
  Partials       ?       0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

JarbasAl added a commit to OpenVoiceOS/ovos-core that referenced this pull request Dec 7, 2023
@JarbasAl JarbasAl merged commit 1a1d209 into dev Dec 7, 2023
6 of 7 checks passed
@JarbasAl JarbasAl deleted the feat/lang_utils branch December 7, 2023 19:52
JarbasAl added a commit to OpenVoiceOS/ovos-core that referenced this pull request Dec 15, 2023
* fix/2-letter-langcode-handling

companion to OpenVoiceOS/ovos-config#85

fixes #380

* Update requirements.txt
@github-actions github-actions bot mentioned this pull request Dec 28, 2023
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

Successfully merging this pull request may close these issues.

1 participant