We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Phalcon 1.2.6
$t = new Phalcon\Translate\Adapter\NativeArray(array('content' => array())); echo $t->_("Hello %varname%", array('varname' => 'world'));
It shows Hello %varname%, but it should better output Hello world.
Hello %varname%
Hello world
At the moment we have to create and manage a not needed language-file with the same text as it will be used in the app.
The text was updated successfully, but these errors were encountered:
Why not use strtr() instead of Phalcon\Translate\Adapter\NativeArray if you don't need translations at all?
strtr()
Phalcon\Translate\Adapter\NativeArray
Sorry, something went wrong.
This has been implemented.
No branches or pull requests
Phalcon 1.2.6
It shows
Hello %varname%
, but it should better outputHello world
.At the moment we have to create and manage a not needed language-file with the same text as it will be used in the app.
The text was updated successfully, but these errors were encountered: