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

1
vote
1answer
26 views

Drupal 7 Views url translated alias with contextual filter

I want to translate the url of my view. So I've made a translated alias for it. But when I add a contextual filter I get a 404 error. For example: I've a view with the url example.com/overview with ...
0
votes
0answers
11 views

Translating Entity Types Values

I am using entity types for hierarchic relations like: EntityType City -> contains many ET Districts -> contains many ContentType Apartment.. City: Vienna District: xyz Apartment: abc I can ...
1
vote
2answers
25 views

Is there some module which detects untranslated strings?

I am using the Admin en/admin/config/regional/translate/translate tab to translate strings of a multilanguage site. As I have quite a few languages (9), and collaborators send the translated texts in ...
1
vote
1answer
18 views

How to translate the Automated Logout module administration?

How to translate language of the Automated Logout module administration? I was searching for translation of polish language and tired other modules.
1
vote
1answer
35 views

How to display the translated value of a boolean field when viewing a translated page?

I have this problem with translation of a custom checkbox (boolean) field. To be specific, I'm able to translate everything but the options (Yes / No) that are showed on node view page. I have ...
0
votes
0answers
10 views

Translate existing custom module

I downloaded a Drupal profile with custom modules and installed it. Then I installed all the necessary modules for translation. Now, the t() strings of the custom modules don't appear under ...
0
votes
1answer
14 views

How to sync content title with “synchronize translations” module?

The synchronize translations module, part of the Internationalization module (i18n), allows us to sync content between two languages. It works very well with node configurable and standard fields. ...
0
votes
3answers
20 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
22 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
26 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 ...
1
vote
0answers
22 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
31 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
15 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
47 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
52 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
28 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
14 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
61 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
90 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
14 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 ...
2
votes
1answer
38 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
12 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
65 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
34 views

Field sharing between translations of a node?

Assume I have a content type which I want to be translated to 5 languages! And assume that my content type has 10 fields, with 7 of them being some numbers and 3 of them are text. There is absolutely ...
0
votes
1answer
19 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
48 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
29 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
28 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
33 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
47 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
85 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
58 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
22 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', ...
1
vote
2answers
87 views

Content Translation : Language filter not available in views

I use a view to show a list of nodes flagged by a global flag (any user, any language) and would like to return only current language related nodes. For that I should be able to add a filter in the ...
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
17 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
13 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
39 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
129 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
29 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
26 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
39 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
21 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
48 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
51 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 ...