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

[Feature] Allow language selection at installation #67

Closed
dan0v opened this issue Apr 30, 2019 · 2 comments
Closed

[Feature] Allow language selection at installation #67

dan0v opened this issue Apr 30, 2019 · 2 comments
Milestone

Comments

@dan0v
Copy link

dan0v commented Apr 30, 2019

Is your feature request related to a problem? Please describe.
Installation in any form takes a long time on weak hardware like a Raspberry Pi. Specifically, installing using the arm32v7 docker file took over an hour on my Pi 3b+ running Nextcloud. Of this total installation time, building languages took around 16 -18 minutes per language, followed by another approximately 4 minutes initializing each language.

Describe the solution you'd like
Seeing as users will likely use only one or two languages, allow users to select languages to install (or provide different installation scripts for each language) when installing.

@bpatrik
Copy link
Owner

bpatrik commented May 1, 2019

Hi,

I'll look into it. (sorry, but cannot promise any deadline. Probably it will take up months. Super busy lately. :/)
In the meantime you can:

  • If you delete files from the translate folder the app wont translate to that language. (Dont delete the english one, it might give an error)
  • you can download a precompiled release and install that one.

In both cases you will need to download the source manually and COPY it to the container and not using the git clone in the Docker file.

@bpatrik bpatrik added this to the v1.8 milestone Dec 7, 2019
@bpatrik
Copy link
Owner

bpatrik commented Dec 7, 2019

The latest commit should add this feature.
Usage:
npm run create-release -- --languages=fr,ro to build & zip the release from source (potentially on a strong computer and then transfer release to the server)
npm run build-prod-- --languages=fr,ro to build it from source

@bpatrik bpatrik closed this as completed Dec 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants