PHPackages                             yii1tech/i18n-fallback - 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. yii1tech/i18n-fallback

ActiveLibrary[Localization &amp; i18n](/categories/localization)

yii1tech/i18n-fallback
======================

Provides support for Yii1 translation fallback to another message source

1.0.0(2y ago)21.6k↓33.3%BSD-3-ClausePHPPHP &gt;=7.1

Since Jun 20Pushed 2y ago1 watchersCompare

[ Source](https://github.com/yii1tech/i18n-fallback)[ Packagist](https://packagist.org/packages/yii1tech/i18n-fallback)[ GitHub Sponsors](https://github.com/klimov-paul)[ Patreon](https://www.patreon.com/klimov_paul)[ RSS](/packages/yii1tech-i18n-fallback/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

 [ ![](https://avatars.githubusercontent.com/u/134691944) ](https://github.com/yii1tech)

Translation Fallback Extension for Yii1
=======================================

[](#translation-fallback-extension-for-yii1)

This extension provides support for Yii1 translation fallback to another message source.

For license information check the [LICENSE](LICENSE.md)-file.

[![Latest Stable Version](https://camo.githubusercontent.com/a5beb9a84c196b0b40d9c30cbcce47097707e2ae4898897e2f47210c4cdb4d2a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f79696931746563682f6931386e2d66616c6c6261636b2e737667)](https://packagist.org/packages/yii1tech/i18n-fallback)[![Total Downloads](https://camo.githubusercontent.com/bd14e8b21a20986ebafec7e8d596176b03b5ad26c28942c29b4031d64eec02a0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79696931746563682f6931386e2d66616c6c6261636b2e737667)](https://packagist.org/packages/yii1tech/i18n-fallback)[![Build Status](https://github.com/yii1tech/i18n-fallback/workflows/build/badge.svg)](https://github.com/yii1tech/i18n-fallback/actions)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist yii1tech/i18n-fallback

```

or add

```
"yii1tech/i18n-fallback": "*"
```

to the "require" section of your composer.json.

Usage
-----

[](#usage)

This extension provides support for Yii1 translation fallback to another message source. For example: you may setup an administration panel to edit the translation stored in the database. At the same time you may want to setup default translations via local files stored under VCS. Application configuration example:

```
