added 'store_calls' configuration parameter to AgaviGettextTranslator that allows to set a base directory to which _() (and thus __()) calls will be 'logged' so they can be parsed by xgettext. will just append, so items will be duplicate over time. xgettext has an option to filter these out. will automatically create one file per domain since most xgettext implementations cannot detect domains from dgettext calls. the sample app writes to the cache dir in debug mode, so each generated file will be gone after a refresh. I just couldn't be bothered to chmod a different directory ;)