I am parsing some turkish response from the web service.It parse successfully in Blackberry torch and 8520 but while coming to Blackberry 9700 its not working it show some undefined characters in text.I am not understand what is the problem.
Do like this:
RightClick on "ProjectName"-->properties-->Resource-->Text file encoding-->click on "Other" radio button and select "UTF-8";
build the project and run it;
Does the 9700 have Turkish fonts installed? See if you can switch the device locale to Turkish.
Related
I trying a simple hell world qt quick app on ios & android.
I did the following:
1. Took the most basic hello world qt quick project with "Hello World" written with qsTr() of course
2. Ran lupdate on main.qml & created main_no.ts for norwegian
3. Opened main_no.ts in linguist app. Gave the translation for "Hello World" as "Hei Verden"
4. Saved main_no.ts
5. Ran lrelease on main_no.ts. This created main_no.qm
6. Opened my project's .pro file and added the following
TRANSLATIONS += main_no.ts
Rebuilt my app
Ran it on iPhone where the language was set to english
App launched. The text "Hello World" showed up. All great untill now
Next I changed the language to Norwegian ("Norsk Bokmal").
Relaunched the app & it crashed !!!!!
After this it keeps crashing on every launch even if I change the language back to English.
Can anyone please tell what is wrong that I am doing ?
Thanks a many in advance.
I want to add some languages to my application. At the beginning, I started just in german. So after I finished the application, I wanted to add english to it.
So I opened up the project file, and saw that my applications "Development Language" is english. So I added german there and added german in my Localizable.strings file and started to change the english file.
After I was finished, I saw that in my info.plist the key Localization native development region was set to "en". So I changed it to "de". Unfortunately, the "Development Language" was still "english". So I opened up the .xcodeproj file with a text editor and changed the "Development Language" to german. Now my "Development Language" is set correctly to german.
"Use Base Localization" was checked by default.
But now I have the problem, when I run my application with a german device, the whole app is in english and not german. When I run the app with an english device, it's in english,too.
Can someone help me?
Thanks!
Ok, it seems like it's a Xcode/iOS simulator bug... It works when I follow the instructions on the top of this question.
I have developed an iOS app in FireMonkey XE5 (Update 2) and am deploying this on an actual device. Is it possible to have the app name as two words with a space in between eg. "My App"
One cannot include spaces in the project name in Delphi.
I cannot see any options to set this, and in the Deployment options I have changed the "Remote Name" of my project output file, but that does not work.
The name that appears under the icon on the IOS screen is in:
Project - Options - Version Info - CFBundleDisplayName.
You can change that to anything you want.
From iOS 11 - iOS system will delete simple spaces from a CFBundleDisplayName name.
So insert Unicode Character 'FIGURE SPACE'. Press Alt + 2007 - this will create this char: ╫ . Now recompile project - and you will see space in iOS project.
E.g.: My╫Project
I was following one of Ray Wenderlich's tutorials on localization but I can't seem to get it working.
I've set my project up for localization in English and French and I have a locaziable.strings file for each:
The French file has the correct (well as far as Google translate goes) French versions of my string:
I'm setting the strings by calling the correct key from the localizable.strings file:
NSString* strTitle = [NSString stringWithFormat:NSLocalizedString(#"Title", Nil)];
And I have the simulator set to French (BTW: Whenever I do a language change the simulator crashes).
But it is not pulling from the correct localizable.strings file. It's still displaying in English:
Am I doing something wrong?
If you are using xcode 6.1.1 and iOS sdk 8.1,try this workaround.
It seems localization does not work with xCode 6.1 and 8.1 simulator.
Workaround:
Go to "edit schemes" >> "Run" (side bar) >> "Options" tab >> "Application Language"
Select the language you wish to run the app on the simulator.
I got this workaround from Workaround by natanavra
Thanks to him.
However I read on developer forum,that it is working in 6.2 beta version of Xcode. Hope it do.
Maybe you have run the app at some time where the file Localizable.strings already existed but has not been localized yet. If this is the case, this unlocalized file still resides in the resources folder in the application bundle in the simulator (when you build an run a new version of your app in the simulator or in the device, unused files will not be deleted). This can lead to problems.
Try to delete the app completely from the simulator and build an run again.
I have experienced similar issues (IB localization in my case) on device. So general answer would be
Device - Uninstall app and clean project by Shift+CMD+K
Simulator - Go iOS simulator > Reset Content and Settings and clean project by Shift+CMD+K
These problems are really annoying. Along with poor ability to update localized strings is localization one of the biggest drawback of iOS development.
Another problem that could cause localization not work is the encoding of the strings file. Localizable.strings's encoding must be UTF-16. The default encoding of text file in xcode is UTF-8, that cause me spending a whole day to check why the localization not work.
In Xcode 6.0 and later, Localization not work by changing language in Simulator not working.
You have to edit scheme before running your application.
Go to Edit Scheme -> Run -> Options, change language here.
Now, Run Your Application. It will Work.
For more details, check this answer : Changing language on iOS 8.1 simulator does not work
My problem for this was an incorrectly encoded character in the localization file.
I'm using 5.0 field2.BrowserField as in-app browser, but on 9800 simulator page isn't displayed. (tested on SimPackage-6.0.0.246_9800-ATT,SimPackage-6.0.0.141_9800)
BrowserField browser = new BrowserField();
add(browser);
browser.requestContent("http://www.blackberry.com" + ";deviceside=true");
what is problem?
I think there is an issue with the Browser Field on Simulator for the 9800 - 9850 devices. I have noted however, if you install the your app unto the simulator from a .cod file instead of loading it via IDE, the browser field will load the required page correctly, without issue. However, the browser field may still misbehaves on a real device, it does not render links embedded into the page correctly on my app for an example.
for simulator no need to add parameter just use http://www.blackberry.com
make sure you run the simulator with MDS simulator