As per php-translation/symfony-bundle#143 :
When I use a function or a static function that returns an array for a ChoiceType element, i get a "Form choice is not an array" error.
The extractor should compute the result of the function and use that to extract the translation items.
Uploading a PR containing test case right now.