Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localisation failing in Windows Store apps #75

Closed
nigel-sampson opened this issue Feb 4, 2014 · 1 comment
Closed

Localisation failing in Windows Store apps #75

nigel-sampson opened this issue Feb 4, 2014 · 1 comment

Comments

@nigel-sampson
Copy link
Contributor

As far as I can tell all Localisation methods are failing in Windows Store apps. The root causes appears to be the loading for the resource strings.

All calls to DateTime.Humanize and TimeSpan.Humanize are throwing an ArgumentNullException in String.Format.

In the below example the result is null rather than the resource string.

var resource = Humanizer.Localisation.Resources.GetResource(Humanizer.Localisation.ResourceKeys.TimeSpanHumanize.MultipleDays);
@faisalr
Copy link
Contributor

faisalr commented Feb 5, 2014

Fixed it, you will have it working when I get my pull request merged.

@MehdiK MehdiK closed this as completed in 9be7f97 Feb 12, 2014
MehdiK added a commit that referenced this issue Feb 12, 2014
NeutralResourcesLanguage resolves #75 in Windows Store apps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants