November 22, 2024

Mindgaze.Languages library update

Hello there! A couple of days ago I managed to come up with a new release of the C# multilanguage library Mindgaze.Languages. The new version is now 1.3.0 and the only feature that has been added is the fact that the language files can also be loaded from embedded resource, not only from the file system. I added this possibility because for various reasons, you may not be able to load languages from the file system. I encountered this in Xamarin.

In order to load files from resources embedded in the assembly, you need to pass the assembly as the first parameter of the LoadLanguagesAsync function. Be aware that slashes ‘/’ from the file system are to be replaced with dots ‘.’. The rule applies also when importing or loading strings from external file.

A small change is that the function LoadLanguages function has now been deprecated and is just renamed to LoadLanguagesAsync with the same functionality.

If you want to know more about this library you can check the articles below:

If you wanna know more about this project or even contribute, please check the source code hosted with ❤ on Gitlab. There is also a test project there where you can study about how to use the library.

Thanks for reading, I hope you found this article useful and interesting. If you have any suggestions don’t hesitate to contact me. If you found my content useful please consider a small donation. Any support is greatly appreciated! Cheers  😉

afivan

Enthusiast adventurer, software developer with a high sense of creativity, discipline and achievement. I like to travel, I like music and outdoor sports. Because I have a broken ligament, I prefer safer activities like running or biking. In a couple of years, my ambition is to become a good technical lead with entrepreneurial mindset. From a personal point of view, I’d like to establish my own family, so I’ll have lots of things to do, there’s never time to get bored 😂

View all posts by afivan →