PHPackages                             utopia-php/locale - 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. [Framework](/categories/framework)
4. /
5. utopia-php/locale

ActiveLibrary[Framework](/categories/framework)

utopia-php/locale
=================

A simple locale library to manage application translations

0.8.0(1y ago)25302.6k—0.5%71MITPHPPHP &gt;=7.4CI failing

Since Apr 28Pushed 2mo ago6 watchersCompare

[ Source](https://github.com/utopia-php/locale)[ Packagist](https://packagist.org/packages/utopia-php/locale)[ RSS](/packages/utopia-php-locale/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (4)Versions (18)Used By (1)

Utopia Locale
=============

[](#utopia-locale)

[![Build Status](https://camo.githubusercontent.com/8c139eceb68b0dc5f0588cd76d3da51dcbc83b0ef2161560aebee73b32b46b1b/68747470733a2f2f7472617669732d63692e6f72672f75746f7069612d7068702f6c6f63616c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/utopia-php/locale)[![Total Downloads](https://camo.githubusercontent.com/42f45745f5d086886934682d802cd5f8066fa57c2fe6f4c6e3d70f2b12c60c2c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f75746f7069612d7068702f6c6f63616c652e737667)](https://camo.githubusercontent.com/42f45745f5d086886934682d802cd5f8066fa57c2fe6f4c6e3d70f2b12c60c2c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f75746f7069612d7068702f6c6f63616c652e737667)[![Discord](https://camo.githubusercontent.com/6e418910df1b6eb524c6cbd88dbaf5a5aa294316eeadcd963e11262a319f6321/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3536343136303733303834353135313234343f6c6162656c3d646973636f7264)](https://appwrite.io/discord)

Utopia framework locale library is simple and lite library for managing application translations and localization. This library is aiming to be as simple and easy to learn and use. This library is maintained by the [Appwrite team](https://appwrite.io).

Although this library is part of the [Utopia Framework](https://github.com/utopia-php/framework) project it is dependency free and can be used as standalone with any other PHP project or framework.

Getting Started
---------------

[](#getting-started)

Install using composer:

```
composer require utopia-php/locale
```

Init in your application:

```
