Questions tagged [translation]

Translation is the process of replacing strings in an application or website to make interfacing with the application or website easier for people from countries with different languages.

Translation is the process of replacing strings in an application or website to make interfacing with the application or website easier for people from countries with other languages.

It is similar to internationalization (i18n), but does not compensate for cultural differences. Translation is often the first step projects take towards i18n.

4888 questions
2
votes
1 answer

PHP Translations

I have been making some translations in my php files, using php echo method and the following method: In PHP file $body = __('email - contact email', array(':username' =>$contact['username'], ':email' =>$contact ['email'], ':subject'…
Karina
  • 665
  • 6
  • 17
  • 35
2
votes
2 answers

Translations in PHP

I am creating some translations for a form in PHP, I am translating all Japanese to English, then in a separate PHP file I have all the translations based on specific country. Previously I translated using PHP Echo, like below:
Karina
  • 665
  • 6
  • 17
  • 35
2
votes
1 answer

Symfony2 Translations with XLIFF / XLF Best Practices

I have started using the translation system in Symfony2. All works very well. However I have one question about best practice when it comes to referencing the source / target string from a twig view file. Given this:
someuser
  • 2,279
  • 4
  • 28
  • 39
2
votes
2 answers

Magento translations ok in online program but not run as cronjob

I created a module (extends Mage_Core_Model_Abstract) and an admin controller. When I run this module online translations are going right. When I run this module as cronjob, everything goes allright but translations are not done, I specified…
Francois99
  • 73
  • 1
  • 1
  • 10
2
votes
3 answers

How you deal with translation (multilanguage) webservices in Django Rest Framework using angularjs?

I am a beginner with using: django, the django rest framework and the client-side MVC framework Angularjs. I would like to ask any developers working or familiar with this stack in any of your projects, how you deal with translations (in many…
andilabs
  • 22,159
  • 14
  • 114
  • 151
2
votes
1 answer

translation/rotation through phase correlation in python

I have two pictures, one that was the original and another one that I have modified so that it's translated up and left a bit and then rotated 90 degrees (so the shape of the picture is transposed as well). Now I'd like to determine how many pixels…
Babyburger
  • 1,730
  • 3
  • 19
  • 32
2
votes
1 answer

php word cloud translation

I have created a word cloud and I'd like to add a translation function in my webpage. My word cloud shows like a lot of words with different color and font size. My system is like analysis a text and generate word cloud words and then echo them out.…
WillDo
  • 123
  • 1
  • 9
2
votes
2 answers

C string formatting equivalence

On a project I work on, we recently ran into the issue where we need to check if 2 strings have string formatting, (for translations). /* A simple example: */ str = "%.200sSOMETEXT%.5fSOMEMORETEXT%d%ul%.*s%%"; /* Should be able to be validated to…
ideasman42
  • 42,413
  • 44
  • 197
  • 320
2
votes
1 answer

Phonegap app translation

I have a working Phonegap app which is currently in danish, but i need to translate it to several other languages. I have never worked with localization before, but the concept seems pretty straight-forward. I found a localization-library…
FlyingHippo
  • 177
  • 2
  • 12
2
votes
3 answers

Qt Dynamic translation of dialog windows

I am creating a Qt application and I added dynamic translation (I followed the example at http://www.qtcentre.org/wiki/index.php?title=Dynamic_translation_in_Qt4_applications) with a QCombobox which lists different languages. It works well but the…
SteveTJS
  • 635
  • 17
  • 32
2
votes
3 answers

CSS transition glitch

I have an issue with my CSS transition. I created a user profile design, and when a user hovers over the profile photo, the border changes its width from 3px to 10px. This results in the entire site shaking on the transition. Shaking can be seen…
Ozik Abdullaev
  • 1,026
  • 1
  • 9
  • 26
2
votes
3 answers

I18n preview shortcut for Rubymine

When I open a file on Rubymine, that has i18n string using "Ruby translate method", it displays a "preview" of the translated text instead of the actual code "t('translate_key')". When I click the text it shows up the code as expected, but I would…
Gabriel Mazetto
  • 1,090
  • 1
  • 12
  • 23
2
votes
2 answers

OpenGL ES 2.0 translate (move object)

I'm making an app for android, and I have drawn a triangle, I can rotate it but not move it! my question why? Say if you need more info! Source Code: package com.uraniumdevs.projectx; import java.nio.ByteBuffer; import java.nio.ByteOrder; import…
Roberto Anić Banić
  • 1,411
  • 10
  • 21
2
votes
2 answers

Translating Url to another language for SEO purposes in asp.net mvc4

I am developing web app using asp.net mvc4. The plan for the future is that it will be multi-language app. The names of all controllers and actions are in english but I want to translate url to my native language(Slovak) because of SEO purposes and…
marek_lani
  • 3,895
  • 4
  • 29
  • 50
2
votes
0 answers

How can i get google play to show localized descriptions for my app?

I have developed an app and uploaded it to google play. In the developer console i set up descriptions for both english and portuguese, but for some reason google play will always show the default (english) description no matter where i access it…