For questions about Drupal's translation system, which can either be about the translation of the interface, or the translation of the content of a site.

learn more… | top users | synonyms

0
votes
3answers
13 views

Translate interface (export/import)

I have two languages: french arabic I want to completely translate the arabic interface. If there a way to export the englisch translations, add the arabic one and reimport the file?
0
votes
0answers
17 views

Getting html tags in translated block display

I created a block and enabled its translation settings. I followed this link to add ckeditor at block translation. When I view the translated block its shows block contents with html tags. Eg: If ...
0
votes
2answers
22 views

Translate string in javascript

There is a string which gets displayed in the mobile menu. var arrowimages = { down: 'downarrowclass', right: 'rightarrowclass' }, $mainNav = $('#navigation'), $mainList = $mainNav.find('ul').eq(0), ...
-2
votes
1answer
17 views

Add t() function in tpl.php page

Hi I have this line in a tpl.php file. I would like to add t () function to be able to translate it. What needs to be changed in this line? print "<div class='confirm-app'><h2><span ...
0
votes
0answers
12 views

Unable to install site (Drupal + CiviCRM) in french

After creating a new platform with french translations I am unable to see french words anywhere. From what I see in logs every is installed in French but when using the website nothing is... I even ...
0
votes
0answers
18 views

Script blocked by provider because of execution time

Have moved my services to the new provider. Never had such a problem before but now my new provider seems to stop/kill/hang processes running for longer then 30s. The problematic module seems to be: ...
0
votes
0answers
24 views

Providing translations for custom modules

I'ld like to provide module specific translations for my custom modules. I followed the instructions in ...
0
votes
1answer
10 views

Pathauto URL alias Node taxonomy term translation

How can i get pathalias to get the translated taxonomy term for the path alias? The pattern: [node:field_glp_product_types]-[node:field_glp_address:city:?] [node:field_glp_product_types] is a ...
1
vote
1answer
37 views

Is there a module to translate blocks and pages with language modules

I am working on drupal 7, and I want to translate each Block/Pages/Node to Multi language. Is there any module available that will provide facility language tabs to enter language specific content ...
2
votes
2answers
42 views

How to change wrong English sentences in the contributed module?

Sometimes we find grammatically wrong English sentences or spelling mistakes in the contributed modules. While doing translations, we can translate the way we want. But how to change these kind of ...
0
votes
1answer
25 views

Is it possible to translate the suffix of an integer field?

Is it possible to translate the suffix of an integer field? The prefix/suffix settings doesn't appear under the translate section for the field. And I tried searching for the string in "Translate ...
0
votes
0answers
9 views

Translate Node Metatags using modules: il8n + metatags

How does one configure translation of Node metatags (Title, Description) which allows the content author to translate metatags from the node edit page? Similar to how they translate individual fields ...
0
votes
1answer
55 views

How can I translate the name of a vocabulary?

I am looking for a solution through which Vocabulary name can be translated. I'm using the i18n module with latest D7. Currently I have chosen the option like so: Translate. Different terms will ...
2
votes
1answer
85 views

Translate to English Drupal 8

I have a Drupal 8 site Multilingual (Spanish[default], English, Italian and Ukranian): On admin/config/regional/translate I can translate to Spanish, Italian and Ukranian but not to English: How I ...
0
votes
0answers
8 views

How do I wrap CJK translations by words?

