juzaweb/translation
最新稳定版本:1.0.3
Composer 安装命令:
composer require juzaweb/translation
包简介
Translation theme and plugin for Juzaweb cms
README 文档
README
Translate provides in-browser editing of Juzaweb translation files and integration with automatic translation services.
Install
- Go to
Admin -> Plugins -> Add new - Search and add plugin translation
- Activate plugin
Features
- Built-in translation editor within admin
- Create and update language files directly in your theme or plugin
- Protected language directory for saving custom translations
- Automatic translation themes/plugins by Google Translate
- Import/export translation themes/plugins
- Command Find text missing translation in theme or plugin
Usage
- Multiple language support for your Plugin...
If you ever struggled to support multiple languages for your website. Juzaweb CMS supports you with a translation tool for faster and easier translate.
Import translation
Find and create translation in your Plugin to jw_translations table
php artisan plugin:import-translation {plugin-name}
Google Translate Plugin
Translate your plugin by Google Translate
php artisan plugin:google-translate {plugin-name} {source} {target}
This command will translate and add new translations to the jw_translations table via Google Translate.
E.x:
php artisan plugin:google-translate default en hi
Export translation to file json
Export all translation to file json
php artisan plugin:export-translation {plugin-name}
If you want to export a specific language, add the 2nd param
php artisan plugin:export-translation {plugin-name} {language}
- Multiple language support for your Theme... If you ever struggled to support multiple languages for your website. Juzaweb CMS supports you with a translation tool for faster and easier translate.
Import translation
Find and create translation in your Theme to jw_translations table
php artisan theme:import-translation {theme-name}
Google Translate Theme
Translate your theme by Google Translate
php artisan theme:google-translate {theme-name} {source} {target}
This command will translate and add new translations to the jw_translations table via Google Translate.
E.x:
php artisan theme:google-translate default en hi
Export translation to file json
Export all translation to file json
php artisan theme:export-translation {theme-name}
If you want to export a specific language, add the 2nd param
php artisan theme:export-translation {theme-name} {language}
Images
统计信息
- 总下载量: 141
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2024-04-28