2017 © Pedro Peláez
 

library i18n

Simple internationalization interface

image

jeroen-de-dauw/i18n

Simple internationalization interface

  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

i18n

Library that provides a simple i18n message interface that wraps some of the MediaWiki i18n functionality. The aim of this library is to collect the code needed by any extension to MediaWiki that wants to use the MediaWiki i18n system though at the same time not bind to the MediaWiki framework., (*1)

MediaWiki 1.20 or later is required., (*2)

Build Status, (*3)

On Packagist: Latest Stable Version Download count, (*4)

Installation

The recommended way to use this library is via Composer., (*5)

Composer

To add this package as a local, per-project dependency to your project, simply add a dependency on jeroen-de-dauw/i18n to your project's composer.json file. Here is a minimal example of a composer.json file that just defines a dependency on version 1.0 of this package:, (*6)

{
    "require": {
        "jeroen-de-dauw/i18n": "1.0.*"
    }
}

Manual

Get the code of this package, either via git, or some other means. Also get all dependencies. You can find a list of the dependencies in the "require" section of the composer.json file. Then take care of autoloading the classes defined in the src directory., (*7)

Authors

i18n has been written by [Jeroen De Dauw] (https://github.com/JeroenDeDauw), partially as Wikimedia Germany employee for the Wikidata project., (*8)

Release notes

0.1 (2013-12-07)

Initial release with these features:, (*9)

  • MessageBuilder interface
  • MediaWiki specific implementation
    • MediaWiki\MessageTextBuilder implementation of MessageBuilder
    • MediaWiki\MessageObjectBuilder to construct Message objects
    • MediaWiki\MessageBuilderFactory for construction of the message builders
    • MediaWiki\LanguageTypes enum with the available language types

The Versions

12/08 2015

dev-master

9999999-dev https://github.com/JeroenDeDauw/i18n

Simple internationalization interface

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.3.0

 

i18n internationalization mediawiki

07/12 2013

0.1

0.1.0.0 https://github.com/JeroenDeDauw/i18n

Simple internationalization interface

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.3.0

 

i18n internationalization mediawiki