Does anybody know a high-quality yaml adapter for Zend Framework’s Zend_Translate?
There seems to be a proposal in the Zend project itself, but it’s been inactive for years.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not aware of an adapter. There is a Zend_Config Adapter for YAML files in the incubator though and PHP has a PECL extension for YAML. There is also the YAML Symfony Component. You could use those to convert your translation files to array and then pass that array to the array adapter, but then again, using one of the source formats might be more feasible then.