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
20
votes
3 answers

Strings won't be translated in Django using format function available in Python 2.7

Does the new and recommended way to format strings available in Python 2.7 using format result in a non translated string in Django? The strings are in the .po file, translated, but it won't be translated on the website. For example: from…
Iodnas
  • 3,414
  • 24
  • 26
19
votes
8 answers

Can you style the google translate plugin?

I'm using this plugin (http://translate.google.com/translate_tools) to translate my website. The problem is that I can't figure out how to style it so it does not fit with the rest of the page. Any suggestions?
Vasseurth
  • 6,354
  • 12
  • 53
  • 81
19
votes
3 answers

How to translate routes with NextJS and next-i18next?

I'm building a multiple language website with next.JS and the package next-i18next. It's going well, except one thing that I'm not sure what's the best approach. I want that my static routes will be translated too (not only the page content), for…
Alexandre Paiva
  • 987
  • 2
  • 10
  • 24
19
votes
3 answers

Android Plural Strings with multiple Parameters

In Android strings, you can define plurals to handle translations depending on the actual number supplied to the string as described here. Strings also allow for specifying multiple positional parameters similar to what sprintf does in many…
Andreas Gohr
  • 4,617
  • 5
  • 28
  • 45
19
votes
5 answers

Free/open Translation databases?

Are there any open/free downloadable translation databases, besides wiktionary? (any language welcome)
Stefan Steiger
  • 78,642
  • 66
  • 377
  • 442
19
votes
3 answers

What is a Ruby equivalent for Python's "zip" builtin?

Is there any Ruby equivalent for Python's builtin zip function? If not, what is a concise way of doing the same thing? A bit of context: this came up when I was trying to find a clean way of doing a check involving two arrays. If I had zip, I could…
Eric Naeseth
  • 2,293
  • 2
  • 19
  • 18
18
votes
4 answers

Why doesn't std::function participate in overload resolution?

I know that the following code won't compile. void baz(int i) { } void baz() { } class Bar { std::function bazFn; public: Bar(std::function fun = baz) : bazFn(fun){} }; int main(int argc, char **argv) { Bar b; …
mdx
  • 534
  • 3
  • 16
18
votes
3 answers

Using DeepL API to translate text

Is there any possibility to find out if the DeepL translator offers an API for the translation? Unfortunately I haven't found any information on this. Would like to implement this to an Excel script for auto translation. I've already tried it with…
dontbyteme
  • 1,221
  • 1
  • 11
  • 23
18
votes
4 answers

How can I merge 2 .POT files (translation files)

I have the following situation: One product which I want to translate, that has two separate websites, one for admins, one for customers. The codebase is CakePHP. Both sites are completely separate from each other, they are complete CakePHP…
Daniel Magliola
  • 30,898
  • 61
  • 164
  • 243
18
votes
5 answers

"TemplateSyntaxError Invalid block tag: 'trans'" error in Django Templates

After running the runserver command I get the following error: TemplateSyntaxError at /questions/ Invalid block tag: 'trans' Does anybody know that what's the reason? This is my template syntax: {% extends "two_column_body.html" %} {# this…
Mazdak
  • 105,000
  • 18
  • 159
  • 188
18
votes
16 answers

Seriously, should I write bad PHP code?

I'm doing some PHP work recently, and in all the code I've seen, people tend to use few methods. (They also tend to use few variables, but that's another issue.) I was wondering why this is, and I found this note "A function call with one parameter…
Dan Rosenstark
  • 68,471
  • 58
  • 283
  • 421
17
votes
1 answer

Abort vs. Cancel Button: When do I use Abort, when Cancel?

We need to translate some of our UI to English, and the question arises: When do I use "Abort", when "Cancel" as a button text? They seem rather interchangeable, and translate more or less to the same word in German (our source)... So, is there a…
Robin
  • 1,658
  • 15
  • 26
17
votes
9 answers

Software for managing java lang .properties files for translation

Is there a good software for managing java .properties language files, I have tried Pootle but there u must convert to po files and back is there any other alternative? I neead something that translators could use to translate our JSF gui via some…
simonC
  • 4,101
  • 10
  • 50
  • 78
17
votes
2 answers

C# to VB.NET: the **default** keyword?

Possible Duplicate: Default value for generics OK, so while translating some code from C# to VB.NET, I came across the default keyword, and I'm simply replacing it with nothing. Is this the proper way to do it, or is there a better "translation"…
Pacerier
  • 86,231
  • 106
  • 366
  • 634
17
votes
2 answers

How to disable the Symfony translation for specific bundles

I am creating a webapp running with Symfony 2.7, which is designed to be used only with one language (a unique locale). I can see in profiler many missing messages in every translation domain, but I don’t need translation at all. How can I disable…