1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00
Weblate package for YunoHost
Find a file
2020-07-15 18:51:36 +02:00
conf celery service set the permission on the socket 2020-05-04 00:34:25 +02:00
scripts Force usage of Django version lower than 3 2020-05-03 01:44:16 +02:00
.gitignore Initial commit 2017-09-13 12:17:55 +02:00
check_process remove useless content 2020-05-01 22:59:23 +02:00
LICENSE switch from GPL3 to AGPL3 2017-09-13 17:19:18 +02:00
manifest.json Update manifest.json 2020-07-15 18:51:36 +02:00
README.md Update README.md 2020-06-28 23:01:11 +02:00

Weblate for YunoHost

Integration level
Install Weblate with YunoHost

This package allows you to install Weblate quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

Weblate is a libre web-based translation tool with tight version control integration. It provides two user interfaces, propagation of translations across components, quality checks and automatic linking to source files.

Shipped version: 3.8.0

Screenshots

Demo

Admin account

An admin user is created at installation, the login is what you provided at installation, the password is weblate.

Github

You'll need to give Weblate a Github user and a token. Please read Github's documentation about token. This user will only be used to open the pull-request, each translation keep his author.

Careful, You will have to manually move your hub binary file from /var/www/$app/bin/ to /usr/bin to enable pull request on Github.

SSH keys, you will have to go in administration, and generate a public key for weblate and add github.com so Weblate knows the fingerprint. Please note if your account already have a public key (ssh-rsa), you will have to manually add the Weblate's one to your Github account.

Settings and upgrades

Almost everything related to Weblate's configuration is handled in a settings.py file. You will probably edit it to enable or disable diverse features, it is stored in $final_path/venv/lib/python2.7/site-packages/weblate/settings.py.

Unfortunatly, this settings file also gets upgrades for each release.

This package will :

  • generate a default settings file for your current installation,
  • send you a diff with your actual settings (the content will be sent to root, and only basic information for weblate's admin),
  • generate a default settings file the new weblate's version, that will replace your actual settings.py.

You'll have to manually add your previous changes to this new settings.py.

Miscellaneous

Weblate and databases

Weblate recommands PostgreSQL, but YunoHost uses Mysql.

Carefull, this application install PostgreSQL and change the default configuration to ask for every connexion and every user a password (local all all password).

LDAP connexion

It doesn't work yet, but while it looks doable, I'm unsure it is a good idea to connect this kind of tools to your LDAP.

Supported architectures

  • x86-64 - Build Status
  • ARMv8-A - Build Status

Limitations

  • Any known limitations.

Additional information

  • Other info you would like to add about this app.

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that.

sudo yunohost app install https://github.com/YunoHost-Apps/weblate_ynh/tree/testing --debug
or
sudo yunohost app upgrade weblate -u https://github.com/YunoHost-Apps/weblate_ynh/tree/testing --debug