translation

Has anyone translated activerecord into other languages such as french for use with tolk/i18n gem?

eg, English translation: en-US: number: # Used in number_with_delimiter() # These are also the defaults for 'currency', 'percentage', 'precision', and 'human' format: # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5) separator: "." # Delimets thousands (e.g. 1,000,000 is a...

How to optimally translate enums in the smallest amount of code?

It's often the case that you have 2 enums that are equivalent but numbered differently, and you need functions to translate elements from the first enum to elements of the second and the reverse. This is usually really tedious to code, and anytime a new element is added you have to make sure to add the pairing both to the converting and ...

Manage separate translation files (.po) in Django

I am not an expert in Python or gettext utilities. I have a Django project in which I have several modules in the application. I need to maintain separate .po translation files for each module that will be merged in the time deployment. For instance, there is a Dictionary module beside the django-cms-2 module for both of which I want to ...

Language Translation Dictionaries For Tech Terms

I'm creating a web app that I would like to be able to translate into different languages. I realize that hiring a translator is the best option, but some terms may not be in the translator's vocabulary depending on their exposure to the web and technology. The translator may produce a direct translation that does not match the conventio...

Any suggestion for Ruby on Rails multilingual translation management?

I am developing a Ruby on Rails application with multilingual support. Now I have 4 languages, each have a separate yml file. I found this is inconvenience that when I add a new translation, I need to add all the lines manually to each yml file. Does any good translation management tools can help me on this? Thanks everyone. :) ...

Zend_Translate : How can be done with zend framework translation that will translate each expression according his html id?

Hi, I beginner in zend framework and its a bit hard for me to understand zend_translate how its works. My Main Question: How can be done with zend framework translation that will translate each expression according his html id and how non programmer translator can see word location in web browser for translate each expression according...

translating strings in drupal with no english default in the code

Hi there i was wondering is there a way to write your code so that default language strings would not have to be hardcoded? My app should not require code change to fix a typo in the label. It should also not affect other languages if i change english label. As i see it now my strings have to be in english in the t('button label for ...

wordpress plugin events calendar

hi, i'm using events calendar on wordpress. the site is translated using the plugin wpml. i cannot get the calendar translated, it has the .mo and . po files but i don't know how to switch it to the selected language. any idea on how to do it? ...

Where can i translate wordpress sentences/word ?

Hello, in my french version of wordpress, i have some untranslated string such as "Posted By" "Comments" "leave a reply" ... "name" Where can i translate such strings please ? Thanks ...

What is the best way to store multiple language versions of a website?

My web site (on Linux servers) needs to support multiple languages. What is the best practice to have/store multiple languages versions of the same site? Some I can think of: store in DB different view file for each language gettex hard coded words in PHP files (like in phpBB) ...

Translating Python into JavaScript — Lists?

octopusList = {"first": ["red", "white"], "second": ["green", "blue", "red"], "third": ["green", "blue", "red"]} squidList = ["first", "second", "third"] for i in range(1): squid = random.choice(squidList) octopus = random.choice(octopusList[squid]) print squid + " " + octopus Can anyone help me write ...

Does .Net / Visual Studio support foreign language keywords for non English speaking cultures?

I was wondering whether the majority of non English speaking cultures, especially in Europe, tend to develop their .Net code in their native language or in English? My personal assumption is that there would be a tendency to keep the code in English in order to ensure maintenance is possible across teams operating in different cultures...

gettext works in one file and not the other?

Hi. I have a little trouble getting gettext to work. I made a simple test file where I call the translate.php and echo T_("XXXXX") and It get translated, but when I try to use echo T_ in a function it doesn't work.. translate.php: <?php error_reporting(E_ALL | E_STRICT); // define constants define('PROJECT_DIR', realpath('./fun...

Need help in translating C++ to C#

Hi, I don't know C++ very well especially the IO part. Can anyone please help me to translate the following C++ code into C#? unsigned *PostingOffset, *PostingLength, NumTerms; void LoadSubIndex(char *subindex) { FILE *in = fopen(subindex, "rb"); if (in == 0) { printf("Error opening sub-index file '%s'!\n", subindex); exit(...

How to translate javascript-files in Pylons

Heya! We're making an application by using Pylons and JQuery. We have used standard way of making translations, but it doesn't quite work with javascript. The awkwardness of js-translation methods is that we should make duplicate processes for selecting languages etc. Is there a proper support in Pylons for javascript-translations? ...

poedit and xml files

Hello, How to configure poedit to extract strings from xml file? I have Zend Framework navigation items in .xml like this: <entry-i> <label>Text to translate</label> <params> ... <params> <entry-i> And I want poedit to read just messages from <label>s. ...

Free/open Translation databases ?

Are there any open/free downloadable translation databases, besides wiktionary? (any language welcome) ...

Crowdsourcing translation for mobile developers?

I am developing applications for mobile phones with different operating systems (Android, Symbian, iPhone). Applications are sold internationally so they need to be translated to different languages in addition to english version. I assume most mobile developers do the translations using some paid external service each time. This approa...

How do you translate IDL into C#?

For example, the DOM specification has various IDL definitions, one of which is the Interface Node. How would you go about translating thiseven a portion of thisinto actual C#? I mean, where would you even start? As far as I understand, C#'s interfaces behave much differently than what IDL is calling an interface here. Am I wrong? inter...

Using perl regex constructs in VB.Net?

In perl you can write $string =~ tr/[a,e,i,o,u,y]/[A,E,I,O,U,Y]/; for example. Is it possible to achieve the same "translation" effects with VB.Net regexes? Thanks you! PS: I'm not searching for a way to port this very example, it's more of a curiosity question :) ...