Issue CJK (Chinese, Japanese and Korean) languages do not separate words with spaces. Likewise, browsers ignore any spaces and wrap the text per character. See this illustration (PS - I don't ...
0
votes
0answers
12 views

Location module adding province to drop down list. Word not available in built-in interface for translation

I'm trying to add some provinces to the drupal location module. When I go to the back-end and manually add the province to the supported provinces list,(sites/all/modules/location/supported/) it ...
1
vote
1answer
22 views

How to change the currency symbol according to language in site?

I have enabled i10n, i18n, entity translation, title and variable modules and built a multilingual commerce site with language English as default language and $USD as default currency. And French and ...
0
votes
0answers
11 views

exif custom mapped fields not filled with entity translation

We are filling custom fields in file entities with data from IPTC tags in images on upload. For that we are using exif_custom. Since we are using entity_translation the exif_custom mapped fields with ...
2
votes
1answer
50 views

How to change the value of site_name to “My site name” in multilingual sites using Drush?

I'm trying to use this Drush command: drush variable-set site_name "My site name" I have no problem at all to use this command when the site has only 1 language. But it doesn't seem to work (have ...
2
votes
1answer
28 views

Drupal 7 field sharing between translations of a node

consider I have a content type which I want to be translated to 5 language ! and also consider that my content type has 10 field which 7 of them are some numbers and 3 of them are text ! absolutely ...
0
votes
1answer
18 views

Is there any Russification of the Simple MCQ Drupal 7 module?

Is there any Russification of the Simple MCQ Drupal 7 module? How to translate it? Thank you
1
vote
1answer
43 views

Is there a way to use Translation Overview with Entity Translation?

When I use the Internationalization module with Translation Overview all works fine, I can see through admin/content/translation-overview-manage the state of the translations of nodes. But when I ...
0
votes
0answers
27 views

How to limit entity_load with entity translation module to return active language from url

Drupal 7 entity_load somehow returns all available translations when used with entity translation module. If we have 5 fields and 10 languages, there will be a total of 50 translations in result set. ...
0
votes
1answer
23 views

Translate strings in custom module

I'm working on a module for a D7 site that generates a block. Unfortunately all the HTML is hard coded and I need to make it translatable. I have done the following: Changed $output = ...
1
vote
1answer
32 views

Translate message from tabledrag.js

I try to translate the message that is used in the following JavaScript code. Drupal.t('Changes made in this table will not be saved until the form is submitted.') I use the String Overrides ...
1
vote
1answer
35 views

How to configure paragraphs module for multilingual

I try to configure the Paragraphs drupal module for a multilingual website. I have : set the content type translatable with field translation enable translation on the paragraphs field enable ...
1
vote
2answers
58 views

How to show translated taxonomy terms in a view?

I have used the Views module to create a view of taxonomy terms. The taxonomy terms are translated in the Greek language also (apart from English), using the typical i18n modules. But when I switch ...
0
votes
1answer
55 views

Content translation for front page is not available

On my front page I have a language selector (English / French). The default language is French. The translation works only in the content of page (in the views) i want make the translation work in the ...
0
votes
1answer
21 views

How to translate $value in the output code of a view?

I have created a view in which I'm retrieving a time format, whose output is printed by $value. Here's my Value Code: $node = node_load($data->nid); $wrapper = entity_metadata_wrapper('node', ...
0
votes
0answers
13 views

Two languages with same code on drupal 7

Can i add two languages (on language switcher) which point to the same path prefix? In fact, i'm trying to create a language (Belge) and i want it to show the same french pages (path prefix "fr"), is ...
0
votes
0answers
16 views

One-off page template translation

Our client surprised us late when building their site, and once we already had content types and templates all configured (and basic content loaded), and required that we add localization to the site. ...
2
votes
0answers
11 views

Translation table: how to restore a deleted metatag string?

At the Translation table module (admin/config/regional/translate/translate) I was translating metatags. By accident I deleted one (metatag:global:og:street-address). (I thought I just delete all the ...
1
vote
1answer
35 views

on a multi-language site 'Entity translation' prefs don't show 'node' option

I'm working on a multi-language site and would like to pre-define the language per content type (as e.g. described here in the answer) but can't get the vertical tab "nodes" to show up. The ...
2
votes
1answer
74 views

Using the right t()

In Drupal 8, it seems as though object-oriented code is encouraged to use $this->t() instead of the global function t(), by either adding StringTranslationTrait to the class, or extending a core ...
0
votes
0answers
122 views

Way to get translated node teaser

I'm using Entity Translation and i18 "field translation" to translate field labels and I want localized translation of node teasers. I've localized nodes with translation enabled only for the title ...
1
vote
1answer
24 views

Best way to translate parts of an existing site and retain page aliases

What is the least complicated way to translate parts of an existing and quite big site (few hundreds of thousands nodes), without affecting the page aliases? I am aware of different translation ...
1
vote
0answers
17 views

Translations working but not translating

I have a multilingual site. I set as default language Portuguese and added another language as English. I was able to translate everything but then I don't know what happened. All the blocks are ...
0
votes
0answers
25 views

Check if menu link is translated

How can i check programmatically if menu link is translated without using tsid to load all translations from database ?
1
vote
1answer
37 views

Is there a module for automatic menu translation?

I need to automatically translate menu items into all enabled languages when created. Is there a module for that or how can I do it programmatically ?
1
vote
1answer
19 views

excluding non english field values from search_api index (or facet)

I have a CT product and a CT factory. Products have an entity reference field pointing to factories. I use node translation on factories (en, fr, de) but products are not translated (en only). ...
0
votes
1answer
47 views

Best way to check if Entity is translated

I want to add a "add translation now" Button on my Nodes and maybe other Entities too. I'm using Entity Translation and 2 languages. I thought about getting the original translation and than loop ...
0
votes
1answer
45 views

How to get the name of the month in local language in Drupal?

I want to display in a tpl.php file: 30 maart 2015, 11: 34 Currently i'm using below code <?php print date("j-F-Y H:i") ?> 1) How to get the name of the month in dutch instead of ...
1
vote
1answer
18 views

translate string

On the site: http://whayme.com/cleantheme/welkome-bij-whayme# if you push the button for "Meld me aan" (Subscribe btn) WITHOUT a email address then a message will appear. E-mail field is required. ...
0
votes
2answers
72 views

Translate with t() function from spanish as source

I have a Drupal 7 webpage already developed with all texts in Spanish, but now I want to add English language to the page. As all my texts are written in spanish, I would like to know what is the ...
0
votes
2answers
35 views

How can I deploy User interface translation in Drupal 8?

Strings that I translate at "User interface translation" /admin/config/regional/translate are not exportable by "Configuration management" /admin/config/development/configuration for me. Am I missing ...
1
vote
1answer
61 views

Change currency code to symbol

I'm translating the Drupal Commerce site into Japanese. I want to change the currency code JPY to symbol "円". But keeping rest of the symbols (¥) as it is: I referred this question and also made ...
0
votes
1answer
112 views

Translate “Order total” in drupal commerce

I have translated my site into Japanese using all the required modules and po files. But now I'm not able to translate the text "Order total" which appears in Checkout process. I tried applying ...
0
votes
0answers
14 views

Getting specific translation string for display

In a nutshell, I'm attempting to have the site name displayed, and right below it, to have it's French version displayed below using the following code. <?php if ($site_name): ?> <!-- !Site ...
1
vote
1answer
24 views

How to translate Organic Groups Menu?

I can translate a normal menu easily, but how do I translate an Organic Groups Menu?
0
votes
1answer
47 views

How to use t() function with node_load in custom drupal module?

I am using a custom module for my site, and I am using node_load to get the field value of type "long text" field and field of value of type "text". Something like this $com_types = ...