Skip to content

detailnet/dfw-locale-module

Repository files navigation

Zend Framework Module for localization

Build Status Coverage Status Latest Stable Version Latest Unstable Version

Introduction

This module contains tools localized applications (based on the SlmLocale module for ZF2).

Requirements

Zend Framework 2 Skeleton Application (or compatible architecture)

Installation

Install the module through Composer using the following steps:

  1. cd my/project/directory

  2. Create a composer.json file with following contents (or update your existing file accordingly):

    {
        "require": {
            "detailnet/dfw-locale-module": "^1.0"
        }
    }
  3. Install Composer via curl -s http://getcomposer.org/installer | php (on Windows, download the installer and execute it with PHP)

  4. Run php composer.phar self-update

  5. Run php composer.phar install

  6. Open configs/application.config.php and add following key to your modules:

    'Detail\Locale',
  7. Copy vendor/detailnet/dfw-locale-module/config/detail_locale.local.php.dist into your application's config/autoload directory, rename it to detail_locale.local.php and make the appropriate changes.

Usage

tbd