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

External locale files #353

Open
aaronchantrill opened this issue Sep 18, 2021 · 0 comments
Open

External locale files #353

aaronchantrill opened this issue Sep 18, 2021 · 0 comments
Labels
Hacktoberfest Small or non-core issues that could be worked on by Hacktoberfest participants Status: Available Type: Enhancement

Comments

@aaronchantrill
Copy link
Contributor

Detailed Description

Right now, the only way to provide a new locale for an intent is to edit the plugin directly. I would like it to be possible for someone to provide a new locale for an existing plugin without having to edit the plugin, then make it available on NPE for other users to download. This should be straightforward enough that someone who is bilingual would be able to create a new translation for both the intent templates (input) and the gettext (output) portions of a plugin without touching or knowing anything about the python code.

Context

As a plugin author, I would like to develop plugins in my native language and not worry about other locale's. I would like other people to be able to contribute translations for my plugins in their own native languages, and then make those available via NPE. Ideally, NPE would list the available languages before you install a plugin and download the proper locale automatically based on the language setting in my profile.yml.

Possible Implementation

For a possible implementation, view skills built for Mycroft . These have a locale directory, containing separate directories for specific locales, containing keywords, input templates and output phrases. I'd like to see NPE automatically associate locale files with plugins. I'd like to see some kind of version or release matching. I'm not sure how to keep up with changes the author might make to the plugin templates. A combination of allowing an old version of a locale to be used with newer versions of the plugin until the locale is updated, along with automatic notifications to anyone who has contributed a locale for a particular plugin would probably be okay. There may also be ways in which we could flag a change to a plugin that requires a locale author to update their work.

@aaronchantrill aaronchantrill added Hacktoberfest Small or non-core issues that could be worked on by Hacktoberfest participants Status: Available Type: Enhancement labels Sep 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest Small or non-core issues that could be worked on by Hacktoberfest participants Status: Available Type: Enhancement
Projects
None yet
Development

No branches or pull requests

1 participant