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
lcaro
Posts: 95
Registered: ‎10-19-2010
My Device: Blackberry 8110

How to handle texts

Hi,

 

I am porting a Java application to BB10 using Cascades. The Java app contains a lot of texts. Those texts are handled in Java using resources(the app supports different languages).

 

I can't see anything like that in Cascades. So far I'm using a Constants class to handle all the texts but I have to search manually for the texts in the file to make sure I'm not creating another constant for the same text. You can handle keys and values very easily in Java using resource files.

 

My question is: What is the best practice to follow in this scenario? Will it be like an editor in which we will be able to see all the texts and their translations for all the languages our app is supported?

 

Thank you very much indeed

Regards

Please use plain text.