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.
Related
Just to be clear, I'm aware I can customise the font used in the editor window of VSCode to just about any monospaced font I like. I am not asking about what font is used in the editor. I am asking if anyone knows what font is being used by VSCode for the rest of its interface?
I appreciate this is an unusual design question. But it's to do with my IDE and I need to confirm for a theme project I'm maintaining.
Cheers,
Thanks to more docs, some trial and error, and even Wikipedia I can confirm that the font used in VSCode's own interface is SF Pro when running on Mac OS. I'm assuming that it is SF Pro Text and not SF Pro Display, given the use case. I've reversed engineered the interface during theme development in order to help determine.
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
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.
I'm currently using a Vista computer with settings in French.
For creating help files and taking screen snapshots purposes, I need to force windows to display start menu, control panel etc... in English, and later German, Spanish...
Of course, I can't afford to buy several computers! Is there a way to change the system language display?
Windows 7 now comes with language packs (see video)
Apparently the same is true for Vista
[Update] I see I need the full example to explain.
In my Windows Phone 7 App, I got a page containing a TextBox bound to a Decimal "Amount":
<TextBox Text="{Binding Amount,Mode=TwoWay}" InputScope="CurrencyAmount"/>
The phone settings are set to German. In german localization, a value like 1234.56m would be formatted 1.234,56 (unlike the US, where it should be 1,234.56).
Problem is, when I enter a value like 1.234,56 in the textbox, the content will be interpreted for US, resulting in 1.23456m, when it should have been 1234.56m.
So, how do I get the binding on the WP7 to use the current phone culture instead of a generic US one? In Germany people expect to enter a colon for decimals instead of a dot.
Aside from the Settings app's region & language section?
The silverlight related localization stuff is all here at msdn.
There's another windows phone 7 specific localization blog post too.