translation

Translate standardButton in QDialogButtonBox

hi. i am using pyqt and designer. i have translated all the strings in my app with self.tr() + pylupdate4 and lrelease here is the snippet of code in my main(): app = QtGui.QApplication(sys.argv) app.setApplicationName('Mental Calculation') # initialize locale and load translation files if available locale = QtCore.QLocale() LOCALENAM...

.NET localization tool - free or full-featured trial

I'm looking for a tool to automate the process of localizing one software product. Is there any free, or trial version with no limits other than time? ...

django modeltranslation registers "0" models

I have a Django project that employs modeltranslation. On the development box, it registers 10 models and works flawlessly. On the production server, when started it notifies that it has registered "0" models (instead of 10) and doesn't throw any exceptions. However when any admin page that shows a should-be-registered model is visited...

Java-accessible web service for translation?

Dear all, I now have a running Java program which only lacks of the final step,that is: suppose I have a String1 ="Obama" is there any online translation API that I could use to get the corresponding Chinese word back,and put it in another String2="奥巴马“. I've tried BabelFish,but that doesn't seem to provide any service for Java program...

Message Translation Between Systems

I find that most of my work involves creating shims so that different systems can communicate with each other. Is there any software solutions that handle this. I don't want to make my own. For example if we received a message like { a: 'abc', b: 1 } from System1, we might want to send { a: f('abc'), c: 'System1'} to System2. Know of...

How can you calculate the X/Y coordinate to zoom to

Im writing a WPF application that has a zoom and pan ability, but what I want to also implement is the ability to zoom and pan "automatically" (via a button click). I have the methods all defined to zoom and pan, but Im having trouble telling the app the desired X/Y coordinates for the panning. Basically, I know that I want the control...

what cms that can support more than one language?

Hi folks, One of my clients asked me to integrate an open source CMS in her website.The challenge I have right now is that she wants the website to be bilingual. is there any cms that implements this feature? The content on each page should be displayed either in english or french and no automation translation(like google's or babel fish...

I18n of Zend_Form values and errors

Hello, assume this situation $form->addElement('select', 'companies', array( 'disableTranslator' => true, 'label' => Zend_Registry::get('Zend_Translate')->_('companies'), 'filters' => array('Int'), 'required' => true, 'multiOptions' => array(1 => 'Company 1', 2 => 'Company 2') )); if($_POST...

Python: How can I replace full-width characters with half-width characters?

If this was PHP, I would probably do something like this: function no_more_half_widths($string){ $foo = array('1','2','3','4','5','6','7','8','9','10') $bar = array('1','2','3','4','5','6','7','8','9','10') return str_replace($foo, $bar, $string) } I have tried the .translate function in python and it indicates that the arrays a...

Translate model fields' attributes from a Database with Django?

I'm trying to create a Model that has fields that have the following attributes translatable: verbose_name and choices. I can easily do this by tagging the strings and using the i18l middleware. The problem is that I don't want to define the translation in po/mo files. Is there a way to pull this data from a database table? If so, any ex...

Need online service for collaborative translate .po files

Need online service for collaborative translate .po files ...

How to avoid translation tools from messing up HTML tags?

I always use Google translate and paste back the the results in Vim. But for some reason Google translate also screws up the HTML tags around the content I want to translate. Is there a solution for this? For instance, the double quotes are translated to Chinese-cased double quotes: 'pictures_h2'=>“我們課程和活動的照片 Strong and li tags are t...

how to apply the center of image view for another image view center

hi, I am developing image redraw app. i know the center of one image view which is having scaling property. i.e it can change it frame and center . that to be applied to another view center. when i apply center to newly formed Image view it giving wrong center because of the previous image view is having scaling property. so how can i ge...

What is the best way to translate a big amount of text data?

I have a lot of text data and want to translate it to different languages. Possible ways I know: Google Translate API Bing Translate API The problem is that all these services have limitations on text length, number of calls etc. which makes them inconveniente in use. What services / ways you could advice to use in this case? ...

Where are the java swing String for me to translate?

The JFileChooser don't provide support for my language, I'd translate strings defined in the file http://www.rgagnon.com/javadetails/JavaUIDefaults.txt with the UIManager.put(), but I'm not finding the popup strings ("view", "refresh" and "new folder" options when you right-click). Does anyone know where can I find them to translate? -...

is there any script for indic translation like google translator..

is there any script for indic translation like google translator.. ...

Using Inch or cm/mm from metric system for americans and canadians?

We're developing an international product that displays a ruler to the user. Now in Germany and many other countries its of course common to use the metric system: cm or mm. I'm aware that americans and canadians (and maybe others too) do still use inches, feet and yards. So the question is: will todays americans (and other inch-countr...

Business enum to DatContract Enum conversion in WCF

I have an enum namespace Business { public enum Color { Red,Green,Blue } } namespace DataContract { [DataContract] public enum Color { [EnumMember] Red, [EnumMember] Green, [EnumMember] Blue } } I have the same enum as a datacontract in WCF with same values. ...

Need help with C# function to translate smoothly between numeric ranges

I'm trying to write a function : Input: Source range, Source value, output range, curve type (Linear, smooth) Output: The output is the "source value" converted into the "output range" according to the curve type. I hope I am making sense here... Any ideas ? Thanks. ...

Anyone knows of an OpenSource Collaborative Translation app?

like the one Facebook used to localize its site? ...