PHPackages                             fabiang/zf-localize-helper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. fabiang/zf-localize-helper

Abandoned → [fabiang/laminas-localize-helper](/?search=fabiang%2Flaminas-localize-helper)ArchivedLibrary[Localization &amp; i18n](/categories/localization)

fabiang/zf-localize-helper
==========================

Zend Framework module for setting locale to all view helpers, validators and filters

1.0.1(9y ago)0844BSD-2-ClausePHPPHP ^5.5 || ^7.0

Since Sep 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/fabiang/zf-localize-helper)[ Packagist](https://packagist.org/packages/fabiang/zf-localize-helper)[ RSS](/packages/fabiang-zf-localize-helper/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (7)Versions (3)Used By (0)

ZF Localize helper
==================

[](#zf-localize-helper)

[Laminas version is available](https://github.com/fabiang/laminas-localize-helper).

Initializer that passes your configured locale to all view helpers, validators and filters, so you don't have to do this every time.

[![Latest Stable Version](https://camo.githubusercontent.com/8d81ec4c82f136a7cca9e3612a42a21f236062a05ef2449840cfba054db6b906/68747470733a2f2f706f7365722e707567782e6f72672f66616269616e672f7a662d6c6f63616c697a652d68656c7065722f76657273696f6e)](https://packagist.org/packages/fabiang/zf-localize-helper)[![License](https://camo.githubusercontent.com/b10408b524c012aa21e6b6c4b6db25a6683f719e19c488063a56f3ad83d6c4bf/68747470733a2f2f706f7365722e707567782e6f72672f66616269616e672f7a662d6c6f63616c697a652d68656c7065722f6c6963656e7365)](https://packagist.org/packages/fabiang/zf-localize-helper)[![Dependency Status](https://camo.githubusercontent.com/821e1b7b4de198d0ae1933ed9dd3a1e848ea9160eeca9d872a5efbd805548b67/68747470733a2f2f67656d6e617369756d2e636f6d2f6261646765732f6769746875622e636f6d2f66616269616e672f7a662d6c6f63616c697a652d68656c7065722e737667)](https://gemnasium.com/github.com/fabiang/zf-localize-helper)[![Build Status](https://camo.githubusercontent.com/c127fed7f85a3f689af05291247eaef544d66a7393b18a6c35574f56340a9e98/68747470733a2f2f7472617669732d63692e6f72672f66616269616e672f7a662d6c6f63616c697a652d68656c7065722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/fabiang/zf-localize-helper)

Requirements
------------

[](#requirements)

This module works with Zend Framework 2 and 3, but `zendframework/zend-servicemanager` must be at least at version 2.7.6.

Please see the [composer.json](composer.json) file.

Installation
------------

[](#installation)

Run the following `composer` command:

```
$ composer require fabiang/zf-localize-helper
```

Configuration
-------------

[](#configuration)

Put the following into your plugin managers config (e.g. `config/autoload/i18n.global.php`):

```
