unionofrad/li3_lldr

A Lithium plugin with additional g11n resources constituting the Lithium Locale Data Repository.

Maintainers

Package info

github.com/UnionOfRAD/li3_lldr

Homepage

Type:lithium-library

pkg:composer/unionofrad/li3_lldr

Statistics

Installs: 2 397

Dependents: 1

Suggesters: 0

Stars: 9

Open Issues: 0

v1.0.1 2017-04-08 18:15 UTC

This package is auto-updated.

Last update: 2026-03-12 06:32:42 UTC


README

About

This Lithium plugin provides additional g11n resources. These intentionally haven't been bundled with the Lithium core to allow the community to extend and add to the resources collaboratively. The specialized nature of the resources as well as the sheer size have been another reason for not shipping the data with the core.

Following resources are currently contained in this plugin:

  • Plural rules for the most common languages. (resources/g11n/<LOCALE>/message/default.php)
  • Validation rules. (resources/g11n/<LOCALE>/validation/default.php)

Installation

Just install and register the plugin into your application as per the manual. Resources contained within this plugin are automatically registered with the Catalog class while maintaining existing configurations. This makes the resources available to thee application this plugin is contained in. Message::translate() calls will utilize these resources automatically as long as no or the li3_lldr named configuration is selected.