unionofrad/li3_lldr

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

Installs: 2 396

Dependents: 1

Suggesters: 0

Security: 0

Stars: 9

Watchers: 10

Forks: 0

Open Issues: 0

Type:lithium-library

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

This package is auto-updated.

Last update: 2024-10-12 03:30:52 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.