https://github.com/juzaweb/translation
Translate provides in-browser editing of Juzaweb translation files and integration with automatic translation services
https://github.com/juzaweb/translation
Last synced: 3 months ago
JSON representation
Translate provides in-browser editing of Juzaweb translation files and integration with automatic translation services
- Host: GitHub
- URL: https://github.com/juzaweb/translation
- Owner: juzaweb
- Created: 2021-08-21T07:51:41.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-29T03:05:10.000Z (about 1 year ago)
- Last Synced: 2024-04-29T06:58:15.530Z (about 1 year ago)
- Language: PHP
- Homepage: https://juzaweb.com
- Size: 59.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
Awesome Lists containing this project
README
## About
Translate provides in-browser editing of [Juzaweb translation](https://juzaweb.com/plugin/translation) files and integration with automatic translation services.[](https://packagist.org/packages/juzaweb/translation)
[](https://github.com/juzaweb/translation)## Install
- Go to `Admin -> Plugins -> Add new`
- Search and add plugin translation
- Activate plugin## Features
- [x] Built-in translation editor within admin
- [x] Create and update language files directly in your theme or plugin
- [x] Protected language directory for saving custom translations
- [x] Automatic translation themes/plugins by Google Translate
- [x] 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```shell
php artisan plugin:import-translation {plugin-name}
```### Google Translate Plugin
Translate your plugin by Google Translate```shell
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:
```shell
php artisan plugin:google-translate default en hi
```### Export translation to file json
Export all translation to file json
```shell
php artisan plugin:export-translation {plugin-name}
```If you want to export a specific language, add the 2nd param
```shell
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```shell
php artisan theme:import-translation {theme-name}
```### Google Translate Theme
Translate your theme by Google Translate```shell
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:
```shell
php artisan theme:google-translate default en hi
```### Export translation to file json
Export all translation to file json
```shell
php artisan theme:export-translation {theme-name}
```If you want to export a specific language, add the 2nd param
```shell
php artisan theme:export-translation {theme-name} {language}
```## Images

