I have successfully installed twig-gettext-extractor via composer.
Then I updated PATH variable so "xgettext" program could be run from command line.
I have added new parser as in readme.
Now, when i try to update catalog, and it goes to "twig" i get error.
13:31:20: Execution of command 'c:/wamp/www/test/vendor/bin/twig-gettext-extractor --sort-output --force-po -o "C:\Users\TestUser\AppData\Local\Temp\poeC9CA.tmp" -k_ -kgettext -kgettext_noop -ktrans -kltrim -L PHP --files "../../../FrontendBundle/Resources/views/Default/contact.html.twig" "../../../FrontendBundle/Resources/views/Default/privacyPolicy.html.twig" "../../../FrontendBundle/Resources/views/Exception/exception.html.twig" "../../../FrontendBundle/Resources/views/Exception/exception_prod.html.twig" "../../../FrontendBundle/Resources/views/Macro/circularItems.html.twig" "../../../FrontendBundle/Resources/views/Macro/subaccountsSwitcher.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/accountsTree.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeAdvertise3rdpartyTags.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeAdvertiserTags.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeAttributes.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeAttributesForPopup.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeNodesTags.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreePublisherTags.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeSegments.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeSharingBundles.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeSiteSectionPage.html.twig"' failed (error 193: unknown error c1)
13:31:20: Cannot execute program: c:/wamp/www/test/vendor/bin/twig-gettext-extractor
13:31:20: Entries in the catalog are probably incorrect.
13:31:20: Updating the catalog failed. Click on 'More>>' for details.
File C:\Users\TestUser\AppData\Local\Temp\poeC9CA.tmp is created but empty.
When I try to run this command in command line it looks like run with no errors, but nothing happens.
but file C:\Users\TestUser\AppData\Local\Temp\poeC9CA.tmp contains now:
SOME DESCRIPTIVE TITLE.
Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
This file is distributed under the same license as the PACKAGE package.
FIRST AUTHOR EMAIL@ADDRESS, YEAR.
, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-10-02 13:34+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME EMAIL@ADDRESS\n"
"Language-Team: LANGUAGE LL@li.org\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
I have successfully installed twig-gettext-extractor via composer. Then I updated PATH variable so "xgettext" program could be run from command line. I have added new parser as in readme.
Now, when i try to update catalog, and it goes to "twig" i get error.
13:31:20: Execution of command 'c:/wamp/www/test/vendor/bin/twig-gettext-extractor --sort-output --force-po -o "C:\Users\TestUser\AppData\Local\Temp\poeC9CA.tmp" -k_ -kgettext -kgettext_noop -ktrans -kltrim -L PHP --files "../../../FrontendBundle/Resources/views/Default/contact.html.twig" "../../../FrontendBundle/Resources/views/Default/privacyPolicy.html.twig" "../../../FrontendBundle/Resources/views/Exception/exception.html.twig" "../../../FrontendBundle/Resources/views/Exception/exception_prod.html.twig" "../../../FrontendBundle/Resources/views/Macro/circularItems.html.twig" "../../../FrontendBundle/Resources/views/Macro/subaccountsSwitcher.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/accountsTree.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeAdvertise3rdpartyTags.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeAdvertiserTags.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeAttributes.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeAttributesForPopup.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeNodesTags.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreePublisherTags.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeSegments.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeSharingBundles.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeSiteSectionPage.html.twig"' failed (error 193: unknown error c1) 13:31:20: Cannot execute program: c:/wamp/www/test/vendor/bin/twig-gettext-extractor 13:31:20: Entries in the catalog are probably incorrect. 13:31:20: Updating the catalog failed. Click on 'More>>' for details.
File C:\Users\TestUser\AppData\Local\Temp\poeC9CA.tmp is created but empty.
When I try to run this command in command line it looks like run with no errors, but nothing happens.
but file C:\Users\TestUser\AppData\Local\Temp\poeC9CA.tmp contains now:
SOME DESCRIPTIVE TITLE.
Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
This file is distributed under the same license as the PACKAGE package.
FIRST AUTHOR EMAIL@ADDRESS, YEAR.
, fuzzy
msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-10-02 13:34+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME EMAIL@ADDRESS\n" "Language-Team: LANGUAGE LL@li.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n"