umpirsky/i18n-routing-service-provider 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

umpirsky/i18n-routing-service-provider

Composer 安装命令:

composer require umpirsky/i18n-routing-service-provider

包简介

Silex i18n routing service provider.

README 文档

README

symfony upgrade fixertwig gettext extractorwisdomcentipedepermissions handlerextraloadgravatarlocurrocountry listtransliterator

I18n Routing Service Provider Build Status

Silex i18n routing service provider.

Parameters

  • translator.domains.route: Translation message domain. The default value is routes.

Usage

To translate route patterns, just register service provider:

<?php

$app->register(new Umpirsky\Silex\I18nRouting\Provider\I18nRoutingServiceProvider());

If you use controller providers you can take advantage of using Umpirsky\Silex\I18nRouting\Application which overrides Application::mount() method in order to translate prefixes. Alternatively, you can do this trick outside of the Application class, read more on dev.umpirsky.com.

In order for this to work, prefixes should be translated separately from patterns.

统计信息

  • 总下载量: 1.73k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-10-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固