Laravel 10 | Localization (Multiple Language support) in English

  Рет қаралды 4,008

Code Shotcut

Code Shotcut

Күн бұрын

Пікірлер: 31
@jamalmousa-j6c
@jamalmousa-j6c 10 ай бұрын
thank you brother. you are amazing, confident, clear, organized and direct to point. 😊
@CodeShotcut
@CodeShotcut 10 ай бұрын
Thank you bro means a lot :)
@fatememahdavi-s9l
@fatememahdavi-s9l 3 ай бұрын
thank you :)
@CodeShotcut
@CodeShotcut 3 ай бұрын
You're welcome :)
@afnanjaved1986
@afnanjaved1986 Жыл бұрын
THANK YOU !! your explanation is simple and to the point !! amazing video :) learned alot !!
@CodeShotcut
@CodeShotcut Жыл бұрын
You're welcome bro :)
@ZAKIRKHANDev
@ZAKIRKHANDev 9 ай бұрын
Good job boy
@CodeShotcut
@CodeShotcut 9 ай бұрын
Thank you bro means a lot :)
@gungros9558
@gungros9558 Жыл бұрын
so if I want to translate my site into three different languages I have to create three folders and then create a file in each folder and enter the translations for each language by hand ? that's a lot!
@CodeShotcut
@CodeShotcut Жыл бұрын
Correct, that's what we need to do. I tired to check for other packages as well but this was the best shot available. I will recommend you to try it on your own and you will get to know that this package was really helpful.
@pkbissyer7751
@pkbissyer7751 Жыл бұрын
Sir kya aap video embed pr koi video bna skte ho kase you tube url ko data base e save kr ke usko front end ke detail page pr show kr skte h dynamically mtlb alg alg post pt alg alg video dekhe url se jo user ne dala ho
@CodeShotcut
@CodeShotcut Жыл бұрын
Bro me try kronga kay me video banao is pr. Btw yeah easy hona chye for ex : database me aik column add kro jiski type hogi tex, phr youtube video ka embed code us me save krlo or phr usko database se retrieve krky simply display krdo. Menay try nai kiya pr hona asa hi chye minor differencfe hosktay hain
@pkbissyer7751
@pkbissyer7751 Жыл бұрын
@@CodeShotcut wase bina database ke video chl rha h lakin jo link database se retrieve kr rhe wo nhi chl rha mane video dekha you tube pr iss topic pr usme package bta rakha h Cohensive/ oembad isko install kro lakin unno ne thk se nhi bta rakha Unke video me post kr alag alag detail page pr alag alag video chl rhe h lakin mare me nhi chle koi error bhi nhi aha rhe
@CodeShotcut
@CodeShotcut Жыл бұрын
@@pkbissyer7751 bro jub package use kr rahay ho tu phr uski docs ko follow kro pata chal jyega kiya issue hai
@jaibharatmata8921
@jaibharatmata8921 8 ай бұрын
Brother agar file json type ki ho tab kaise use karenge ?
@CodeShotcut
@CodeShotcut 8 ай бұрын
Agar yahan comment krkay explain krta tu bht time lagta is liye yeah blog try karo : laraveldaily.com/lesson/multi-language-laravel/php-json-trans-underscores
@jaibharatmata8921
@jaibharatmata8921 8 ай бұрын
@@CodeShotcut I have done 👍
@CodeShotcut
@CodeShotcut 8 ай бұрын
@@jaibharatmata8921 Great job :)
@jamalmousa-j6c
@jamalmousa-j6c 10 ай бұрын
hello boss. all applied well and the translation is very easy. thanks for you. could you help me to apply the change of page direction RTL and LTR according to used language? thanks again
@CodeShotcut
@CodeShotcut 9 ай бұрын
Sorry brother i didn't get it.
@jamalmousa-j6c
@jamalmousa-j6c 9 ай бұрын
@@CodeShotcut i mean the change of the page direction from right to left if the arabic language used or left to right if the language used is english
@CodeShotcut
@CodeShotcut 9 ай бұрын
@@jamalmousa-j6c As you may know we can do that manually but it will take some serious amount of time. There are multiple packages available for the localization and i am looking for the best option available. Once I have it i will create a video on that as well and you will receive an update.
@jamalmousa-j6c
@jamalmousa-j6c 9 ай бұрын
​@@CodeShotcut thank you for the concern i wish we can find a completed localization package for laravel.
@CodeShotcut
@CodeShotcut 9 ай бұрын
@@jamalmousa-j6c I have explored various localization packages but have not come across any that allows dynamic updates to the database. Currently, I am not aware of any package that supports this functionality. However, here's a workaround you can implement in the meantime. Choose a localization package that suits your needs and, at the backend, utilize the Google Translate package. When creating data, for instance, a blog title in English like "First Blog," use AJAX to send the data to the controller. Translate the text using Google Translate and return it to be stored in the title in French field " Premier blog ". Save both language versions of the data in the database, possibly using JSON. Here's a simplified example: Title in English: "First Blog" Upon completing the English title field, send the data via AJAX to the controller. Translate the text using Google Translate. Return the translated text to be stored in the title in French field " Premier blog ". Save both the English and French versions of the data in the database, possibly using JSON. When displaying the data, retrieve and show the content based on the user's locale. I hope this helps!
@myosotisalderson
@myosotisalderson Жыл бұрын
Thank you
@CodeShotcut
@CodeShotcut Жыл бұрын
You're welcome :)
@matrixaio10
@matrixaio10 11 ай бұрын
please make Laravel Dynamic Localization mcamara tutorial.
@CodeShotcut
@CodeShotcut 11 ай бұрын
I will look into it bro give me some time to come up with the easiest solution.
@matrixaio10
@matrixaio10 11 ай бұрын
@@CodeShotcut thanks bro. and with dynamic multiple currency use in laravel ecommerce site make also tutorial.
@matrixaio10
@matrixaio10 11 ай бұрын
@@CodeShotcut thanks bro. and with dynamic multiple currency use in laravel ecommerce site make also tutorial.
@CodeShotcut
@CodeShotcut 11 ай бұрын
I will try bro @@matrixaio10
Full Tutorial Laravel Multi Languages
1:07:45
Tony Xhepa
Рет қаралды 8 М.
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 11 МЛН
Cool Parenting Gadget Against Mosquitos! 🦟👶 #gen
00:21
TheSoul Music Family
Рет қаралды 32 МЛН
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 9 МЛН
Laravel 11 tutorial in Hindi #39 Localization | Multiple language support
21:48
Laravel 10 : Sending Welcome Notification Email in English
10:41
Laravel Localization and Language Switcher Demo Tutorial
15:46
5Balloons Tech
Рет қаралды 28 М.
Laravel Translations: Store in PHP or JSON Files?
7:34
Laravel Daily
Рет қаралды 20 М.
The Tools I Use to Build Products in Laravel
19:00
Josh Cirre
Рет қаралды 34 М.
Laravel Localization Tutorial
41:11
LaraPhant
Рет қаралды 3 М.
How to Create Multi language Website in Laravel
21:35
Laravel Package Tutorial
Рет қаралды 21 М.
Localization Middleware - Laravel Multi-Language Tutorial ep-04
12:47
All useEffect Mistakes Every Junior React Developer Makes
22:23
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 11 МЛН