rcm/i18n
最新稳定版本:1.23.1
Composer 安装命令:
composer require rcm/i18n
包简介
Stores translations in DB for ZF2 i18n
README 文档
README
Rcm Translate API
Rcm Translate API - HTTP API for translations
Calling the API:
https://example.com/api/rcm-translate-api/MY-TRANSLATION-NAMESPACE?1=term1&key2=term2
The query param field is an arbitrary key (usually the same as the term) The query param value is the term (string) to translate
I.E.
?queryField=queryValue equates to: someValue=translationString
Result:
{
"term1": "term1 translation",
"term2": "term2 translation"
}
ToDo
- Complete the Zend Expressive part
- Need to register translator plugins with ZF2 application
统计信息
- 总下载量: 3.66k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 4
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-10-16