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
0 answers

How Symfony2 add/override translation messages

I want to write a widget, that allows admins to edit translations on a site, when they click on the "edit" button near some the text. I know how to get translations and have this code in my controller: $translator = $this->get('translator'); …
2
votes
4 answers

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 =…
Tehto
  • 35
  • 1
  • 6
2
votes
1 answer

How to give multiline & single line comment in translation PO file?

How to give multiline & single line comment in translation PO file ? I am not able to give multiline comment in po translation file in odoo , I have to comment 2000 line code at once So how can it done ?
sakib keriwala
  • 129
  • 3
  • 14
2
votes
0 answers

Module Page not translated on changing language

I have an issue with the front controller of my module in Prestashop v1.5 My module has a front controller that renders a separate tpl file. When I change language of my store from the front controller (i.e. my module page at front end), then page…
Wolfack
  • 2,667
  • 1
  • 26
  • 50
2
votes
0 answers

Symfony2 enable translator bundle wise

I'm using FosUserBundle and the only way to translate its security messages (like "Invalid credentials.") is to enable translator in app/config/config.yml (If there is another way, please let me know). However, my app will not be a multilingual app.…
Lashae
  • 1,372
  • 1
  • 20
  • 36
2
votes
0 answers

ExpressiveAnnotations: translate global _defaultErrorMessage in RequiredIfAttribute

I want to use inheritance for AssertThatAttribute and RequiredIfAttribute but is not possible because both classes are sealed classes public sealed class RequiredIfAttribute : ExpressiveAttribute public sealed class AssertThatAttribute :…
senzacionale
  • 20,448
  • 67
  • 204
  • 316
2
votes
1 answer

Content managed strings in AngularJS

I'm building a large AngularJS application in which some of the UI text needs to be content managed. This is because items such as contextual help will need to be edited by the client after launch in response to user feedback. I'm looking for…
Tamlyn
  • 22,122
  • 12
  • 111
  • 127
2
votes
0 answers

Translation Transformation in openGL

I am learning openGL. I got a problem when I try to translation transformation. The result isn't translation as I wanted. It is just a static image like this And this is my code TranslationTransformation.cpp #include #include…
Robotic Vn
  • 437
  • 2
  • 7
  • 20
2
votes
1 answer

Why is my Delphi 2010 resource dll file ANSI Encoded

I used the Resource DLL Wizard in Delphi 2010 to generate resource only dll's for my program. When I look at them using Notepad++ it seems they are using ANSI encoding. Is there some setting I missed? It doesn't seem like a unicode program should…
Koot33
  • 304
  • 2
  • 10
2
votes
2 answers

How to set up Laravel 5 with Twig and translations?

I want to have project with: Laravel 5 Twig template engine trans tag in Twig, which works with standard Laravel translations (based on php arrays) Here is my composer.json: "require": { "laravel/framework": "5.1.*", "rcrowe/TwigBridge":…
2
votes
0 answers

Manage translations

I would like to ask what tool do you use for updating/merging translation files. For example imagine that we have 3 message files e.g. messages.en, messages.it, messages.de. Is there a way to synchronise these files with the code? I mean: Check…
glarkou
  • 7,023
  • 12
  • 68
  • 118
2
votes
1 answer

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…
VirtuosiMedia
  • 52,016
  • 21
  • 93
  • 140
2
votes
1 answer

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…
davidahines
  • 3,976
  • 16
  • 53
  • 87
2
votes
1 answer

Mediawiki automatic "translation", creation of new pages

Required is creation of automatically "translated" (using in-house set of rules of transforming the old language rules to new ones) pages in Mediawiki framework. Example: page with contents "gylden" ("old English" language) has to be automatically…
2
votes
3 answers

Symfony2 Translation Add Html

I want to add some HTML to Symfony 2 Translation. This way I will know which phrases in my application are translated and which not. I found in "Symfony\Component\Translation\Translator.php" function "trans". Now i want to add something in function…
Michal Olszowski
  • 795
  • 1
  • 8
  • 25