Skip to content
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

Added a --binpath param specify which gettext binaries to use. Especiall... #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

giovyloca
Copy link

...y useful for OsX Users.

@giovyloca
Copy link
Author

Hi, many OsX users have had problems caused by incompatibility with the installed gettext library provided by the OS.
The easiest solution is to install the gettext library with homebrew and point the extractor to use those binaries. This is necessary because brew will not install gettext system wide.
This PR adds a --binpath parameter in order to do so.
I also refactored some code for better testability.

@@ -47,6 +47,28 @@ $twig->addFunction(new \Twig_SimpleFunction('myCustomExtension', true));
$twig->addFunction(new \Twig_SimpleFunction('myCustomExtension2', true));
```

## For OsX users
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it OS X?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants