euronews
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2011
12:39 AM
multi-language apps?
Hi All,
I'm just about to start writing a multi-language app i.e. an app that can display the same content (text + videos) in various languages.
I've looked far & wide for another multi-language app in order to see how the in-app "change of language" was handled but couldn't find one!
Does anyone know offhand of an app that has a similar feature (or do I have to release multiple apps, one for each language)?
Thanks in advance,
Brian
I'm just about to start writing a multi-language app i.e. an app that can display the same content (text + videos) in various languages.
I've looked far & wide for another multi-language app in order to see how the in-app "change of language" was handled but couldn't find one!
Does anyone know offhand of an app that has a similar feature (or do I have to release multiple apps, one for each language)?
Thanks in advance,
Brian
3 REPLIES 3
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2011
04:29 AM
Re: multi-language apps?
Your first problem is going to be with accented characters. Most of the components don't support them (I believe only roImageCanvas does, but I could be mistaken).
You don't need multiple apps. There's a couple of ways you could do it, but you'll have to handle it on your own; there's no built-in support. You could retrieve the text to display from a server or keep multiple versions of the text within the app and switch between languages.
-JT
You don't need multiple apps. There's a couple of ways you could do it, but you'll have to handle it on your own; there's no built-in support. You could retrieve the text to display from a server or keep multiple versions of the text within the app and switch between languages.
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
euronews
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2011
05:04 AM
Re: multi-language apps?
Thanks for the reply!
I tested accented characters and they appear to show as intended on the latest boxes. Arabic or Hebrew characters don't show at all but perhaps I can dynamically install the required font to make them show. I shall have to investigate this further.
The bigger problem for me at the minute is finding a way to display and handle the "change language" functionality within the app - it would have been great to see how other apps did it but it looks as though I shall have to come up with a bespoke solution.
Again, thanks for taking the time to reply.
Regards,
Brian.
I tested accented characters and they appear to show as intended on the latest boxes. Arabic or Hebrew characters don't show at all but perhaps I can dynamically install the required font to make them show. I shall have to investigate this further.
The bigger problem for me at the minute is finding a way to display and handle the "change language" functionality within the app - it would have been great to see how other apps did it but it looks as though I shall have to come up with a bespoke solution.
Again, thanks for taking the time to reply.
Regards,
Brian.
jbrave
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2011
08:50 PM
Re: multi-language apps?
Basically, the only roku components that support true international character sets are the roImageCanvas and the roScreen, and roScreen is the only one that is certain. The other components, to my knowledge, only support ASCII. You need to load you own TTF or OpenType font to handle languages, and write your own GUI from scratch, using roScreen or roImageCanvas. Look up roFontResource and roFont in the Brightscript 3.0 manual.
Joel
Joel
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!