mirror of
https://github.com/nextcloud/translate.git
synced 2025-10-26 18:08:03 +01:00
No description
| .github/workflows | ||
| appinfo | ||
| bin | ||
| img | ||
| lib | ||
| LICENSES | ||
| models | ||
| screenshots | ||
| src | ||
| templates | ||
| test | ||
| .eslintrc.js | ||
| .gitignore | ||
| .php-cs-fixer.dist.php | ||
| babel.config.js | ||
| CHANGELOG.md | ||
| composer.json | ||
| composer.lock | ||
| Makefile | ||
| package-lock.json | ||
| package.json | ||
| psalm-baseline.xml | ||
| psalm.xml | ||
| README.md | ||
| REUSE.toml | ||
| stylelint.config.js | ||
| webpack.js | ||
Translate
A Machine translation provider using Opus models by University of Helsinki running locally on CPU.
The models run completely on your machine. No private data leaves your servers.
This app is deprecated
in favor of translate2
Nextcloud All-in-One:
With Nextcloud AIO, this app is not going to work because AIO uses musl. However you can use this community container as replacement for this app.
Ethical AI Rating
Rating: 🟢
Positive:
- the software for training and inference of this model is open source
- the trained model is freely available, and thus can be run on-premises
- the training data is freely available, making it possible to check or correct for bias or optimise the performance and CO2 usage.
Learn more about the Nextcloud Ethical AI Rating in our blog.
Install
- Place this app in nextcloud/apps/
or
- Install from the Nextcloud appstore
After installing this app you will need to run:
$ php occ translate:download-models
Downloading only specific languages
$ php occ translate:download-models <languages>
For example
$ php occ translate:download-models de en
will download both en->de and de->en.
$ php occ translate:download-models de en es
will download en->de, de->en, en->es, es->en, es->de, de->es
Building the app
The app can be built by using the provided Makefile by running:
make
This requires the following things to be present:
- make
- which
- tar: for building the archive
- curl: used if phpunit and composer are not installed to fetch them from the web
- npm: for building and testing everything JS, only required if a package.json is placed inside the js/ folder
