Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 553 Bytes

File metadata and controls

25 lines (17 loc) · 553 Bytes

marko/translation-file

File-based translation loader--reads translation arrays from PHP files organized by locale and group.

Installation

composer require marko/translation-file

This package provides the file-based implementation for marko/translation.

Quick Example

// lang/en/messages.php
return [
    'welcome' => 'Welcome to our site!',
    'hello' => 'Hello, :name!',
];

Documentation

Full usage, API reference, and examples: marko/translation-file