I see that the documentation on 'Setting up your development environment for the Moodle App' has been updated. I need the previous version of that documentation. Kindly provide the URL of that.
Thanks in advance.
Hi there,
As Isabel mentioned, you can see the previous versions of the document looking at the history. But I'm curious, what did you need to see that wasn't in the new version? If we removed something that was important, let us know, we can add it again.
Thanks for the feedback, I'll look into the language packs issue and get back to you.
About the nvm
version, it is mentioned twice in the new document: in Requirements and in Troubleshooting. If you mean that the exact version is not mentioned, that's a conscious decision. Given that the version can change in the future, it is better not to mention it explicitly so that the document stays up to date. You should be able to configure the correct version by running nvm install
, or looking at engines
within package.json
if you're not using nvm
.
Hi again,
I just tried on a new clone and everything seems to work correctly following the instructions.
Maybe your issue was that by default English is the only language available in the app? If that's what your problem, I don't think that's an issue for development. We (MoodleHQ developers) always develop with the app in English, and unless we have to look into something specific regarding translations, that's ok. It would also be a waste to download all the translations automatically for everyone, when most developers will not use them.
What problems did it cause you?
Sorry for the confusion, I've looked at the repo and you're right that this has changed. I didn't notice because I always develop in English, but it's true that the previous version of the app included the languages out of the box.
At the moment, you should be able to get the language packs running the scripts/update_lang.sh
script, but I have tried and it doesn't work in my machine because it requires having php installed (I don't have it because I run Moodle using Docker). So I have opened an issue to look into that, you can watch it if you want to be notified when it's ready: MOBILE-3864.
Thanks for your help!
Thanks for the good vibes I'm glad that you like it.
About the translations, it seems like there aren't enough translations in Albanian at this point. There are currently 1930 out of 2250 translated, and we need at least 50%. You can read more about that in the Moodle App Translation page.
This is a github error telling you that you don't have ssh keys configured properly, you can read about it in Github's documentation. It has nothing to do with the Moodle App, because the repository is public so you don't need any special permissions to clone it.
About the error in the other post, it seems to have something to do with one of the plugins. We recently improved the way we declare plugin dependencies, so I'd suggest that you update the code to the latest version and try again.
In the new version of the documentation, we also added a new General advice section. It should fix most common problems such as the ones you're having, or at least help you find where's the problem.