定制 aimeos/ai-gettext 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

aimeos/ai-gettext

最新稳定版本:2021.10.3

Composer 安装命令:

composer require aimeos/ai-gettext

包简介

Aimeos Gettext extension

README 文档

README

Aimeos logo

Aimeos Gettext extension

Build Status Coverage Status Scrutinizer Code Quality License

The Aimeos Gettext extension contains a low resource implementation for reading Gettext MO files and a translation adapter for Aimeos.

Table of contents

Installation

As every Aimeos extension, the easiest way is to install it via composer. If you don't have composer installed yet, you can execute this string on the command line to download it:

php -r "readfile('https://getcomposer.org/installer');" | php -- --filename=composer

Add the Gettext extension name to the "require" section of your composer.json (or your composer.aimeos.json, depending on what is available) file:

"require": [
    "aimeos/ai-gettext": "dev-master",
    ...
],

Afterwards you only need to execute the composer update command on the command line:

composer update

These commands will install the Aimeos extension into the extension directory and it will be available immediately.

Usage

The Aimeos Gettext adapter is useful for developers writing integrations for applications or frameworks. It's an alternative for the translation objects stored in the Aimeos context. You can instantiate the translation object via

$i18n = new \Aimeos\MW\Translation\Gettext( array(<i18n directories>), <locale> );

License

The Aimeos gettext extension is licensed under the terms of the LGPLv3 Open Source license and is available for free.

Links

统计信息

  • 总下载量: 220.82k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 20
  • 点击次数: 1
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 20
  • Watchers: 2
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2016-02-23