01-07-2013 10:00 PM
I've been able to get Vietnamese and Thai working, but not Chinese (Traditional & Simplified), Japanese or Korean on the device.
I'm running a Mac and don't have VMware for the simulator, only testing on the device. I have the latest firmware update on the device.
Are any of the languages above accessible? I only see two sets of characters at the bottom of the languages that are probably Chinese, and on one of them it has an X for the first character, which implies the characters are not all installed.
Has anyone gotten Chinese, Japanese or Korean working on the Dev Alpha A or B?
01-08-2013 07:04 AM
I have succed test Japanese font in dev alpha b, here sample app with japanese text in it:
http://appworld.blackberry.com/webstore/content/43
Blackberry 10 screenshot is't available yet, but it already work (so get approved by appworld storefront)
01-08-2013 11:07 AM
01-08-2013 11:10 AM
Blackberry 10 screenshot is't available yet
Were you able to see the Japanese characters on the dev B screen when you tested?
01-08-2013 11:12 AM
I was able to switch Display Language to Chinese
I can change the languages, but not display localized characters in an app. Were you able to display localized characters in your app?
01-08-2013 11:25 AM
it just I haven't update the graphics screenshot since the app is submitted in the last port-a-thon ![]()
here the screenshot one page of the app (it contain arabic & japanese characters)
if you want to display unicode characters (ie. japanese or arabic) in your app, make sure to add
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
in your app constructor ![]()
01-08-2013 11:45 AM - edited 01-08-2013 11:46 AM
I have your line added in my main file:
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
I have translations added to bar-descriptor and ts files for zh-CN, zh-TW, ja, and ko.
One part of my app shows the localized time correctly, with a few Chinese characters before the numbers.
But the rest of the text isn't translated.
All of the other languages are working. ![]()
Did you get your screen shot from simulator or device?
01-08-2013 11:46 AM - edited 01-08-2013 11:47 AM
I've tried this code and I see them both in label and textfield:
Container *container = Container::create()
.top(16).bottom(16)
.layout(new StackLayout)
.add(Label::create()
.text(QString::fromUtf8("检查字体")))
.add(TextField::create()
.text(QString::fromUtf8("检查字体")));
Screenshot (from device):

01-08-2013 11:58 AM
Well, that doesn't make sense. I'm using tr() to set strings, and all the other languages are working except East Asian ones.
textArea->setText(tr("Some text","comment"));
01-08-2013 12:12 PM
What's also really weird is that the title under the icon is correctly showing in Chinese.