juzaweb / translation
Translation theme and plugin for Juzaweb cms
Installs: 138
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Type:juzaweb-plugin
Requires
- php: ^8.0|^8.1
Requires (Dev)
- juzaweb/dev-tool: ^1.0
- juzaweb/modules: ^1.0
This package is auto-updated.
Last update: 2024-10-29 04:25:47 UTC
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}