Quick setup guide


This is just a quick guide for installing and starting to use Weblate for testing purposes. Please check Installation instructions for more real world setup instructions.

Installing from sources

  1. Install all required dependencies, see Requirements.

  2. Grab Weblate sources (either using Git or download a tarball) and unpack them.

  3. Copy weblate/settings_example.py to weblate/settings.py and adjust it to match your setup. You will at least need to configure database connection (possibly adding user and creating the database). Check Configuration for Weblate specific configuration options.

  4. Build Django tables and initial data:

    ./manage.py syncdb
    ./manage.py migrate
    ./scripts/generate-locales # If you are using Git checkout
  5. Configure webserver to serve Weblate, see Running server.

Using prebuilt appliance

  1. Download the appliance and start it. You need to choose format depending on your target environment.
  2. Everything should be set up immediately after boot, though you will want to adjust some settings to improve security, see SUSE Studio appliance.

Adding translation

  1. Open admin interface (http://example.org/admin/) and create project you want to translate. See Project for more details.

    All you need to specify here is project name and it’s website.

  2. Create subproject which is the real resource for translating - it points to Git repository and selects which files to translate. See Subproject for more details.

    The important fields here being subproject name, Git repository address and mask for finding translatable files. Weblate supports wide range of formats including Gettext PO files, Android resource strings, OS X string properties, Java properties or Qt Linguist files, see Supported formats for more details.

  3. Once above is completed (it can be lengthy process depending on size of your Git repository and number of messages to translate), you can start translating.