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

How to use KNP Translatable in a form type

I'm using KNP Translatable and I have the following data structure: User (id, name, email, password...) Role (id, name @translatable) User Role is a many to many relation. I have the form type defined as this: ->add('roles', 'entity', [ 'class'…
petekaner
  • 8,071
  • 5
  • 29
  • 52
2
votes
1 answer

gettext module in angularjs does does not translate gettextCatalog.getString() in controller

Im using gettext module for angular to handle my translations. This works almost perfectn. gettext Now i have 2 controllers. 1 is called basecontroller other controllers are per view. so the base controller is attached to the html tag and using…
Reza
  • 880
  • 1
  • 10
  • 29
2
votes
1 answer

How to translate Redux Framework options

I am currently using the Redux framework embed in my theme. My theme only load the po and mo file using load_theme_textdomain but the translation doesn't seems to take effect for the options I created for the redux framework. Is there anything else…
Ryuka
  • 37
  • 3
2
votes
1 answer

Bing translation error while using tesseract ocr in android for real-time text detection and translation

I am using Robert Theis' experimental app (namely, android-ocr) to achieve real-time OCR and translation (using Bing translator.) In class CaptureActivity.java, in function handleOcrContinuousDecode (which is the function for real-time OCR), I have…
2
votes
0 answers

How to translate wordpress timestamp in different languages

I have a site in Wordpress with the widget WPML Multilingual CMS and the site is translated in 3 languages. All the site is translated except the timestamps, they are in english. Is there a way to translate the timestamps according to the selected…
Neculai Andrei
  • 223
  • 5
  • 17
2
votes
2 answers

translating model attributes rails

I got the following problem with my rails application: I want to translate some model attributes like this, so that they show up correctly in the validation error messages for example. de: activerecord: models: account: …
zobel
  • 281
  • 4
  • 17
2
votes
1 answer

Localization not properly working

I wrote a small application that shall automatically start in either English or German. English is default and German would be used on a German Windows. The problem: The German strings aren't loaded on a German Windows, although the program…
user4344677
2
votes
1 answer

Yii2 render html tag inside translation string

I have a translatable string in common/messages/en-Us/frontend/quicksignup as: return [ 'AcceptTermsAndConditionLabel' => 'I confirm that I am more than 13 years old and accept the {terms and condition}, and {privacy policy} of this…
2
votes
1 answer

Translation of "dynamic" content if using Internationalization with Qt

I am currently evaluating the C++ framework Qt v5.4.1. Currently I am trying to understand and apply Internationalization with Qt. I successfully implemented switching of the human language at runtime via the help of the article How to create a…
Florian Wolters
  • 3,820
  • 5
  • 35
  • 55
2
votes
0 answers

How to exclude some string in interface builder from translation

When I extract strings from storyboard I got whole strings from that storyboard including some dummy data which I don't want to get translated. Is there a way I can mark some view not to get export to translate.
sarunw
  • 8,036
  • 11
  • 48
  • 84
2
votes
1 answer

Symfony 2 - Translation not working (xliff)

I've read tons of answers and tutorials about Symfony 2 translation, but i'm still not getting it to work. No errors are shown, but messages are not translated in twig templates (nor by testing $this->get('translator')->trans('...') ). The xliff…
Romain Bruckert
  • 2,546
  • 31
  • 50
2
votes
1 answer

How to detect language of a webpage

Is there a meta tag that gives the original language of a webpage, or some library I could use to detect it? For example: detect_language('https://play.google.com/store/movies/details?id=lzLX-xKfQhE') ==> DE…
David542
  • 104,438
  • 178
  • 489
  • 842
2
votes
0 answers

Djangos manage.py makemessages somehow translates all folders in / but not in project dir

Instead of using LOCALE_PATHS = ( '/home/myuser/www/django/myproject/locale/' ) manage.py translates all folders in /, like mnt, proc, etc I remember adding -l en_EN etc when using django-admin outside of folder, so Django remembered those…
idchlife
  • 554
  • 1
  • 6
  • 16
2
votes
2 answers

How to get .po files from .mo

I have a question for you. I have my translations .mo files but I want to get the .po files, is there a way to do this? My file source is : /ressource /translation /es_ES.UTF-8 /LC_MESSAGES test.mo I tried : msgunfmt…
TanGio
  • 766
  • 2
  • 12
  • 34
2
votes
2 answers

Convert mathematica functions to lua

I want to read files written using the Mathematica function 'Save'. Inside, their are expressions that I would like to translate in lua. For example: mathematica -> lua foo[bar_]:= a*bar + b -> function foo(bar) return a*bar + b end …
jvtrudel
  • 1,235
  • 3
  • 15
  • 28