Localiser
A self-hosting localization tool.
Requirements
- PHP ^7.3
Usage
Fetch cached locales
GET
/api/project/:id/locales
Delete cached locales
DELETE
/api/project/:id/locales
Fetch cached translations
GET
/api/project/:id/messages
Delete cached translations
DELETE
/api/project/:id/messages
Version Control
Download locale files to project with Localiser CLI easily.
Roles
System Scope
Ability | Admin | User |
---|---|---|
USER_VIEW |
|
|
USER_CREATE |
|
|
USER_UPDATE |
|
|
USER_DELETE |
|
|
PROJECT_VIEW |
|
|
PROJECT_CREATE |
|
|
Project Scope
Ability | Owner | Maintainer | Reporter | Guest |
---|---|---|---|---|
PROJECT_UPDATE |
|
|
||
PROJECT_DELETE |
|
|||
LANGUAGE_CREATE |
|
|||
LANGUAGE_UPDATE |
|
|
||
LANGUAGE_DELETE |
|
|||
KEY_CREATE |
|
|
|
|
KEY_UPDATE |
|
|
|
|
KEY_DELETE |
|
|
|
|
VALUE_CREATE |
|
|
|
|
VALUE_UPDATE |
|
|
|
|
VALUE_DELETE |
|
|
|
Development
Download the master branch.
git clone [email protected]:memochou1993/localiser.git
Copy .env.example
to .env
.
cp .env.example .env
Install the dependencies.
composer install
Set a random secure application key.
php artisan key:generate
Create a database.
CREATE DATABASE `localiser`;
Run the migrations and database seeds.
php artisan migrate --seed
Start a development server.
php artisan serve