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

String translation with dynamic text and inputs

I am working on front-end only React application and will soon be implementing internationalization. We only need one additional language... at this point. I would like to do it in a way that is maintainable, where adding a new language would be…
Damon
  • 10,493
  • 16
  • 86
  • 144
2
votes
1 answer

Translating propery name of html link

How can I translate the property named Create NEW inside the link? Html::a('Create NEW', ['create'], ['class' => 'btn btn-success']), I tried this $var = Yii::t('app', 'Create NEW'); Html::a($var, ['create'], ['class' => 'btn btn-success']); but…
Gibs
  • 774
  • 9
  • 26
2
votes
3 answers

Fast Sequence Alignment on Unicode Strings

I want to run something like the BLAST algorithm to query a large database of unicode strings. Most of the alignment software like BLAST expects nucleotide or protein strings as input. But my input could potentially contain any unicode character. …
2
votes
1 answer

CakePHP 3 authError message translation not working

I have an application with CakePHP 3. My app is in french and english. In the function initialize() of my UsersController, i said : 'authError' => __('Vous devez vous identifier pour accéder à cette zone.') In my en_US/default.po (generated with…
Cotral Lab
  • 45
  • 7
2
votes
4 answers

Translation of models in Ruby on Rails 3.0

Using Ruby on Rails 3.0, I would like to have pages where posts have side-by-side translations. For example, a page would look like this +---------------+---------------+-----------------+ | Hello | Hola | Bonjour …
Mark S.
  • 63
  • 1
  • 4
2
votes
5 answers

Design Database Architecture: DB for use with a couple different languages

I have a web site that should have translation of the same content on different languages. So it should have the databases entries with different translations of same strings. It is not just a small website, so there is a lot of different…
andrii
  • 727
  • 3
  • 9
  • 21
2
votes
2 answers

how to use translations in prestashop controllers?

normally templates have a smarty function like this: {l s="string"} while modules just use $this->l('string');. On controllers the l() function seems not to be available, so qhat if I want to set up some text to be translated from backoffice?
Luca Reghellin
  • 7,426
  • 12
  • 73
  • 118
2
votes
0 answers

Android TextToSpeech install new languages as required

I am trying to create an app which verbally speaks a given text string via TextToSpeech. I was previously looking for a way to select a given language from a string. However, now I am trying to work out how I can install a language from the Google…
Travis Knight
  • 301
  • 1
  • 4
  • 18
2
votes
1 answer

Set Language for JText::_()

Setting: 7 System Lanaguages An editor page which is entirely German (no language switcher). However part of the page is a preview screen where the editor ought to see the edited content already translated into the respective System Language. Is…
user3154108
  • 1,264
  • 13
  • 23
2
votes
1 answer

using Angularjs translation provider to translate text to hindi

I have an Angularjs app and it uses a Angularjs Translation provider which has the following configuration - app.config(['$translateProvider', function($translateProvider){ // Register a loader for the static files // So, the module will…
2
votes
3 answers

Rotate and translate an object

I need to rotate and translate an object. I have a problem with that, I can only do one of them. I use this code: RotateTransform3D myRotate = new RotateTransform3D(new AxisAngleRotation3D(new Vector3D(0, 0, 1), Convert.ToDouble(180)), new…
Imrik
  • 674
  • 2
  • 14
  • 32
2
votes
1 answer

Django template translation: zero is plural in fr

I am using Django and cannot get the correct plural form in my template using French, whatever text I use in my blocktrans tag. For example: {% blocktrans count counter=0 %} foo {% plural %} bars {% endblocktrans %} Gives me bars instead of…
Q Caron
  • 952
  • 13
  • 26
2
votes
1 answer

Replace string on databind in AngularJS

I'm trying to create a multi-lingual app that fetches the translations via an initial JSON fetch, based on the user's choice. The translations are working fine, however I need to be able to replace a string with a computed number. For example: "Tim…
Steviewevie
  • 189
  • 1
  • 13
2
votes
1 answer

SilverStripe Translatable save value in default locale, and duplicate it to non-default locales

I have my project built with SilverStripe 3.1.13 (both CMS and Framework), and I'm using silverstripe-translatable and dataobject-translatable in order to organize my translations on the website. Let's say I have Post.php (which is DataObject for…
pavjel
  • 486
  • 10
  • 25
2
votes
1 answer

Need help in translating C++ to C#

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"); …
StarCub
  • 4,141
  • 7
  • 41
  • 58