translation

Using settings.LANGUAGES with properly translated names using gettext()

From Django Documentation: If you define a custom LANGUAGES setting, it's OK to mark the languages as translation strings (as in the default value displayed above) -- but use a "dummy" gettext() function, not the one in django.utils.translation. You should never import django.utils.translation from within your setti...

Is there a tool to assist in producing an XSL, which would translate XMLs described by one XSD to XMLs described by another XSD?

Dear ladies and sirs. I am new to XMLs/XSDs/XSLs. I have two XSDs. I wish to generate an XSL that would translate XML files complying with the first XSD to respective XML files complying with the second XSD. I reckon there are tools that automate this task, given some help from the human, of course. Do any of you know of such tools? ...

Help with translating this assembly into c

Hi. My compiler won't work with an assembly file I have and my other compiler that will won't work with the c files I have. I don't understand assembly. I need to move this over but I'm not getting anywhere fast. Is there someone out there that can help? I can't believe there isn't a translator available. Here is the beginning of the...

Cufon text disappears when using Yahoo Babelfish

Has anyone experienced this? Cufon text disappears when using Yahoo Babelfish. Thanks! ...

Translating php app with gettext

From my previous questions about gettext, one of the biggest benefits of using PHP's gettext extension instead of other methods of language translation was that it is super easy to have other people make translation files with a program called Poedit. Now I have gettext working in my app but I have not made any translation files yet, ...

QSqlQuery with International chars does not return a result

I have a Sqlite database that has ClipArt tags in, we are translating that database to Swedish however my database query now does not return a result if the characters are non-English British. For example, fisk == fish and that works perfectly, however öst == east but that fails. I am constructing the query in a QString from a QLineEdi...

ASP.Net / MySQL : Translating content into several languages

I have an ASP.Net website which uses a MySQL database for the back end. The website is an English e-commerce system, and we are looking at the possibility of translating it into about five other languages (French, Spanish etc). We will be getting human translators to perform the translation - we've looked at automated services but these ...

How do I convert this PL/SQL update statement so that is works in SQL SERVER?

I've been asked to convert this statement from PL/SQL to SQL Server: UPDATE pdi_nb_process_complete pdi_end1 SET (pdi_end1.adp_issue_date_time, pdi_end1.adp_print_date_time) = (SELECT DISTINCT pdi_end1.completion_date + 2 ,pdi_end1.completion_date FROM cl100 cl WHERE cl.polref = pdi_end1.policy_reference AND ...

Better to use multiple language files or 1?

From your experience, is it better to use 1 language file or multiple smaller langauge files for each language in a PHP project using the gettext extension? I am not even sure if it is possible to use multiple files, it is hard for me to test since the server caches the language files. I am doing multiple languages on a social networ...

Magento, translate validation error messages

I have successfully created new rules for the prototype validation, now I need to translate the error messages (Location: String in Javascript). However, I can only translate all the messages, my new custom ones don't appear to be translatable. How do I change this? ...

How MonoTouch works?

Hi guys, I would really appreciate it anybody could briefly explain me, what's the general approach to implementing things like MonoTouch? I'm really amazed because it's not the first example I see when people get some platform like Java and make it translate into something like C/Objective-C. I can't really imagine how things like Garb...

NullPointerException while adding data to the database from online page

Hi All, I am getting a NullPointerException Exception while adding data from the online JSP page. The error description is as follows: javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 0x0 No; nested exception is: org.omg.CORBA.TRANSACTION_ROLLEDBACK: javax.transaction.TransactionRolledbackException: ; ne...

Qt tr does not seem to work on static constant members ?

Hi, I'm working on translating our Qt gui at the moment. I have the following code: // header file static const QString Foo; // cpp file const QString FooConstants::Foo = "foo"; // another cpp file editMenu->addAction(tr(FooConstants::Foo)); This doesn't seem to work though. That is, there is no entry in the .ts file for the abo...

Is reversing I18N translation possible?

I need to export information and exported text must be translated. In database data is in non-translated form. My application requirements say that user must be also be able to import exported CSV file to database, so I need to reverse translated text to I18N format which is data format in database. How can I do that or is there any sane...

magento - error on checkout page

Hi Guys, I am in the middle of translating a english shop to French for a client. However, something appears to have broken. On the checkout page, when I click the continue button to allow for first time registration, nothing happens. Even stranger, on the actual page I can see the following code appearing underneath the button: yCo...

search functionality on multi-language django site

hi folks, I'm building a multi-language Django site, and I'm using django-transmeta for my model data translations. Now I'm wondering if there is a Django search app that works with multi-language models. I've played with Haystack and it works fine for single-language sites, but I can't get it to work with transmeta's metaclasses... Do...

Design Pattern for passing a translation object around? For PHP

I'm updating an php web application that is becoming multilingual, based on the Zend MVC framework, and I'm trying to figure out the best approach to passing the translation object to different classes/layers. Most of my translation is done at the View level, but there are a few cases where I need to return status messages from custom l...

Qt linguist & google translate

I'm looking for a way to cheat and create some very rough translations of my Qt application using Qt linguist and an already-existing translation service such as google translate. There's a public API for google translate, so I'm hoping someone has already tried this, but I can't seem to find it. Has anyone seen anything like this befor...

Is it possible to combine two .po translation files together?

We have two .po files, each from different branches of a piece of software. We need to combine these into a single .po file. There are duplicates between the two files, and the ideal handling would be for one file's strings to be favoured (consistently). We have a SUSE system so the --output-file doesn't seem to have the behaviour of ...

CakePHP: Saving a translation saves the translated field in the original table, why?

I'm using Translate behavior. Here's the scenario: I save a translation on model 'Content' with the language Japanese. Then I check the corresponding table 'contents' in my database and I see that my 'title' and 'body' fields are changed to the translated inputs (in Japanese). My English (and Japanese) content is saved in the content_...