To translate means to convert a program written in one language into a semantically equivalent program written in another, usually a lower lever, language.
26
votes
4answers
26k views
C# - google translate
I have to translate some text with Google's translate service. All code I've found doesn't work. I think because they have changed their service. If someone has working code, I would be very glad.
...
7
votes
4answers
27k views
C# How to translate virtual keycode to char?
I am trying to map a virtual keycode to a char.
My code uses ProcessCmdKey to listen to WM_KEYDOWN which gives me access to the key pressed. For example, when I press single quote I get a key of 222 ...
10
votes
4answers
5k views
Internationalization in PHP
I am currently researching the best methods to integrate i18n into projects.
There's several methods I have thought of doing this, first being a database scheme to store the strings and relevant ...
3
votes
3answers
9k views
How to have a translation service in android app
How can a translation service be called in an Android app? Can we have an app that can translate multiple languages into another?
12
votes
8answers
9k views
Translation in JavaScript like gettext in PHP?
I am using gettext in my PHP code, but I have a big problem. All my JavaScript files are not affected by the translation, can somebody tell me an easy way to get the translations in the chosen ...
2
votes
4answers
1k views
How to translate (internationalize, localize) application?
I need to translate an application on delphi. Now all strings in interface on Russian.
What are the tools for fast find, parcing all pas'es for string constants?
How people translate large ...
6
votes
3answers
2k views
Scaled live iPhone Camera view in center, “CGAffineTransformTranslate” not working
I have a little problem which I could not solve. I really hope someone can help me with that. I wanted to resize the live camera view and place it in the center, using the following code below:
...
2
votes
4answers
4k views
XSL Multiple search and replace function
I am attempting to use the XSL translate() function to create something like a search and replace function as follows:
<xsl:template name="create-id">
<xsl:param name="id" />
...
2
votes
2answers
3k views
how we could create translate validate error messages on zend framework?
how we could create translate validate error messages on zend framework?
someone could give a example ?
thanks
0
votes
3answers
7k views
Can you style the google translate plugin?
I'm using this plugin (http://translate.google.com/translate_tools) to translate my website.
The problem is that I can't figure out how to style it so it does not fit with the rest of the page.
Any ...
4
votes
1answer
977 views
How can I return a Dictionary<string, Object> as JsonResult, AND get the proper result in JavaScript?
I'm constructing my JsonResult in Controller by adding some extra information to an already existing JsonResult (returned from a different method). In order to add more properties, I converted the ...
1
vote
2answers
713 views
Where to place DTO <==> Entity translator in WCF service?
I have the following design :
My Design
I will have a class called 'ProductDTO' in my service layer (the left service).
When the 'Update Product ( ProductDTO )' operation contract is called - it ...
0
votes
1answer
6k views
Need help styling Google Translate button
I'm at a loss for styling the Google Translate button on my website via CSS. Specifically, I want to change the background/text colors from the default white/black to those that will match my page. So ...
17
votes
1answer
3k views
Can PyPy/RPython be used to produce a small standalone executable?
(Or, "Can PyPy/RPython be used to compile/translate Python to C/C++ without requiring the Python runtime?")
I have tried to comprehend PyPy with its RPython and its Python, its running and its ...
3
votes
3answers
1k views
Building a parser (Part I)
I'm making my own javascript-based programming language (yeah, it is crazy, but it's for learn only... maybe?). Well, I'm reading about parsers and the first pass is to convert the code source to ...