How to get Package or StorageFolder for current locale package? RRS feed

  • Question

  • We have existing application for Win 8 and now we're re-targeting it to Win 8.1 RTM using VS 2013 RTM.

    Now when creating app bundle we get separate folders for each locale with our localized data.

    Problem is that we can`t load that data at runtime. In Win8 we're using Windows.ApplicationModel.Package.Current.InstalledLocation.GetFileAsync(), which obviously does not work now as locales now are in separate packages

    I've tried using StorageFile.GetFileFromPathAsync() passing relative path to file, and GetFileFromApplicationUriAsync() adding ms-appx:/// to file path, but it doesn't work

    So how do we load such data in Win 8.1?

    Tuesday, October 15, 2013 2:27 PM

All replies