How to make my website multilanguage in laravel?

|
Denno_IT 2022-09-14 09:58:21
pranavsense 2022-09-14 09:57:00
your product_code and id column has same values?

yeah

Denno_IT 2022-09-14 09:58:52
am searching product id from the db but am searching from the livewire input field known as product_code
Denno_IT 2022-09-14 09:59:56
laravel_discuss-138246.jpg
this is the blade.. where the input field to search is,..
Denno_IT 2022-09-14 10:27:39
Denno_IT 2022-09-14 09:59:56
laravel_discuss-138246.jpg
this is the blade.. where the input field to search is,..

can someone help me please

Laksida 2022-09-14 11:13:38
can someone help me
seniormonsieur 2022-09-14 11:21:34
Name 2022-09-14 08:27:25
laravel_discuss-138246.jpg
value=”{{ lang_trans(‘txt_duration_of_stay’) }}” id=”tstay”></span>
<span value=”{{ lang_trans(‘txt_base_price’) }}” id=”tprice”></span>
<span value=”{{ lang_trans(‘txt_total_amount’) }}” id=”amount”></span>
</div>
</div>
</div>
</div>
</div>
<div></div>
<script src=”jquery-3.6.0.min.js”>
// globalVar.cartList = {!! json_encode($cart_list) !!};
// globalVar.gstPercent = {{ $settings[‘gst’] }};
// globalVar.cgstPercent = {{ $settings[‘cgst’] }};

$(document).ready(function() {

$(‘#butsave’).on(‘click’, function() {
alert(‘hi’);
var txt_sno = $(‘#sno’).val() = {{ lang_trans(‘txt_sno’) }};
var txt_room = $(‘#troom’).val() = {{ lang_trans(‘txt_room’) }};
var txt_duration_of_stay = $(‘#tstay’).val() = {{ lang_trans(‘txt_duration_of_stay’) }};
var txt_base_price = $(‘#tprice’).val() = {{ lang_trans(‘txt_base_price’) }};
var txt_total_amount = $(‘#amount’).val() = {{ lang_trans(‘txt_total_amount’) }};
alert(txt_total_amount);
// $.ajax({
// url: “{{ route(‘bookkk’) }}”,
// type: “post”,
// data: {
// _token: $(“#csrf”).val(),
// txt_sno: txt_sno,
// txt_room: txt_room,
// txt_duration_of_stay: txt_duration_of_stay,
// txt_base_price: txt_base_price,
// txt_total_amount: txt_total_amount
// },
// cache: false,
// success: function(dataResult) {
// console.log(dataResult);
// // var dataResult = JSON.parse(dataResult);
// // if(dataResult.statusCode==200){
// // window.location = “/userData”;
// // }
// // else if(dataResult.statusCode==201){
// // alert(“Error occured !”);
// // }

// }
// });
}

});
});
</script>
@endsection

no ajax header

seniormonsieur 2022-09-14 11:22:21
Laksida 2022-09-14 11:13:38
laravel_discuss-138246.jpg
can someone help me

with what?

Laksida 2022-09-14 12:23:59
laravel_discuss-138256.jpg

Laksida 2022-09-14 12:24:17
laravel_discuss-138257.jpg

Laksida 2022-09-14 12:24:29
how i can fix this with grow crm
Стефан 2022-09-14 12:50:15
Chmod 0755 that folder
Стефан 2022-09-14 13:09:00
All the one’s you see with x
alijon199815 2022-09-14 13:50:10
laravel_discuss-138261.jpg

alijon199815 2022-09-14 13:50:22
how to site title change
kesavankani 2022-09-14 13:55:17
Hi Team
Kindly Advise on this error.
i am try to upload an image and trying to resize the image.unable to resolve this error.
kesavankani 2022-09-14 13:55:30
$excel_file_name = $request->input(‘attribute_image’);
$fileExtension = strtolower($request->file(‘attribute_image’)->getClientOriginalExtension());

$file_name = sha1(uniqid().$excel_file_name.uniqid()).’.’.$fileExtension;

$request->file(‘attribute_image’)->move($this->attribute_category_base_img_path, $file_name);

$resized_image = Image::make(public_path(‘/uploads/categories/’ . $fileExtension))->fit(400,400)->save();

#Math 2022-09-14 13:59:45
laravel_discuss-138265.jpg

#Math 2022-09-14 14:00:03
Guys when i click save button it doesn’t update
#Math 2022-09-14 14:00:17
Its delete my project
#Math 2022-09-14 14:00:29
Why? what’s the problem couldn’t get
donnyutama 2022-09-14 14:04:59
#Math 2022-09-14 13:59:45
laravel_discuss-138265.jpg

do not use nested form,,
for delete I suggest you to use ajax

#Math 2022-09-14 14:06:16
donnyutama 2022-09-14 14:04:59
laravel_discuss-138265.jpg
do not use nested form,,
for delete I suggest you to use ajax

Thanks but why not ?

donnyutama 2022-09-14 14:08:08
because button submit will force submit closest form
donnyutama 2022-09-14 14:09:28
sorry if my english bad
#Math 2022-09-14 14:11:45
It’s okay. Thank u very much 🙌🏻
healer_1205 2022-09-14 14:12:37
hamdibarwari 2022-09-13 13:21:23
laravel_discuss-138265.jpg
Hi
How to make my website multilanguage in laravel?
Need best way😍

you can use localstorage and json for that

didaputraad 2022-09-14 14:14:06
Geolocation it
Стефан 2022-09-14 14:14:19
healer_1205 2022-09-14 14:12:37
laravel_discuss-138265.jpg
you can use localstorage and json for that

using local storage i find it stupid , correct me if i’m wrong

didaputraad 2022-09-14 14:14:36
Let automation of language
healer_1205 2022-09-14 14:15:28
Стефан 2022-09-14 14:14:19
laravel_discuss-138265.jpg
using local storage i find it stupid , correct me if i’m wrong

first, save language files as json format and you can use/set state value to confirm which language does customer select.

didaputraad 2022-09-14 14:15:44
Стефан 2022-09-14 14:14:19
laravel_discuss-138265.jpg
using local storage i find it stupid , correct me if i’m wrong

Where is user has been using for vpn?

didaputraad 2022-09-14 14:15:55
It’s bad
didaputraad 2022-09-14 14:16:12
For general website
healer_1205 2022-09-14 14:16:18
also in laravel, by using composer, you can install vendor for that
didaputraad 2022-09-14 14:17:12
usually use subdomain
|