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

2
votes
1answer
89 views

How do I translate “Please fill out this field.” on the user registration form?

Obviously users need to add an email address to register an account. I'm using the Bartik theme. In Firefox and Chrome, if I don't enter a value for the email address and press submit, the form is ...
0
votes
0answers
7 views

Translate content without having to reload page

Is there a way to be able to translate content in Drupal 8 without having to reload the page? I would like to make content editing for our editors as simple as possible. A few pointed out, that they ...
1
vote
1answer
22 views

Make link translatable in Admin from a PHP string in a tpl-file

In a custom user-login-block.tpl.php file i want to make a link in the Create an Account -button which links to /doctor/register. Here the link to the example page (you are redirected to this page ...
0
votes
1answer
24 views

Profile2 Registration Path loose registration field after translate URL alias

I use Profile2 and Profile2 Registration Path module. This is the original Registration Path, set in the configuration. I tried to translate the Registration Path at Administration » Configuration » ...
0
votes
1answer
35 views

How to translate dates?

I have a calendar view in my Drupal 7 website, that looks like this: And I also have a date field in a Webform: All of these appear in english, of course. But, I want to translate all dates to ...
3
votes
2answers
30 views

How to change all iterations of a string to another word?

I noticed that most of my Russian clients afraid "Таксономия" ("taxonomy") word, because the word sounds like something very complex and incomprehensible for them:) I want to change all iterations of ...
1
vote
1answer
24 views

Commerce RRP translation

The special price attributes provided by Commerce Exra Price Formatters are not translatable. Especially RRP. I cannot change the translations of these fields. I can write the label in the display ...
0
votes
0answers
15 views

Superfish multilingual menu showing both original and translated links

When looking at the site in default language, the menu is correct. When looking at the site in translated language, the links displayed in the main menu are both in original language and translated ...
1
vote
1answer
17 views

Drupal ignores langcode in config files during installation?

I have noticed that if I install Drupal in language other than English any config that will be imported during installation will be assigned to that language no matter what language is set in the ...
0
votes
0answers
13 views

Make entity_types translatable

I'm new to Drupal and a little bit confused. I want to make entity_types translatable by using the i18n module. Content types are already perfectly translatable, but I couldn't find out how to ...
0
votes
0answers
10 views

Get translated navigation with entity translation module (programatically)

I'm using Entity Translation Menu module and I've translated all the main-menu links. Now how is it possible to get translated menu items according to current language? Variable $main_menu in ...
0
votes
0answers
17 views

Does Drupal.t() inside JS file has the same restrictions as the PHP t()?

