08-13-2012 01:01 PM
As far as I know you can add set up app icons for different languages (WebWorks Webcast Slides page 12). For localization of the app name, perhaps it is working using the config.xml's <name> element together with its xml:lang attribute to use it in that way for example:
<name xml:lang="en">Hello World! application</name> <name xml:lang="de">Hallo Welt! Anwendung</name> ...
I don't know if this is working, if not it would be a good point for some more declarations in the documentation if this element could be used in such an use case or, if not, to add a feature request to the github repos, isn't it?
08-13-2012 01:47 PM
Thanks for the quick reply. I tried that approach. But, it didn't work on the device.I am testing it on Blackberry Smartphone. Please let me know if you have any other solution.
08-13-2012 02:06 PM
08-13-2012 02:18 PM
Good question, but I don't know if this will be possible for BB OS for SmartPhones, PlayBook and BB10 in the future since the request is "only" in the BB10 packager repo at this time. Give it a try and ask the guys if it will be possible. I couldn't find the github for BB OS, only PlayBook and BB10 I can find.
08-13-2012 03:53 PM
There is a similar topic here with an approach:
Basically, this involved having an auto-start entry point that runs, checks the locale, and updates the application name on the home screen then shuts itself down. It's not pretty, but the BBOS unfortunately doesn't have a full-fledged solution at this time.
08-13-2012 04:06 PM
That might be really an approach for BB OS for Smartphones at this time, but since the <name> element with an xml:lang attribute is documented I couldn't find an use case other than to change the app name "automatically" to OS language specific, isn't it? Is it documented and not implemented yet?
08-13-2012 05:10 PM
Hi Erik Oros,
Thank you very much for the reply.
I read the thread you are referenced to. I understand that there is an JavaSctipt API to change the application name.
But i really don't know how to create an auto-start entry point application.
Can you please refer us to a place where we can find documentation or an example code to create an auto-start application?
08-13-2012 05:31 PM
For a run-at-start entry point, check out this config.xml tag:
With that locale, you can then leverage the setHomeScreenName method to do your update.
It's a few steps, but should be able to achieve what you're after. If you get stuck at any step, just let us know.