locked
How to get localized (or globalized) path to file at runtime from code? For example to pass then it to Windows::Storage::StorageFolder::GetFileAsync method.

    Question

  • Hello there!

    For example I have two files which located at following directories (relative to my root project directory):

    DataLoc\en\Textures\some_localized_image.png

    DataLoc\ua\Textures\some_localized_image.png

    How can I get the path in that format DataLoc\Textures\some_localized_image.png? Without language tag.

    This sample Application resources and localization sample demonstrates this approach in localization. But it is XAML framework based sample. And I can't find how to do localization by the same way from native С++ Windows Store app.

    Please give me advice.

    Thursday, October 25, 2012 12:01 PM

Answers

All replies