-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
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
NFR: Support 'context' in Gettext (msgctxt) #12201
Comments
I already use PHP implementation, probably it will help You:
|
Refs: zephir-lang/zephir#938 |
Closing in favor of #13855. Will revisit if the community votes for it, or in later versions. |
The thing is that contexts are missing in PHP's native implementation of gettext functions. I made this for myself and decided sharing it https://github.com/scrnjakovic/php-gettext-context Include file via loader and don't forget to hook into volt. TIP: You can use twig extractors for Volt, as you will rarely find a good Volt extractor. |
NFR, not affect old code if:
add:
https://docs.phalconphp.com/en/latest/api/Phalcon_Translate_Adapter_Gettext.html
The text was updated successfully, but these errors were encountered: