translation

Tools and methods for localization of ASP.NET application needed.

Hi, We have a multilingual site that is currently using 2 languages, but with several others coming soon. The site is localized primarily by resx files, but with some localized data in a database. We need to find some tools to manage localization of the site - something that picks up on changes in resx files so translators will only ne...

XML to XML translation in Java

I need to translate from XMI to OWL (XML/RDF serialized) in Java, so essentially this is XML to XML translation and most probably I could just play with regex and use replaceAll to what I need, but that seems very messy way to do it. What would you suggest so that it will be easily customizable later (my OWL model might change slightly i...

Zend_Date language translation

Hello ! I have a function that returns me a date string using Zend_Date. $date = new Zend_Date(); $date->setOptions(array('format_type' => 'php')); $date->setTimestamp($timestamp); return $date->toString($format); When I set $format to 'l, d F Y' I expect something like: Środa, 13 stycznia 2010 (correct polish string what means W...

3D Animation Rotating and Translating simultaneously in WPF

Hi, I have ModelVisual3D of a cube. I want to translate and rotate it at the same time. I wish the center of rotation to be in the middle of the cube(the cube rotates around its own axis). But when I try to do this applying both transformations the effect is not what you would expect. Since the object is translating the center of rotati...

Where do I find default translation resources?

I'm looking for default translations for program menu's and button texts (from english to german, french, etc.), in order to avoid making silly mistakes. Are they different for the different platforms (windows vs. mac vs linux)? ...

Integrating phrase translation with String.Format

I have a phrase in English that looks like this: "I have {0} dogs and {1} cats". In code, I provide the data with a String.Format: String.Format("I have {0} dogs and {1} cats", 1, 2) So the output is this: "I have 1 dogs and 2 cats". The problem that I'm trying to solve is the phrase "I have {0} dogs and {1} cats" needs to be transla...

Getting translation strings for jinja2 templates integrated with django 1.x?

I can use jinj2 templates with django via render_to_response defined as below from django.conf import settings from django.core.exceptions import ImproperlyConfigured from django.http import HttpResponse from django.template import TemplateDoesNotExist, Context from django.utils import translation from itertools import chain from jinja...

LINQ to SQL vs ADO.NET - which is faster?

Since LINQ to SQL basically is a layer on top of ADO.NET it requires some translation. Does this mean that using ADO.NET directly is faster than LINQ? Or is the difference so small that it is irrelevant? ...

Good way to create script supporting translations?

Hello I'm creating an open-source cms and was just wondering that which is the best way to add localizations? I already decided to have them in files similar to lang.en.php. I would assume arrays, but in which form? $lang['xyz'] = "Text goes here!"; $lang['Text goes here!'] = "Translated text!"; Or should I create my custom parser an...

Are out there any PHP to Haxe translators?

So I want to port WordPress to Haxe. I need HP to Haxe translators. Where can I get tham? ...

Symfony i18n table: Ways to get fallback default value?

Hi, I'm building a city names table in MySQL with about 10K rows to be a Symfony i18n table. Basically, the default culture is en_US and every city in the table is initially of this culture. Over time, I'd like to add to the table only those cities that might have an alternative name in a different language, such as "London (en_US) / Lo...

Linq to SQL query taking forever

Ok, first I thought I had a problem with how I was querying things. But apparently the problem lies in how linq translates my query to sql. Here's my linq: var items = (from p in ctx.bam_Prestatie_AllInstances join q in ctx.bam_Zending_AllRelationships on p.ActivityID equals q.ReferenceData join r in ctx.bam_Z...

Translate Prolog Words

Hello hello :D :D I'm working on this this wonderful Prolog project and I'm stuck at this situation where I need to translate certain words into other words (e.g "i" into "you". "my into "your") This is what I've done and I'm pretty sure it's kidna iffy. I enter the sentence and when It goes to convert it only changes the one word th...

Is there any Algorithm for converting 2d video into 3d video?

Is there any Algorithm for converting 2d video into 3d video? (for viewing using glasses) (a-la turning Avatar into Avatar for An IMAX 3D Experience ) or at least turn it into video prepared for feeling some 3d viewing using a-la or I know my question is asked(expressed) not in the best way so feel free to edit. ...

Please help me refactor this jQuery code

I need to make this jquery run much faster, I did not create all of these functions, but need their methods, to do live translations of page content. So I would appreciate any suggestions to refactor for better performance, the code below. /* function 1 read json into array */ /* function 2 loop through array */ /* function 3 replace...

Is thare any way to translate .net C# into PHP and vice versa?

Is thare any way to translate .net C# into PHP and vice versa? ...

Creating php backend alternative to poedit...

I was just wondering if i can find php backend which can be used as alternative to poedit to enter translations. Sometimes we need update view files directly to live server and its painful to download all source to local machine and generate .po files and translate them using poedit and upload again. Can anyone help? ...

Is there any HTML to WikiText translator?

Is there any HTML to WikiText translator? I need to translate tables with hyperlinks and images inside. ...

can someone help me translate this c++ code to c?

this is a magic square generator, but do not know C++, I have some difficulties to convert this code: #include <vector> #include <iostream> using namespace std; //There two series will be on even in case of magic square // One of even order will be for multiple of 4 void BuildDoublyEvenMagicSquare(vector<vector<int> > &mat, int Order); ...

How to convert XML to something else using xslt stylesheet?

How to convert XML to something else using xslt stylesheet? In C++ C# PHP or ActionScript? For example I have this html2wiki xslt stylesheet I want to send to my programm my XML (in this case HTML file ) and get back a file (in this case Wiki mark up text ) So How to translate one text file into another text file using XSLT styles...