Zend_Translate 的 YAML 适配器?

发布于 2024-09-13 00:09:00 字数 221 浏览 1 评论 0原文

有谁知道 Zend Framework 的 yaml 适配器/framework.zend.com/manual/en/zend.translate.html" rel="nofollow noreferrer">Zend_Translate?

Zend 项目本身似乎有一个提案,但是它已经闲置多年了。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

沐歌 2024-09-20 00:09:00

不知道适配器。孵化器中有一个 用于 YAML 文件的 Zend_Config 适配器< /a> 不过,PHP 有 YAML 的 PECL 扩展。还有 YAML Symfony 组件。 您可以使用它们将翻译文件转换为数组然后将该数组传递给数组适配器,但话又说回来,使用其中一种源格式可能更可行。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文