Download the PHP package locomotivemtl/charcoal-translation without Composer
On this page you can find all versions of the php package locomotivemtl/charcoal-translation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download locomotivemtl/charcoal-translation
More information about locomotivemtl/charcoal-translation
Files in locomotivemtl/charcoal-translation
Download locomotivemtl/charcoal-translation
More information about locomotivemtl/charcoal-translation
Files in locomotivemtl/charcoal-translation
Vendor locomotivemtl
Package charcoal-translation
Short Description Charcoal Translations & Languages
License MIT
Homepage https://charcoal.locomotive.ca
Package charcoal-translation
Short Description Charcoal Translations & Languages
License MIT
Homepage https://charcoal.locomotive.ca
Please rate this library. Is it a good library?
Informations about the package charcoal-translation
Charcoal Translation
Charcoal provides a comprehensive solution for handling localisation, internationalization, and translation for a multi-lingual Charcoal project.
Usage
Setting the default language / setting the current language:
Loading a (translated) string from the catalog:
Using the TranslationString
object directly:
With Mustache Templates
By default, all call to the {{# _t }}
mustache helper in Charcoal Templates will try to translate a string using the default Charcoal Catalog.
For example:
- Assuming the "my string" has been added to the main catalog, as in the previous example
Dependencies
Charcoal\Config
required byTranslationConfig
All versions of charcoal-translation with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6.0
psr/log Version ^1.0
psr/http-message Version ^1.0
locomotivemtl/charcoal-config Version ~0.6
locomotivemtl/charcoal-core Version ~0.1
psr/log Version ^1.0
psr/http-message Version ^1.0
locomotivemtl/charcoal-config Version ~0.6
locomotivemtl/charcoal-core Version ~0.1
The package locomotivemtl/charcoal-translation contains the following files
Loading the files please wait ....