Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.
/ langchecker Public archive

Tool to analyze .lang files, used for Mozilla projects (discontinued)

Notifications You must be signed in to change notification settings

mozilla-l10n/langchecker

Repository files navigation

Langchecker

Code to replicate the langchecker feature on webdashboard. See the Wiki for further details.

Installation

System requirements:

  • PHP 5.6 or later.
  • HTTP server (Apache, nginx, internal PHP server).

Setup:

  • Rename or copy the file app/config/settings.inc.php.ini as app/config/settings.inc.php, then:
    • Specify in $local_storage the local path to the folder that will be used to store all repositories.
    • Specify if the app will be served from the root or from a subfolder by customizing $webroot_folder.
  • Install Composer (PHP dependency manager), either locally or globally, then install the dependencies by running php composer.phar install from the project's root folder.
  • Make sure that the /cache folder is writable by the user running PHP.

Usage

You need to run the update script at least once to clone all the repositories.

./app/scripts/update_sources

On a production server you want to schedule this script as a cronjob.

License

This software is released under the terms of the Mozilla Public License v2.0.