c# - How to get localized display name for the windows store apps -
i parsing appxmanifest.xml , getting display name. contains like
ms-resource:applicationtitlewithbranding, ms-resource:apptitlewithbranding,
ms-resource:appstorename.
when use shloadindirectstring function display name (in format of @{prifilepath?resource} ), don't localized display name. returns nothing.
but proper response apps contain display name ms-resource:///resources/appstorename.
is there workaround localized display names ?
i need work on both windows8.1 , windows10. desktop app.
i passed 'ms-resource:apptitlewithbranding' function along pri file location. that's why did not localized names.
we should not send resource in format : ms-resource:apptitlewithbranding. modify thing in below format.
resource should in format:
ms-resource://package.id.name/resources/apptitlewithbranding
if appxmanifest.xml contains in above format, pass is.
and final format should @{prifilepath?resource}
Comments
Post a Comment