承接 forci/lexik-translation-ui-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

forci/lexik-translation-ui-bundle

Composer 安装命令:

composer require forci/lexik-translation-ui-bundle

包简介

UI for LexikTranslationBundle

README 文档

README

Register the bundle as usual and mount its routing.

!! Make sure it is not publicly accessible.

forci_lexik_translation_ui:
    # A Service ID that implements
    # Forci\Bundle\LexikTranslationUIBundle\Authorization\TranslationAuthorizationCheckerInterface
    # Optional - example in sample app
    authorization_service: Your\AuthorizationChecker\ServiceId
    # Optional - example in sample app
    description_files:
        - '%kernel.root_dir%/../src/App/Resources/translations_descriptions.yml'
# translations_descriptions.yml
some.translation.key: Some descriptive text to be displayed inside the UI

Then, make a link somewhere in your app to

<a href="{{ path('forci_lexik_translation_ui_index') }}">
    Translations
</a>

Play with the Sample App

  • The forci_lexik_translation_ui.config.per_page parameter is hardcoded to 2 for the test application
cd sample/
./bin/console doctrine:database:create -e prod
./bin/console doctrine:schema:update -e prod -f
./bin/console lexik:translations:import App -e prod
./bin/console server:start
./bin/console server:start --docroot public/

If you would like to experiment/develop the user interface:

cd src/Resources/vue
npm install
npm run serve
// In order for the API to work, you need to start the local symfony server as per the above block
// build production assets
npm run build

TODO

  • favicon
  • logo
  • use vueup or something else for notificationsg

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: CSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-01-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固