translation

VB.Net: Looping through all form items, including CommonDialogs

Hello everyone! I'm translating my VB.Net application, and I need to loop through all the controls on my form. Using a recursive function such as Public Sub TranslateControl(ByVal Ctrl As Control) For Each ChildCtrl As Control In Ctrl.Controls ChildCtrl.Text = Translate(ChildCtrl.Text) If TypeOf ChildCtrl Is Label...

asp to php translator

hi, I am looking for some asp to php translator. I tried http://www.design215.com/toolbox/translator/ it is totally buggy. please suggest me good think. Thanks in advance. ...

What is the optimum way to display language selection?

When it comes to language selection there are several approaches: all langs in English all langs in their own language - this can put you in a difficult situation when you want to switch to your language but you don't know what each language in its own language lang in current language (lang in its own language) - this is the most comp...

Remove Translation from Matrix

Is it possible to remove just the translation element from a Matrix object so that only Scale and Rotation elements remain? Thanks ...

What's the best database structure to keep multilingual data?

Here's an example: [ products ] id (INT) name-en_us (VARCHAR) name-es_es (VARCHAR) name-pt_br (VARCHAR) description-en_us (VARCHAR) description-es_es (VARCHAR) description-pt_br (VARCHAR) price (DECIMAL) The problem: every new language will need modify the table structure. Here's another example: [ products-en_us ] id (INT) name (VA...

Python - letter frequency count and translation.

Hi, I am using Python 3.1, but I can downgrade if needed. I have an ASCII file containing a short story written in one of the languages the alphabet of which can be represented with upper and or lower ASCII. I wish to: 1) Detect an encoding to the best of my abilities, get some sort of confidence metric (would vary depending on the len...

Which tools can help in translating (as in french -> english and not C++ -> java) source code?

I have some code that is written in french, that is the variables, class, function all have french names. The comments are also in french. I'd like to translate the code to english. This will be quite a challenge, since it's a 18K lines project and I'd like to know if there is any tool that could help me, especially with the variables/cl...

Resources for translating common programming terms for UI into other languages

I'm not even sure this is entirely programming related...but here goes: I need to translate some forms into different languages, specifically Spanish and French. Obviously, it would be good if I knew these other languages fluently, but I don't. Besides doing a Google translate, babel fish, etc. are there any resources which can assist i...

How to get the object with its translation using getRoute in Symfony?

I have several models with translations. When I load $this->tour = $this->getRoute()->getObject(); por example, it gets me the Tour Object. However, it doesn't join to the tour_translation table; so when after i try to get it's title; symfony makes another sql query. How I can override something, so in the Tour model when I ask for t...

How do I create more than 1 translation for a string in poEdit?

I followed this tutorial http://mel.melaxis.com/devblog/2005/08/06/localizing-php-web-sites-using-gettext/ where Hello World is translated into German. If I want to translate Hello World to other language. Do I have to create another message.po and messge.mo file or I can add another translation in the same file or there's another way? ...

rotation, translation in opengl thorugh header file?

i've a header file called base.h which has all initial display and stuff like, my main aim is to simulate a robot with degree of freedom. class center_rods { public: center_rods() { } void draw_center_rod() { glPushMatrix(); glTranslatef(0,1,0); ...

Accessing Google Translation Service (C# WinForms)

Hi All I've seen many websites AND programs that access the google translation service. I'm trying to create a little app where there are basically 2 TextBox controls and a Button, where you can select a language to translate from and to... But how do I access the API?? I've not found anything so far. Or if anybody knows of any other tr...

machine translation of HTML blocks

Is there any API (like google translation api) in PHP which allows to translate HTML blocks and translate only text out of the html ? ...

How to efficiently rotate and translate a plane in 3D

I have a plane defined by a normal (n) and a distance (d) (from the origin). I would like to transform it into a new system. The long way is like this: 1) multiply distance (d) with normal (n) resulting in a a vector (p) 2) rotate (R) and translate (v) the vector (p) to get (p') 3) normalize (p') to get the normal 4) use another algorith...

What are your crowdsource translation management system recommendations?

I'm looking for a tool to help with crowdsourcing the translations for a web site. Some generous translators have volunteered to help so I want to provide them with a tool to use that will make their job as easy as possible. Ideally the tool/app will be free or have only a small charge. Ideally I'd like a translation system that makes ...

Django i18n: Common causes for translations not appearing

I am making a multilingual Django website. I created a messages file, populated and compiled it. I checked the site (the admin in this case,) in my wanted language (Hebrew) and most phrases appear in Hebrew like they should, but some don't. I checked the source and these still appear as _('Whatever') like they should, also they are trans...

Drupal: Url alias for language frontpage

I have set Drupal to determine the language from the URL (path prefix), thus / is english and /da is Danish. This works fine for all pages except /da The frontpage for Danish is /node/14 but it doesnt show when I go to /da Also content marked Language neutral is not showing for any language. Any ideas? p.s. I'm using Drupal 7.0 Alpha...

Equivalent to MFC CInternetSession in Java?

Hello. I'm in the process of migrating some of our old code into Java and have become stumped on connecting to (what I believe are) MFC ASP ports. In the old code this was done via CInternetSession, but I'm uncertain of what the Java equivalent would be. As an example, the old code had the following: CInternetSession sess; pHttpConn...

what is the best way to put a translation system in php website?

Hi everybody, I'm deevelopping a website in PHP and I'd like to give the user to switch from german to english easily. So, a translation politic must be considered: Should I store the data and its translation in a database table ((1, "Hello", "hallo"), (2, "Good morning", "Guten Tag") etc .. ? Or should I use the ".mo" Files to store...

Asp.net Site Translation Tools?

I have a fairly large professional web application that has had parts of it translated already about a year ago but now needs to be taken to the next level with the whole thing done. There are over 1500 resx files. What I would really like is a tool that could let me edit all the resx files in a .net web application that can: Allow fo...