diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 39aee57..961c80b 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyInformationalVersion("1.5.0-beta1")] +[assembly: AssemblyInformationalVersion("1.5.0-beta2")] [assembly: AssemblyVersion("1.5.0.*")] diff --git a/Utilities/L10n.cs b/Utilities/L10n.cs index d4768aa..8a4bb01 100644 --- a/Utilities/L10n.cs +++ b/Utilities/L10n.cs @@ -27,7 +27,8 @@ public static void OverrideCurrentLocale(string localeId) _locale = NSLocale.FromLocaleIdentifier(localeId); - var path = NSBundle.MainBundle.PathForResource(_locale.LanguageCode, "lproj"); + var path = NSBundle.MainBundle.PathForResource(_locale.LanguageCode, "lproj") + ?? NSBundle.MainBundle.PathForResource("Base", "lproj"); BundleForCurrentLocale = string.IsNullOrEmpty(path) ? NSBundle.MainBundle : NSBundle.FromPath(path);