PHPackages                             germania-kg/i18n - 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. germania-kg/i18n

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

germania-kg/i18n
================

Outsourced i18n stuff

2.1.0(3y ago)084[1 PRs](https://github.com/GermaniaKG/i18n/pulls)MITPHPPHP ^7.4|^8.0

Since Nov 30Pushed 3y ago2 watchersCompare

[ Source](https://github.com/GermaniaKG/i18n)[ Packagist](https://packagist.org/packages/germania-kg/i18n)[ RSS](/packages/germania-kg-i18n/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (11)Versions (14)Used By (0)

Germania · i18n
===============

[](#germania--i18n)

[![Packagist](https://camo.githubusercontent.com/55fd9423064db489d20f2922319db6560ac6057d1274a30df259e2f0d8fb3ad3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6765726d616e69612d6b672f6931386e2e7376673f7374796c653d666c6174)](https://packagist.org/packages/germania-kg/i18n)[![PHP version](https://camo.githubusercontent.com/936775bdc745677129cffed8e85b662f7b5f948fa207140ae9acc224b9b59560/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6765726d616e69612d6b672f6931386e2e737667)](https://packagist.org/packages/germania-kg/i18n)[![Tests](https://github.com/GermaniaKG/i18n/actions/workflows/tests.yml/badge.svg)](https://github.com/GermaniaKG/i18n/actions/workflows/tests.yml)

Installation with Composer
--------------------------

[](#installation-with-composer)

```
$ composer require germania-kg/i18n
```

BC breaks from v1
-----------------

[](#bc-breaks-from-v1)

Class **DGettextRenderer:**This callable now expects returned messages to enclose placeholders with curly braces.

Deprecated
----------

[](#deprecated)

These classes have been used in **v1**, developers are encouraged to not use them any longer.

- `Germania\i18n\ServiceProvider`
- `Germania\i18n\AcceptedLanguageStringFactory`

GettextMiddleware
-----------------

[](#gettextmiddleware)

```
