How to compile for csharp using angular-gettext? - c#

How to generate translation.cs file using the angular-gettext?
I am looking at https://github.com/rubenv/angular-gettext-tools/pull/117 link it says it has support for csharp and and according to its main site (https://github.com/rubenv/angular-gettext-tools) this tool is used for angular-gettext build.
I tried to google but I can't find much information on this. Anyone has tried to use this translation for csharp?

Related

How to get underlying code from a .dyn file

I am trying to get the code from a dynamo file so that I can use it in a C# plugin for Revit. When I open the .dyn file all I see is a bunch of xml. I tried parsing it but this does not help. I am looking for a more automatic way than rewriting all the different methods in visual studio. Is there a way to extract the dynamo script code so that can be run from a plugin? I read that dynamo runs on the .NET framework so I am guessing it must be compiled into this type of code at some point? Any help is much appreciated

undefine AutoCAD commands using .NET

I am looking for a way to customize the AutoCAD move command. I have tried the code in the link below without sucess. I received no errors executing it, it just ran the normal AutoCAD open command.
http://through-the-interface.typepad.com/through_the_interface/2007/03/replacing_the_o.html
I also tried this link with no positive results either.
http://adndevblog.typepad.com/autocad/2012/05/disable-certain-commands-for-a-given-entity-or-a-class-in-net.html
The question posted here titled "Override/Customize AutoCAD Command" suggested using overrules. I am not convinced that this is the right approach either. I am certain that I'm missing something and cannot find sufficient information to determine just what it is. A link to it would be greatly appreciated.

Where do I find the latest Google Docs API with the source code of the samples?

I've been trying to use Google Spreadsheet API in C# by following these instructions.
I downloaded the API from the official Downloads page. However, there are two things wrong with it:
The API seems outdated, because I could not find the class OAuth2Parameters mentioned in the tutorial, only OAuthParameters.
The sample directory only contains executable files and no source code. I could really use the source code of the Spreadsheet.exe sample, as it fits my needs pretty well.
You can grab the source code from the project page - I've just done that and built it with no problems. OAuth2Parameters is in the oauthparameters.cs file. I don't know if there's a binary release of the latest version of the libraries, I'm afraid.
(Note that I work for Google, but this post isn't written on behalf of Google - I haven't had much to do with the GData API, although I know someone who has, so if this answer doesn't help I may be able to get more information on Monday...)

c#-doc-viewer for VisualStudio

c# offers a nice way to document your c#-code. But I don´t find any nice viewer. I search something like the java-doc-viewer in eclipse. This viewer allows you to browse in the java-doc just by moving your mouse over eg. a class-name.
Does someone know a good extension for Visual Studio 2010 that contains such a viewer?
I have the "Productivity Power Tools"-Extension installed. But it hasn´t a real doc-viewer either.
Edit:
Here is a picture of what I search:
And this is the best I can find for VisualStudio:
You try using CR_Documentor, if you don't mind installing Code Rush (alone for that purpose; you only need the free "DXCore" actually, checkout the project's homepage for more information).
Note that this tool doesn't require a prior generation of the documentation using tools like Sandcastle. It works by simply placing your cursor in a API comment block, e.g. that of a method.
Obviously, this has some drawbacks, for example, links to other items (e.g. <see/> or <seealso> will be rendered as a link, but don't work as such).
This is what it looks like:
I was using it once, way back when it was still maintained by the original author Lutz Roeder, and it did it's job well. I have not been using it since.
Update: You could also use ReSharper, which provides a "Quick Documentation" feature.
There isn't any built-in tool in VS for viewing the documentation of your code. You have to generate the documentation pages from the XML doc, using external tools.
Free tools:
Sandcastle is the most well known, it has a lot of features, but it doesn't seem to be maintained any more and it's quite difficult to use (although Sandcastle Help File Builder makes it significantly easier, and is still maintained).
docu is simpler to use, but not specific to .NET
Monodoc (from the Mono project)
Commercial tools:
VSdocman
Document! X
Doc-O-Matic
ForgeDoc: this one is quite new and looks very promising: very lightweight, simple to use, fast, good-looking output... It's also much cheaper than the others above
You can use NDoc to build the API documentation and generate help files (typically HTML files)
http://sourceforge.net/projects/ndoc/

Using c# to call google translator

I have to write some C# code which will enable me to translate a text file saved on my computer, using Google Translator. I want to write code to do this, but i am not sure where to start. I am new to this topic, but I think i have to download Google Translator API, but I'm not sure where to download this from. Please help me with this problem.
There is actually an open source project hosted on CodePlex named "Free language translator and file converter"
Here is the link: http://languagetranslator.codeplex.com/
This also use Google Translator service. As it is open source you can always see how it works. :-)
Try this http://code.google.com/intl/en-US/apis/language/

Categories