You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
eusonlito
changed the title
Why phpCode Extractor is not loading default gettext translation function
Why PhpCode Extractor is not loading default gettext translation function
Jul 31, 2014
Note that the key is the function name you use (_, gettext, etc) and the value is the behaviour (it behaves like __ or like p__, etc), so '_' => '_' is not valid.
Why
Extractors\PhpCode
have not defined_
as a valid function inpublic static $functions
?I have edited your code to add support to default php gettext translations in
Gettext\Extractors\PhpCode
:Now I can load all strings from my code.
The text was updated successfully, but these errors were encountered: