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
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!
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.
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
@@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 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!
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
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
@@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
thank you brother. you are amazing, confident, clear, organized and direct to point. 😊
Thank you bro means a lot :)
thank you :)
You're welcome :)
THANK YOU !! your explanation is simple and to the point !! amazing video :) learned alot !!
You're welcome bro :)
Good job boy
Thank you bro means a lot :)
Brother agar file json type ki ho tab kaise use karenge ?
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
@@CodeShotcut I have done 👍
@@jaibharatmata8921 Great job :)
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!
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.
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
Sorry brother i didn't get it.
@@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
@@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.
@@CodeShotcut thank you for the concern i wish we can find a completed localization package for laravel.
@@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!
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
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
@@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
@@pkbissyer7751 bro jub package use kr rahay ho tu phr uski docs ko follow kro pata chal jyega kiya issue hai
please make Laravel Dynamic Localization mcamara tutorial.
I will look into it bro give me some time to come up with the easiest solution.
@@CodeShotcut thanks bro. and with dynamic multiple currency use in laravel ecommerce site make also tutorial.
@@CodeShotcut thanks bro. and with dynamic multiple currency use in laravel ecommerce site make also tutorial.
I will try bro @@matrixaio10
Thank you
You're welcome :)