https://github.com/WeblateOrg/website
Weblate website
https://github.com/WeblateOrg/website
django i18n weblate
Last synced: 11 months ago
JSON representation
Weblate website
- Host: GitHub
- URL: https://github.com/WeblateOrg/website
- Owner: WeblateOrg
- License: gpl-3.0
- Created: 2012-03-05T13:49:14.000Z (over 14 years ago)
- Default Branch: main
- Last Pushed: 2024-12-04T14:54:08.000Z (over 1 year ago)
- Last Synced: 2024-12-04T15:20:46.115Z (over 1 year ago)
- Topics: django, i18n, weblate
- Language: Python
- Homepage: https://weblate.org/
- Size: 233 MB
- Stars: 40
- Watchers: 7
- Forks: 56
- Open Issues: 6
-
Metadata Files:
- Readme: README.rst
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
.. image:: https://s.weblate.org/cdn/Logo-Darktext-borders.png
:alt: Weblate
:target: https://weblate.org/
:height: 80px
**Weblate is libre software web-based continuous localization system,
used by over 2500 libre projects and companies in more than 165 countries.**
Django based website for Weblate, running at .
.. image:: https://img.shields.io/badge/website-weblate.org-blue.svg
:alt: Website
:target: https://weblate.org/
.. image:: https://codecov.io/github/WeblateOrg/website/coverage.svg?branch=main
:alt: Coverage Status
:target: https://codecov.io/github/WeblateOrg/website?branch=main
.. image:: https://hosted.weblate.org/widget/weblate/website/status-badge.png
:alt: Translation status
:target: https://hosted.weblate.org/engage/weblate/
.. image:: https://img.shields.io/github/license/WeblateOrg/website.svg
:alt: License
:target: https://github.com/WeblateOrg/website/blob/main/LICENSE
Weblate
-------
Find Weblate at https://github.com/WeblateOrg/weblate.
Running locally
---------------
Create virtual env and install dependencies:
.. code-block:: sh
uv venv .venv
source .venv/bin/activate
uv pip install -r requirements-dev.txt
Create ``weblate_web/settings_local.py`` which adjust your settings:
.. code-block:: py
# Disable SAML login, use local
LOGIN_URL = "/admin/login/"
# You can also configure API keys and other things, see weblate_web/settings.py
# Do not send real e-mails, log them to the console
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
Create admin:
.. code-block:: sh
./manage.py createsuperuser --username admin --email noreply@weblate.org
Migrate the database:
.. code-block:: sh
./manage.py migrate
Import subscription packages to the database:
.. code-block:: sh
./manage.py sync_packages
Compile MO files so that translations can be used:
.. code-block:: sh
./manage.py compilemessages
Run the development server:
.. code-block:: sh
./manage.py runserver