This isn't offical Jetstream, but it's a collection of tools that I've found useful. It has multi-language support by vue-i18n.
Laravel Jetstream is a beautifully designed application scaffolding for Laravel. Jetstream provides the perfect starting point for your next Laravel application and includes login, registration, email verification, two-factor authentication, session management, API support via Laravel Sanctum, and optional team management.
Jetstream is designed using Tailwind CSS and offers your choice of Livewire or Inertia scaffolding.
Documentation for Jetstream can be found on the Jetstream website.
composer require sinan-aydogan/jetstream-plus
php artisan jetstream:install inertia
orphp artisan jetstream:install inertia --teams
npm install && npm run dev
php artisan migrate --seed
npm run hot
php artisan serve
Goto: http://localhost:8000
- You can add new languages to the project by adding a new language file to the
resources/Languages
directory likebg.json
.
{
"product": {
"create": {
"title": "Създаване на продукт"
}
}
}
<span v-text="$t('product.create.title')"/>
- You can add new flags to the
resources/Flags
directory then you should import them in theresources/language.js
.
import bgTranslates from '@/Languages/bg.json';
import flagBg from "@/Languages/Flags/flagBg";
/*Flags*/
const flags = {
flagEn: flagEn,
flagTr: flagTr,
flagBg: flagBg,
};
/* Languages */
const languages = [
{ id: "en", name: "English", flag: "flagEn" },
{ id: "tr", name: "Türkçe", flag: "flagTr" },
{ id: "bg", name: "български", flag: "flagBg" },
];
/*Translates*/
const translates = {
en: {
...jpTranslates.en,
...enTranslates
},
tr: {
...jpTranslates.tr,
...trTranslates
},
bg: {
...jpTranslates.bg,
...bgTranslates
}
}
If you need to help more than this documentation:
- You can join our Discord Channel then ask your questions
- Access to our Tabbs page for how to make links (Install in Linux, solution of the npm errors etc.)
🤘 If you want to support us, you can send a mail to us via [email protected]
Thank you for considering contributing to Jetstream Plus! You can read the contribution guide here.
Laravel Jetstream is open-sourced software licensed under the MIT license.