© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•13mo ago•
13 replies
SineѶeҀҬOӶ⒉⓸⎤ᚙ▟ ▞╸

ResX localisation issue (android, avalonia)

The ResX files on android don't seem to be loading on the android app, they work fine on linux and windows but android just only accepts the default culture and doesn't show anything else no matter what language I choose.

What I tried (none of these worked).


(
Resources
Resources
is the locale resource.)

1

Changing Thread Culture.
Resources.Culture = new CultureInfo(_language);
Thread.CurrentThread.CurrentCulture = Resources.Culture;
Thread.CurrentThread.CurrentUICulture = Resources.Culture;
Resources.Culture = new CultureInfo(_language);
Thread.CurrentThread.CurrentCulture = Resources.Culture;
Thread.CurrentThread.CurrentUICulture = Resources.Culture;

2

Manual testing of my resource on button press.
[RelayCommand]
private void Test()
{
   _notificationService.SendNotification(Resources.Test);
}
[RelayCommand]
private void Test()
{
   _notificationService.SendNotification(Resources.Test);
}

3

Setting Custom Tool Namespace to
VoiceCraft.Client.Locales
VoiceCraft.Client.Locales

4

Setting build options on each ResX file to AvaloniaResource (this crashed the application)

5

Setting build options on each ResX file to EmbeddedResource (including ones dependent on the parent).
image.png
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Avalonia Issue
C#CC# / help
10mo ago
❔ avalonia cross platform issue
C#CC# / help
3y ago
Resx file problems
C#CC# / help
2y ago
Wpf Resx files
C#CC# / help
4y ago