定制 sideapps/nova-translation 二次开发

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

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

sideapps/nova-translation

Composer 安装命令:

composer require sideapps/nova-translation

包简介

A Laravel Nova tool.

README 文档

README

Nova Translation

Translation management for your Nova application.

Nova Translation UI

About Nova Translation

Nova Translation is a tool for Laravel Nova which allows you full control over your translations when using Laravel's localization functionality.

The package allows you to manage your translations using either the native file based translations, but also provides a database driver which is useful in multi-server setups.

It exposes a user interface allowing you to update existing and add new translations to your application.

Below are a full list of features:

  • File and database drivers
  • Database translation loader (automatically load translations from the database when Laravel's translation retrieval methods and the database driver)
  • User interface to add new languages and add and update translations
  • Artisan commands to manage your translations
  • Scan your application for missing translations

Installation

From the root of your Nova application run the following:

composer require joedixon/nova-translation

Open NovaServiceProvider.php and add update the registerTools method as follows:

<?php

namespace Laravel\Nova;

...
use Joedixon\NovaTranslation\NovaTranslation;

class NovaServiceProvider extends ServiceProvider
{
    ...

    protected function registerTools()
    {
        Nova::tools([
            ...
            new NovaTranslation,
        ]);
    }
}

Note: Under the hood, this tool uses the joedixon/laravel-translation package. You can find configuration instructions here.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-01-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固