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
README: Add new language development instruction #101
Comments
|
First of all, thank you and WELCOME! This repo can use all the love it can get from folks who are willing to help localize its modules. I'm currently working on a refactor that will make it much, much easier to add new languages and localize existing functions. This is a WIP, but, if other collaborators agree to it, it should hopefully be merged within the next little while. In the meantime - and this is the impetus for the refactor - you've got to do the following:
I can't promise what I'm doing will be merged. It's a big change. However, if the thing is merged, all you'll have to do is name your files and function signatures correctly. So, if you want to start now and wait a little while to see if the structure gets simplified, you can work on your functions in isolation and call them directly. There's a languages channel at Mycroft chat here if you want some guidance as you go. Most of the people who contribute to this repo hang out in that channel. Lastly, everything I ever say can be overruled by a person with 'Mycroft' in their handle ;) |
|
Hey Tony, Wanted to add that Lingua Franca is installed by default when you install Mycroft-core but for development you generally have this repo cloned elsewhere on your computer. You can use your changes in Mycroft by installing it in the Mycroft virtual environment. If you added the Mycroft helper commands during setup you can just use: Otherwise you need to: |
|
@ChanceNCounter : Which pytest plugin you are using? |
|
The third one. It gets its own tab in the editor. |
|
Step two is translate all basic skills downloaded to /opt/mycroft/skill aka mycroft-skills? Or there is something else? |
|
Lingua Franca is actually one of ~5 pieces needed to use Mycroft properly in another language. You can read more about all of those here: The Skills translations are all managed at https://translate.mycroft.ai/ which are then pushed back to each Skills repository. However you can also edit anything locally on your machine at the directory you mentioned, though it's important to note that if you edit a Skill locally it will stop receiving updates as any remote update would overwrite the changes you've made locally. |
|
this has been fixed in latest release thank you once again @ChanceNCounter |

Hello, could somebody add list of necessary steps needed to begin with development of new language?
I did like to start with Czech language translation, but I miss steps for setting testing environment.
Something like:
python3 setup.py installThe text was updated successfully, but these errors were encountered: