tschucki / translate-jetstream
Translate Jetstream's Vue templates into any language you want
Fund package maintenance!
Marcel Wagner
Requires
- php: ^8.2
- illuminate/contracts: ^10.0||^11.0
- laravel-lang/lang: ^14.0||^15.5
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^2.9
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.1.1||^7.10.0
- orchestra/testbench: ^9.0.0||^8.22.0
- pestphp/pest: ^2.34
- pestphp/pest-plugin-arch: ^2.7
- pestphp/pest-plugin-laravel: ^2.3
- phpstan/extension-installer: ^1.3
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-phpunit: ^1.3
- roave/security-advisories: dev-latest
README
Translate Jetstream's Vue templates into any language you want. Without much effort.
It annoyed me that Jetstream's Vue templates are not translated. Sometimes I need Jetstream in a language other than English and I didn't want to translate everything by hand.
Installation
You can install the package via composer:
composer require --dev tschucki/translate-jetstream
I recommend to only use this package in a local development environment and a fresh installation of Jetstream.
You better commit your changes before running the command, so you can easily revert them if something feels wrong.
Usage
Basic Usage
Call the following command to select the language you want to translate Jetstream into:
php artisan jetstream:translate
You will be asked for the language you want to translate Jetstream into. The default language is your locale set in your Laravel application.
Locale as Argument
You can also pass the locale as an argument:
php artisan jetstream:translate de
Demo
Jetstream.Translate.Demo.mov
Supported Languages
- "af"
- "ak"
- "am"
- "ar"
- "as"
- "az"
- "be"
- "bg"
- "bho"
- "bm"
- "bn"
- "bs"
- "ca"
- "ceb"
- "ckb"
- "cs"
- "cy"
- "da"
- "de"
- "de_CH"
- "doi"
- "ee"
- "el"
- "en"
- "eo"
- "es"
- "et"
- "eu"
- "fa"
- "fi"
- "fil"
- "fr"
- "fy"
- "ga"
- "gd"
- "gl"
- "gu"
- "ha"
- "haw"
- "he"
- "hi"
- "hr"
- "hu"
- "hy"
- "id"
- "ig"
- "is"
- "it"
- "ja"
- "ka"
- "kk"
- "km"
- "kn"
- "ko"
- "ku"
- "ky"
- "lb"
- "lg"
- "ln"
- "lo"
- "lt"
- "lv"
- "mai"
- "mg"
- "mi"
- "mk"
- "ml"
- "mn"
- "mni_Mtei"
- "mr"
- "ms"
- "mt"
- "my"
- "nb"
- "ne"
- "nl"
- "nn"
- "oc"
- "om"
- "or"
- "pa"
- "pl"
- "ps"
- "pt"
- "pt_BR"
- "qu"
- "ro"
- "ru"
- "rw"
- "sa"
- "sc"
- "sd"
- "si"
- "sk"
- "sl"
- "sn"
- "so"
- "sq"
- "sr_Cyrl"
- "sr_Latn"
- "sr_Latn_ME"
- "su"
- "sv"
- "sw"
- "ta"
- "te"
- "tg"
- "th"
- "ti"
- "tk"
- "tl"
- "tr"
- "tt"
- "ug"
- "uk"
- "ur"
- "uz_Cyrl"
- "uz_Latn"
- "vi"
- "xh"
- "yi"
- "yo"
- "zh_CN"
- "zh_HK"
- "zh_TW"
- "zu"
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.