Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 164
Registered: ‎11-27-2012
My Device: Z10 LE,Dev Alpha C
My Carrier: China Mobile
Accepted Solution

How do I place locale specified resources ?

for example,

there's 2 images, one is for en-US , the other is for zh-CN

 

how do I place it so it will be auto recognized by cascades ?

 

thanks.

BlackBerry Cascades / WebWorks developer, Vendor name: anpho
Developer
Posts: 16,992
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How do I place locale specified resources ?

there is no automatic mechanism for that.
you could add the image paths to the translation files or use a standardized name pattern and replace images in onlocalechanged.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Highlighted
Developer
Posts: 164
Registered: ‎11-27-2012
My Device: Z10 LE,Dev Alpha C
My Carrier: China Mobile

Re: How do I place locale specified resources ?

oh..too bad. well thank you .
BlackBerry Cascades / WebWorks developer, Vendor name: anpho