定制 dachcom-digital/i18n 二次开发

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

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

dachcom-digital/i18n

Composer 安装命令:

composer require dachcom-digital/i18n

包简介

Pimcore I18n Manager.

README 文档

README

Important

This bundle will not be compatible with Pimcore 12 or any future Pimcore versions.

For all future development, updates, and documentation, please refer to opendxp.io:

Note: We are open to partnerships for those interested in porting this bundle to future versions.

For inquiries, please contact: dcdi@dachcom.ch

Software License Software License Latest Release Tests PhpStan

i18n

Scheme

i18n scheme

Introduction

Pimcore already comes with some great features to build internationalized websites. But there are some gaps we have to handle by ourselves: search engine guidelines, geo based redirects, dynamic link handling for internal documents and of course: full qualified URLs for and in every context. This bundle helps you to master this challenges and gives you the freedom to elaborate complex URL building and (country) based localization strategies. Please read the I18n overview page before starting!

Release Plan

Release Supported Pimcore Versions Supported Symfony Versions Release Date Maintained Branch
5.x 11.0 6.2 09.10.2023 Feature Branch dev-master
4.x 10.1 - 10.6 5.4 12.11.2021 Unsupported 4.x
3.x 6.0 - 6.3, 6.5 - 6.9 3.4, ^4.4 18.07.2019 Unsupported 3.x
2.4 5.4, 5.5, 5.6, 5.7, 5.8 3.4 24.05.2019 Unsupported 2.4

Installation

"require" : {
    "dachcom-digital/i18n" : "~5.1.0"
}

Add Bundle to bundles.php:

return [
    I18nBundle\I18nBundle::class => ['all' => true],
];
  • Execute: $ bin/console pimcore:bundle:install I18nBundle

Upgrading

  • Execute: $ bin/console doctrine:migrations:migrate --prefix 'I18nBundle\Migrations'

Features

  • Generate fully qualified URLs in any context with symfony's default router
  • Geo redirects (read more about the redirector adapter here)
  • Thanks to the hardlink element you can easily create copies of webpages with additional country information without adding and maintaining duplicate content
  • Manage href-lang tags
  • Domain mapping (domain.com) and/or language slug (/en) strategies
  • front page mapping for hardlink trees

Before you start

When using this bundle, you should:

  • not using any router but the default RouterInterface object.
  • not using pimcore_url or $staticRoute->assemble() but using the default RouterInterface instead
  • extend your LinkGeneratorInterface objects with the I18nLinkGeneratorInterface and adjust dem accordingly
  • read the How I18nBundle works section

Preparation

  • If you're using system as your locale_adapter, which is the default, you need to enable all required locales in pimcore system settings
  • Always be sure that every document translation is connected via the localization tool.
  • If you're using the country detection, you need a valid maxmind geo ip data provider

Further Information

Upgrade Info

Before updating, please check our upgrade notes!

License

DACHCOM.DIGITAL AG, Löwenhofstrasse 15, 9424 Rheineck, Schweiz
dachcom.com, dcdi@dachcom.ch
Copyright © 2024 DACHCOM.DIGITAL. All rights reserved.

For licensing details please visit LICENSE.md

dachcom-digital/i18n 适用场景与选型建议

dachcom-digital/i18n 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 114.41k 次下载、GitHub Stars 达 27, 最近一次更新时间为 2017 年 09 月 01 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「i18n」 「localization」 「internationalization」 「pimcore」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 dachcom-digital/i18n 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 dachcom-digital/i18n 我们能提供哪些服务?
定制开发 / 二次开发

基于 dachcom-digital/i18n 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 114.41k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 28
  • 点击次数: 15
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 27
  • Watchers: 12
  • Forks: 17
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2017-09-01