Bug 40936 - resx localization not working on Xamarin for Mac
Summary: resx localization not working on Xamarin for Mac
Status: RESOLVED NORESPONSE
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Other ()
Version: 0.9.x
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Chris Hamons
URL:
Depends on:
Blocks:
 
Reported: 2016-05-06 11:40 UTC by raheem52
Modified: 2017-03-18 07:03 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description raheem52 2016-05-06 11:40:49 UTC
Hello,
I am working on Xamarin for Mac and working on resx localization. Default resource file by name “AppResources.resx” is detected and works well but when any other language is added ex: ”AppResources.fr.resx” its not detected.

I am using below code to loop and check through Resource file

var assembly = typeof(AppResources).GetTypeInfo().Assembly;

foreach (var res in assembly.GetManifestResourceNames()) 

System.Diagnostics.Debug.WriteLine("found resource: " + res);



But other language resource is not shown.
Any help would be greatly appreciated.
Comment 1 Chris Hamons 2016-05-12 15:42:42 UTC
Could you please attach a small example project showing how you have things setup? 

In particular how you are compiling your resources and AppResources.resx and AppResources.fr.resx files.
Comment 2 Timothy Risi 2017-03-18 07:03:26 UTC
We have not received the requested information. If you are still experiencing this issue please provide all the requested information and re-open the bug report. Thanks!