Skip to content
Mariusz Łączak edited this page Dec 1, 2013 · 6 revisions

Example usage

Easy translation, just place messages at __() function and after changing language the strings will be automatically translated from eg. common/i18n/pl.php

<?php
echo __('The base application in PhalconPHP');
echo __('Hello :user', array(':user' => 'mruz'));
Also available in volt engine
{{ __('Hello :user', [':user' : 'mruz']) }}
Clone this wiki locally