Closed towel closed 10 years ago
I almost want to make this the setTranslator($language, $domain, $translator = '\PHPTAL_GetTextTranslator'), where the default parameter is GetTextTranslator
The translatorRoot, I would probably want to use app/lang as the default, but make the override configurable via the config file.
Other than that it looks fine. I have made several changes on my end to support a project I am currently working on. But since your post, I have added config settings translations, I also made a check that will override the local settings if you set them in the app/config/view.php Also added multiple skins by TEMPLATE_ID. Probably will be pushing out the changes tonight or tomorrow.
Thank you for the enhancement request.
Please remove the echo statements!
Other than that, thanks a lot for the fast integration :)
Thanks towel.
Hi, I'd love to see GetText support for PhpTalEngine.
I made a simple implementation for this but am hesitant to issue a pull request because I'm new to Laravel4 and not sure about the config stuff.
Could you maybe bake this properly into PhpTalView or inform me about needed changes for a possible pull request? Cheers!