Тёмный

Translate Your .NET MAUI App with LocalizationResourceManager.Maui 

Gerald Versluis
Подписаться 104 тыс.
Просмотров 8 тыс.
50% 1

Опубликовано:

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 51   
@brecha2343
@brecha2343 10 месяцев назад
I still get the 'No patameterless constructor defined' error, even after adding that line to the maui program
@yosh2842
@yosh2842 11 месяцев назад
Hello Gérald, How to use it during DisplayAlert? Ex : App.Current.MainPage.DisplayAlert("Error", "Invalide Password", "Ok");
@valentinfontaine8033
@valentinfontaine8033 4 месяца назад
How to modify the "Cancel" field of the Picker element in xaml?
@CliffShivkar
@CliffShivkar 22 дня назад
Great video! Thanks. Are these Plugins Benchmarked for memory and speed? Please let me know. Thanks.
@jfversluis
@jfversluis 22 дня назад
If the author does that, yes. But I don't think a lof of authors actually do. We do no curate these plugins in any way!
@nivaldoarrudasalome1469
@nivaldoarrudasalome1469 Год назад
Hi Have anyone tried to run it in IOS? I have used Gerald's template with VS 2022 (version 17.6.3) and LocalizationResourceManager.Maui (1.0.4). it works with Android, but for IOS (on an IPhone device) the language are not dynamically updates (stays in English - default language). thanks in advance for the feedback. this is indeed a great plugin... I do hope it will work in IOS
@StefanBaltov7
@StefanBaltov7 8 месяцев назад
Hi Gerald, the video is great! Actually, it came up to be quite more easier than I thought it would be. Have you tried to implement it with Razor views? I'm developing an app that uses razor instead of xaml files.
@AlexRonchi
@AlexRonchi Год назад
334 / 5.000 Hello Gerald, my name is Alex, I'm from Brazil, very good, I'm going to implement it in my project. I have a question when using Datapicker on Net. Maui in Xaml. When I start the application, I change the language to pt-BR, but the Datapicker texts and buttons remain in English. Is there a way to change it to Portuguese too? How would it be? Thanks
@nicolaimagnussen1914
@nicolaimagnussen1914 Год назад
Thank you for these videos! :)
@jfversluis
@jfversluis Год назад
Thanks for watching!
@richie12200
@richie12200 Год назад
Just love the MAUI getting great! Can't wait to see more coming update from community toolkit.
@jfversluis
@jfversluis Год назад
More to come for sure!
@ShieldTV-w8n
@ShieldTV-w8n Год назад
Hi, i really like your videos. Keep the great work. I am working on a project now, i am planning to use ffmpeg in maui app. I found the ffmpeg binaries for android/mac/ios. But i am not sure in which folder i should place them based on their platform and their build action. Moreover, when it comes to accessing them, how i can find their location ? I searched a lot regarding the binaries and their placement in maui, but not able to find anything useful. If you can create a video or just a repository with an example, will be much appreciated. Thanks in advance
@chrissevering1090
@chrissevering1090 Год назад
Thanks! Bedankt! Can I use this also in MAUI Blazor in the blazor pages? And how?
@ahmedma527
@ahmedma527 Год назад
Hi Gerald. Thanks for the video. I want to ask about maui form. I know you have a video on forms validation, but I have a case for a complex and extensive validation. In web development (angular, react, ...) this very easy and there are tons of resources, unfortunately I could not find that for Maui, for example, disable submit button automatically if the form is invalid, or display and error message in the control without a lot of boilerplate code. I believe Maui is capable of that, just there are not a lot of resources for that. Fortuantely the community has someone like you who can provide that. I hope you make a video on that. Thanks in advance.
@yasminaamroun8682
@yasminaamroun8682 Год назад
can you show us how to read an Xml file and select data from the list displayed from the Xml file, and this data will be transferred to another page. in .Net Maui thank you in advance
@one2onesmiles787
@one2onesmiles787 7 месяцев назад
It looks like LocalizationResourceManager.Maui only work on .Net7. Now that .Net8 are released maybe you should update this tutorial? Thanks for a good tutorial and i love your Maui series.
@jfversluis
@jfversluis 7 месяцев назад
Whatever is compatible for .NET 7 should also work for .NET 8. That’s even true for .NET 6 unless there is breaking changes but that is usually unlikely
@Hopewow
@Hopewow 4 месяца назад
Can say that it is working now for .net8 do not know if it was broken when you tried but is working fine currently :)
@josedonizeteoliveirajunior1744
Very good! Thank you for teaching
@jfversluis
@jfversluis Год назад
Glad it was helpful!
@AJVL412
@AJVL412 Год назад
This is an amazing video. I'm working on my own maui app and I'm trying to understand how to apply a solution like this to "all text", not just specific instances of text. Where would one set the global culture info if I wanted my app to be able to switch from language to language from, say, a settings page or somthing?
@jfversluis
@jfversluis Год назад
Maybe this will be of some help: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-_ZFXk3vbxwQ.html
@mb72oz
@mb72oz Год назад
Thanks for making this video Gerald - I'm already using this in an app under development, this video helps clear up a couple of things for me.
@jfversluis
@jfversluis Год назад
That is great to hear! Thank you!
@istuart0
@istuart0 Год назад
Hi Gerald, yet another wonderfully enthusiastic and informative video! Surely the LocalizationResourceManager doesn't have translation dictionaries for all languages. Therefore, if the app isn't connected to the Internet, does it still translate or does it only translate when the device has an Internet connection?
@jfversluis
@jfversluis Год назад
Thanks Stuart! I'm not sure if I'm understanding you correctly here... This functionality does not do the translation itself. It's just a helper that will make it easier to work with translations in your app. The actual translated values still live in your app in resx files that are also available offline.
@istuart0
@istuart0 Год назад
@@jfversluis Wonderful! I assumed if you had the LRM installed, you didn't need to create your own translation resource files! I'll be putting it in my app this morning because the syntax is much simpler than {x:Static AppResources.} palaver!
@王龙-x7y
@王龙-x7y Год назад
Very good! Thank you for teaching
@jfversluis
@jfversluis Год назад
My pleasure!
@alessandrocaliaro3418
@alessandrocaliaro3418 Год назад
Bravo Gerald! Wait to add it to the community toolkit
@jfversluis
@jfversluis Год назад
If you like what you see, better start using this now. I don't know how long it will take to be in the Community Toolkit!
@andrewtruckle1695
@andrewtruckle1695 Год назад
Thank you for your hard work with this! One thing that would be great is a visual way for translators to manage the translations for us. At the moment it is all text so it is hard for them to see it IRL with context. Know what I mean?
@jfversluis
@jfversluis Год назад
That’s definitely always a hard one to crack. There is a field in the resources where you can put comments. Maybe that helps a little.
@andrewtruckle1695
@andrewtruckle1695 Год назад
@@jfversluis I guess. It is just something that seems fundamental to me. A translator really needs to see things in context. But thanks for the reply!
@jfversluis
@jfversluis Год назад
@@andrewtruckle1695 sure, it’s just technically very hard to pull off I think. But you could implement something yourself. Give them a running test version of your app with some way to toggle the labels between their translation key and the actual caption? Doesn’t get any better than that!
@Mustafamutasim
@Mustafamutasim Год назад
Thanks!
@jfversluis
@jfversluis Год назад
Wowwwww thanks for the support Mustafa! 🙏
@daniblitz1029
@daniblitz1029 Год назад
hey Gerald, thank you for your videos. I was wondering if you could make a video on how to create a menù in your app with a lot of languages so that users can choose the language they want and text will dinamically change. Please, i need that
@jfversluis
@jfversluis Год назад
If you can create a list of the cultures that you have then whenever the user picks one of those set the current culture like I do and that should be mostly it!
@daniblitz1029
@daniblitz1029 Год назад
@@jfversluis that's true, I can try that. Thank you
@daniblitz1029
@daniblitz1029 Год назад
@@jfversluis do i need to use the file.nl.resx?
@jfversluis
@jfversluis Год назад
If you want to support Dutch then yes. NL is the ISO language code for Dutch. You want to add a file like that for each language you want to support. If you want Spanish you add one with ES for instance
@daniblitz1029
@daniblitz1029 Год назад
@@jfversluis oh, that's not good. I'm doing that for a game I'm creating and I have a lot of different text, I don't know if it's the best idea to do that
Далее
Bearwolf - GODZILLA Пародия Beatrise
00:33
Просмотров 359 тыс.
Animating Controls in .NET MAUI & Xamarin.Forms
19:19
Effective Alerts with Snackbar & Toast with .NET MAUI
15:39
Localization In .NET MAUI (Multi Language Support)
13:15
Don't throw exceptions in C#. Do this instead
18:13
Просмотров 259 тыс.
Reusable, Custom Controls in .Net Maui!
14:09
Просмотров 13 тыс.
Highly Customizable Popups for .NET MAUI with Mopups
18:20
Bearwolf - GODZILLA Пародия Beatrise
00:33
Просмотров 359 тыс.