I have read that the string parameter passed to t() function should be literal, which excludes: variables, even the parameters of a function: t($description) a concatenation of strings: t('If you ...
1
vote
0answers
21 views

Translate a block configuration's form

How can i translate a block configuration's form made programmatically ? I'm using I18n for translations and here's the code of the block : function MY_MODULE_block_configure($delta='') { $form = ...
0
votes
0answers
12 views

Translation tab under node/edit is missing for some nodes and visible for others, considering the fact that all nodes are same content type

Problem: Translation tab under node/edit is missing for some nodes and visible for others, considering the fact that all nodes are same content type. Example: I have a content type property and the ...
-1
votes
1answer
25 views

Where is Update translation?

In admin/config/regional/translate/update I found the following message: If there are available updates you can click on "Update translation" for them to be downloaded and imported now or you ...
0
votes
2answers
51 views

What is the difference between t() and l()?

If I understand correctly, t() is the Drupal translations function, is l() simply calling the localization settings for translation specifics, or is there something more to it then that?
0
votes
1answer
26 views

Translate to specified language

I know I can translate to current website language with t() function, but I need translate to specified (not current) language, my site has three languages and I want get English of some of the worlds ...
2
votes
2answers
108 views

Where are .po translations supposed to go?

I have .po file with translation and I have it in modulename/translation/xy.po When I installed profile in XY language the file was not loaded. I did a little digging and found that ...
0
votes
0answers
15 views

Add a node with its available translations as menu item in main menu

I have the default drupal main menu and i want to add a specific node as parent menu item and its available translations as sub-items (children). When a new translation added i want to be inserted ...
0
votes
1answer
11 views

Translating a node creates new node

I have translation enabled for the node type page, settings " Require language (Do not allow Language Neutral)." and " Normal - All enabled languages will be allowed". However, when I'm creating and ...
2
votes
2answers
94 views

How to make the Charts module use the Highcharts legend option “useHTML” (required for RTL)?

I tried using the Charts module with Highcharts as my charting library (engine). And this for a block view in a multilingual site that flips between LTR and RTL. I found out that the legends and ...
3
votes
3answers
37 views

Page title tag translated based on view title

I've been working on a multilingual site using i18n modules, with the 'translate view' ('Internationalization Views') module, provided by i18n, active too. I can translate the view's title and the ...
1
vote
1answer
36 views

How to set one content type to only one language in a multilingual site?

I have a multi language website, it's for both English and Arabic, the site's default language is English, but for specific content type which is blog section of the website. I need to set it's ...
0
votes
1answer
34 views

Translating contact forms

Is there a way to fully translate the contact message forms in Drupal 8? In the content language screen, the contact message bundle is marked as translation is not supported. Edit: To clarify, I ...
0
votes
0answers
23 views

Unable to get “Translate” tab displayed for content types

On my Drupal 8 multilingual site I (hopefully) configured all that is needed for content translation. I'm following the Gàbor Hojtsy's tidbits 18 paper: When editing an entity, there is a set of ...
0
votes
1answer
20 views

Translate module strings

In a custom D8 theme, we have some strings in twig using |t filter and in php using $this-t() funtion. example : {{'More Headlines'|t}} $this->t('replies') These strings are not listed in ...
0
votes
1answer
34 views

How feasible is a Drupal 8 with a different language depending on its subdomain

So, let's say I have this massive content-heavy site with all sorts of paths like mysite.org/category/date/slug or mysite.org/someterm/subterm/date/slug. Let's say all this content is in English, and ...
0
votes
2answers
40 views

Get translated field value with fallback

How can I get the translated value of a field in Drupal 8 and if no translation is given, fallback to the default node language? I tried this: http://drupal.stackexchange.com/a/145747/9586, but when ...
0
votes
0answers
13 views

traslation view with geofield and openlayer

i have a view format geofield map , i have build with openlayer some positions and area on the map , in french the map is displayer with markers and area and i can have link from this markers and ...
1
vote
1answer
27 views

Fields for different languages on the same interface

I have a node that has many fields but need only the title and body field translated. This node type has a workflow associated to it and any authenticated user can create that node. The client ...
1
vote
2answers
48 views

How to translate URL aliases?

I have the following path mysite/basic-page/about-us I need translate it to:
0
votes
1answer
29 views

Hide empty results in views caused by entity translation?

I have a view generated by Views module and Entity Translation module enabled with the option "Enable language fallback" disabled. This should mean that if the language is not available the post ...
0
votes
1answer
33 views

Ways to specify different versions of nodes?

I'm creating a dev portal for a client's software, and they would like to have nodes pertaining to different versions of the software in the documentation. Rather than have to make an entire new set ...
0
votes
1answer
20 views

How to force drupal to use English version of the field?

I have bean block with a list (list_block) of other bean blocks (content_block) which I use in slider. I have multilingual site, so I have 2 languages English and Spanish. Each content_block has ...
1
vote
1answer
43 views

How to fix my String Translation error in my selection list value?

I am using the String Translation module (part of i18n) and I have added new string in Italian language. Example: Data d'inizio Output: So instead of translated text Data d'inizio its shows me ...
0
votes
0answers
24 views

VBO views field with an “Execute PHP code” to bulk translate nodes?

I need a code some similar to this node_save($entity); but to translate nodes instead. I need this to bulk translate 200 nodes in just on step. After this I will edit each translated node to change ...
0
votes
1answer
18 views

Views, Panels, Block not translating

In a panel, I'm trying to add a view block and I'm trying to translate my views title l but it's not displaying anything or translating. Below you can see my settings in my panels. If I dont ...
0
votes
0answers
18 views

Drupal 7 menu translation using feature

What I am trying to achieve is I have a drupal site which is basically in English & German. I have installed & enabled all the necessary modules for Translation, and my content is also ...
0
votes
2answers
52 views

programmatically get default value from translated body field per language

I am trying to get a default value loaded programmatically into every body field when we add translate from english, but it doesn't seems to work using form overwrite fields I tried using $form[][] = ...
0
votes
0answers
18 views

After translating website I get a lot of activity streams errors

As written above for translate my commons website I've running perfectly all the steps described in the Acquia Tutorial. Then I went to translate all the commons activity stream messages in ...
0
votes
2answers
52 views

Translate untranslated strings

I downloaded and enabled translations for my Drupal core and modules using these Drush commands: drush dl l10n_update && drush en -y $_ drush language-add lt && drush language-enable ...
0
votes
1answer
44 views

How to translate the title, axis labels and legend of a chart?

I have successfully created a grouped bar chart using the Forena module. My application supports English, Portugese and Spanish. But I am not able to translate my chart to Spanish and Portugese. I ...
4
votes
2answers
50 views

Number translation with 118n module

I have developed a multi-lingual site with i18n module (7.x-1.13) and everything works as expected.My Drupal version is 7.34. Recently, my client have asked not to translate the number. The website ...
0
votes
0answers
14 views

Can't save changes to blocks, can't create new block, with i18 block translation enabled

When I enable block translation i18 module, I can't save changes to the block. It shows this error: TYPE php DATE Tuesday, October 13, 2015 - 11:12 USER 1 LOCATION ...
1
vote
1answer
33 views

How to translate strings available in JS library?

I'm showing some images on my site where those are displayed using jquery.magnific-popup.min.js library. I'm not able to translate a string in that library. i.e. "%curr% of %total%" It is not ...
0
votes
2answers
32 views

How to translate variable containing html with the i18n_variable module?

I am trying to translate a variable with i18n_variable module. I am using the following code: /** * Implements hook_variable_info(). */ function MY_MODULE_variable_info($options) { ...
1
vote
2answers
62 views

Why are my translated Select List values not shown after switching language?

I have a content type for Job Openings, which has many fields and some of them are drop-downs (select lists). The issue is that when I switch the language (German) everything switches to the ...
1
vote
1answer
15 views

Entity Translation - create a translation for all existing nodes

Using Entity Translation, is there a way to create a translation for all existing nodes, instead of translating each one manually? For other languages there is lots of missing content, and would like ...
0
votes
1answer
26 views

Is there a way to export ALL translations into a single .PO file?

To translate my website, I need to export translations one by one per group type. This gets to be confusing as some fields share core terms ect... Is there a way to do a consolidated ONE .po file ...
1
vote
0answers
12 views

How to create a view returning untranslated entities

I'm using entity translation and I want to create a view returning a list of untranslated nodes in the current active language. I have been searching all day but I cannot get this working...