Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
destruk
Binge Watcher

Localization Translations

It would make a lot of sense for the localization
feature to have all the supported languages and country codes for
translation in the channel, as they are official complete lists,
instead of roku adding them individually.
Would you please put it on the roadmap or as a task to simply import
the options so they are available to developers?

The official ISO 639-2 Language Codes are here:
https://www.loc.gov/standards/iso639-2/php/code_list.php

The official ISO 3166 2-letter country codes are here:
https://www.iban.com/country-codes

These would be used in conjunction with the localization features
GetCurrentLocale() and GetUserCountryCode() of roDeviceInfo
https://developer.roku.com/docs/references/brightscript/interfaces/ifdeviceinfo.md#getcurrentlocale-...

"A future enhancement to GetUserCountryCode() will return the 2-letter
country code instead of the Roku Powered Channel Store Identifier. We,
therefore, recommend that channels utilize both to avoid having to
update later."

 

[Topic relocated to Developers Program] 

0 Kudos