I have an issue with DecimalPad keyboard type for iOS in NativeScript. In eu locales it is common to use comma instead of dot for floating numbers so DecimalPad keyboard exposes comma character.
My app business logic requires to support US locale only despite locale of an actual device. So how can I override keyboard locale in my app to US fixed?
At any locale I want to have a dot character:
I would really appreciate a code snippet for NativeScript (Angular) though objective-c one also might help.
Try the nativescript-numeric-keyboard plugin, it has the locale option to customise the decimal point.
<NumericKeyboardView locale="en_US" text="456.78"></NumericKeyboardView>
Related
I have a hard time finding information on how I would go about developing a keyboard layout that uses IME without it just being information on how I can simply add a new keyboard layout that uses the microsoft IME or how I can use the Microsoft IME in my applications.
What I want to do is making the whole thing from scratch. It's not supposed to be for an existing language (so it's not like any of the existing IMEs would be an alternative) but, obviously, having information on how I'd go about developing an IME for Japanese, Chinese or Korean is also a nice thing.
Google has their own IME that is cross platform so I assume that it is possible to do it but I just can't find any information on it.
Thanks
The OS is Windows 8.1, by the way.
I'm a bit late, but I don't like open questions (to which I know the answer) ;-)
Hope it still helps: Microsoft's Keyboard Layout Creator (MS KLC) is what you need. https://msdn.microsoft.com/de-de/goglobal/bb964665.aspx
This is related with unicode support. The current RPG Maker ruby version is 1.8, The problem is, using english RPG Maker, one cannot display non-standard character such as kanji (japanese characters) inside game's message window. The text was stored properly in a variable but messed up when being shown on game's message to display text. It is shown properly on console. The result was the text shown blank or in form of random boxes. I have made sure my system locale set to japanese
Then I played a japanese game made with RPG Maker, it works fine, I can see those kanji. But then I try to edit them using my english RPG Maker XP, save them, play it again, the game run without error but the text are all gone (invisible). I tried multiple experiments on this, including changing the font, unicode of where the text was stored, .dll being used, RTP Version, none of them serve as solution.
In short, in order to display japanese text properly, I have to use Japanese RPG Maker XP. I already own an english RPG Maker and I want to distribute my game in japanese language. And this unicode problem lead me to a dead end, there is no point if my RPG Maker cannot display japanese characters.
Why ? we have an exactly same software to create a game, only different language but why I cannot see the text ? I have English RPG Maker VX (newer version than XP, built in newer version of ruby) and it has no such problem. But I don't want to use VX nor VX Ace.
This localization problem was just one of reason I ask : is there any possible way, to update the ruby used in RPG Maker which only provide partial unicode support ?
The Characters won't show up in-game if the Font used does not support Kanji Characters. The default Font in the English Does Not Work with Kanji!. Set the font to one that supports the characters (i used a script to set the font) and you or Anyone playing wont have to change their local. font must be installed on your system AND in the Fonts folder of the game to work.
I am developing app for window phone 7 .I call one service that return me xml. This xml contain Arabic as well as English content. I can read English content but for Arabic character output look like this ?????????.
I want to display both Arabic and English content in my app please help me
Looking at the Segoe WP family of fonts I have on my computer (which I got by installing the WP7.5 dev tools), the font doesn't contain Arabic characters. This is why you're seeing question marks.
So, seems like you need to use some other available font which contains Arabic characters or embed your own entirely. See this link for a list of available fonts, the editor is a bit weird in the sense that it allows you to use any font even though there's just a limited set of fonts available.
I think the following post may help you:
Indic language display
My goal is to display the control DateTimePicker and MonthCalender from VS2010 in English when my Windows 7 is in Norwegian.
My problem is that I don't know how to make the date to display in English when my computers settings is not in English.
How can this be done?
Use SetThreadLocale to override locale setting of your application.
I'm now learning iPhone development with Monotouch and use Mono Develop for IDE. Everything works fine and I'm going to buy a license for MonoTouch. However, the IDE can not display Thai text correctly.
It just display [] that is difficult for me to type message in Thai. Although this text display correct in runtime (iPhone Simulator).
I think this problem occurs in MonoDevelop.
Please could you help me to solve this problem.
PS. I tried everything that I can do. For example, change file format to UTF 8 , 16 and copy text from other programs that display Thai text correctly.
I'm looking forward to hearing from you
Theeranit
Unfortunately, the library that MonoDevelop uses for font rendering on Mac, called Pango, has problems with font fallbacks. That means that if the primary font doen't contain the character you want, it can't fall back to another font for that character.
You can work around this by setting a custom font in MonoDevelop preferences. Set it to a font that contains Thai characters.