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. I also invite you to share and subscribe to the newsletter by using the buttons below! Cheers  😉

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Leave a Reply

avatar
  Subscribe  
Notify of