monkeysource
9 years agoVisitor
Localised images not loading
Hi,
I'm trying to localise some images, but they are not being found within the locale folder.
My folder structure is as follows:
locale
default
images/try.png
en_GB
images/try.png
And my XML is
But the image will no load, unless I give it an exact URI to a specific localised directory. I've confirmed my locale is "en_GB" from GetCurrentLocale() function on the device.
Thanks,
Ryan
I'm trying to localise some images, but they are not being found within the locale folder.
My folder structure is as follows:
locale
default
images/try.png
en_GB
images/try.png
And my XML is
<Poster
id="tryPoster"
uri="pkg:/locale/images/try.png"
translation="[227.0,104.0]" />
But the image will no load, unless I give it an exact URI to a specific localised directory. I've confirmed my locale is "en_GB" from GetCurrentLocale() function on the device.
Thanks,
Ryan