一个或多个po文件中的CakePHP转换和性能 [英] CakePHP translations in one or multiple po files and performance

查看:95
本文介绍了一个或多个po文件中的CakePHP转换和性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否使CakePHP的i18n工具使其po文件在单个文件中比在多个文件中好.在这里,我指的是性能.就个人而言,我更喜欢单个文件,我认为它更容易翻译应用程序,但是我的意思是应用程序在服务器上的性能.

Does making the i18n tool of CakePHP making its po file in single one file better than multiple files. Here I meant by performance. Personally, I prefer single one file I regarded it easier to translate the application, but I mean the performance of the application on the server.

推荐答案

我认为一个文件比多个文件要好,这是因为打开和关闭多个文件时所使用的性能要比打开一个文件时要好得多,而其大小要小得多.

I think that one file is better than multiple files, due to the performance used when opening and closing multi files is greater than opening one file regarding-less its size.

这篇关于一个或多个po文件中的CakePHP转换和性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