marko/translation-file

File-based translation driver for Marko Framework

Maintainers

Package info

github.com/marko-php/marko-translation-file

Type:marko-module

pkg:composer/marko/translation-file

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

0.5.0 2026-05-02 01:27 UTC

This package is auto-updated.

Last update: 2026-05-02 01:33:57 UTC


README

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