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

Java Development

Reply
Developer
mbasheerk
Posts: 326
Registered: ‎02-02-2009
My Device: Not Specified
Accepted Solution

separate project for each resource file

Hi

 

I am using blackberry JDE for app development.

I wanted to include multi language facility in app

should I create separate project for each resources(language)?

or I dont need to create other project for resources, in the main project only can include reources

 

Please use plain text.
Developer
simon_hain
Posts: 16,102
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: separate project for each resource file

you have a single rhh file (resource header) and create a rrc file for each language.
----------------------------------------------------------
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
Please use plain text.
Developer
mbasheerk
Posts: 326
Registered: ‎02-02-2009
My Device: Not Specified

Re: separate project for each resource file

hi simon thanks for reply

am asking that need create separate project(jdp) for each rrc file or

can I create rrh file and all rrc file in the main application project 

Please use plain text.
Developer
simon_hain
Posts: 16,102
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: separate project for each resource file

you can create them all in the main project. it is possible to create an own project for them, too, or even provide one cod for each language (which RIM does, for example).
----------------------------------------------------------
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
Please use plain text.
Developer
mbasheerk
Posts: 326
Registered: ‎02-02-2009
My Device: Not Specified

Re: separate project for each resource file

thanks simon

please one more question

 

suppose my app jdp file is "app.jdp"

and I create all language resources in this app.jdp only and after building, will get app.cod and app.jad is this two file is enought to load app in device and change language and corresponding language display on dialogs and screens

Please use plain text.
Developer
simon_hain
Posts: 16,102
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: separate project for each resource file

yes, the resource files will be compiled into your project.
----------------------------------------------------------
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
Please use plain text.