Monodevelop, how to set locale programatically - localization

In my gtk# solution in monodevelop 2.6 i have translation project. When i start my application with LANGUAGE=lang mono application.exe application is translated.
But, i wanna set locale programatically.
How to do that?
I tried to find solution, but with no success :(

There is a Gtk.Global.SetLocale method which will have the same effect as setting LC_ALL.

Related

WebStorm and Dart autocomplete

I have been trying to figure this out for a few hours now with no result. I am doing some tutorial in trying to learn Dart. For some reason, my IDE does not seem to autocomplete like the instructors do. Anybody has any idea if there is any settings I should turn on?
On the left, is the video and on the right is what I am getting. In this case, I am not getting any #overide...
It's relatively new feature, make sure you use one of the latest Dart SDK 2.0.0-dev releases.
Also don't forget to add the Dart support for your project because the language is not automatically selected :
In Settings, go to Languages & Framwework, select Dart and verify the
Dart SDK path is correct.

Is it possible to make Xcode auto complete to act like visual assist?

I am using Xcode 6.1 on Yosemite, writing IOS apps using swift.
For example:
If I type:
myClass.st
I was hoping the editor to show me this:
myClass.SetTitle()
but the reality is not what I had expected.
the editor says no match. In case of visual assist or Sublime Text, "st" mathes "SetTitle"
Sometimes people only remember a few keywords of the long variable name, rather than the full name from the very beginning.
Is is possible to solve this issue by some plugins?
Thank you
I think I have found the answer to this.
The plugin is called
FuzzyAutocompletePlugin
Written by GitHub.com/chemo

In xcode 5.0.1 "base Internationalization" can not be configured?

I am trying to localize my app. I noticed that if I add a language every localized file become doubled. In this way it's impossible to maintain code or storyboard so I learnt that I need Base internationalization.
The problem is that I don't know where to configure the base internationalization in the Project-> Info. Unlike describe in the link, The setting is not available in xcode 5.0.1.
Does anyone know how to find the setting to configure base internationalization?

Outlaw setting Corona SDK wierd issue with addressing

So this is the problem I have with my Outlaw:
My Corona SDK is in that adress:
C:\Program Files (x86)\Corona Labs\Corona SDK\Corona Simulator.exe
I'm going to Preferences --> Corona SDK simulator --> puts this adress.
once I'm trying to lunch my program, Outlaw says this:
"Windows cannot find 'C:\Program\". make sure you typed the name correctly, and then try again"
I've figures it doesn't recognise spaces (lamest thing ever). what the hell should I do? I don't want to mobilize my entire computer to non-spaced folders.
I've stumbled to the same problem trying to use Outlaw on Windows. I've tried adding quotes, tried options with PATH, but ultimately I've to just gave up.
Apparently author never tested his app under Windows :)
As a side note I can recommend ZeroBrane Studio as an excellent alternative. It's free and works great with Corona.
You need to use the Browse button in Prefs to point to the simulator exe; don't type in the pathname. I should probably make that field read-only so you have to use the Browse button.

BlackBerry on-device debugging does not show string values

On simple button click in BlackBerry I am writing this:
String str = "xyz";
labelField.setText(str);
When I debug the code, under the "Variables" window I cannot see value of 'str' as 'xyz' -- it is showing value of str equal to null and when I click over it, it is showing this message:
Method "toString" with signature "()Ljava/lang/String; is not applicable on this object
though the code is working fine.
What is the problem in debug mode?
Hey guys I think I have the solution for you.
Since I was having the same problem and was looking arround to find some answers (and didn't find any) I tried to just solve it by the trial-error method.
To cut the long story short: Check if you accidently have deleted your emulator *.debug files. For example I've had deleted mine (don't ask why :) ), so after I restored the whole simulator folder within the RIM JDE I've tried to debug again and voila - I could now see the values of the variables.
This is the location of the simulator folder within my BB JDE Eclipse Plugin (The standalone version that contains eclipse itself). The used BB JDE is 4.5.0 but the same folder structure is found on any JDE version.
C:\Users\GDimitrov\Documents\programs\bb_jde_plugin\plugins\net.rim.ejde.componentpack4.5.0_4.5.0.28\components\simulator
And this is the location of the simulator folder for the BB JDE 4.5.0 installed additionally through the BB installer.
C:\Program Files (x86)\RIM\BlackBerry_JDE_4.5.0\simulator
Cheers
Simply add System.out.Println statement there to display message you want.

Resources