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

Linking to translated internal content in TinyMCE wysiwyg

What's the best way to allow editors to link to internal content using the TinyMCe wysiwyg editor in a way that provides the correct alias based on the end user language? For example, I would like ...
0
votes
0answers
16 views

I want to make translation for slogan [closed]

I want to make translation for slogan in Drupal 8. I have EN by default and i want convert slogan to anothers languages. Thanks for the response.
1
vote
0answers
16 views

Translating Javascript files with Drupal.t() fails

I've attached Leaflet draw js library to my site. I've modified that JavaScript file by wrapping UI texts in Drupal.t() It took a while before these texts were available in translation interface ...
0
votes
1answer
22 views

“Home” not changing in Breadcrumbs when switching languages (Locale)

I am using Locale to translate content and menus. Despite that, even when viewing a page in Spanish, the "Home" link in the breadcrumbs does not change to "Inicio". What can I do to fix that? I ...
0
votes
0answers
14 views

Master HTML inside a node using multilingual text

I'm using Drupal 7 .. Here is my issue : I would like to .. using a node to type HTML inside the body ... in which i include nodes bodies for eg Body : <p>[nid:6:body]</p> So ...
2
votes
3answers
127 views

How to grant permissions for translating block content?

I used Block Image module to create some content; now I want to give the site's editor, permission to translate the blocks, but I can't seem to find how I can do that. There's no permission to let a ...
2
votes
1answer
24 views

Retrieve translated taxonomy term in current language programatically

How do I retrieve a specified taxonomy term translated (if translation exists for this term) from the current language context programmatically with D8?
5
votes
1answer
168 views

Only Publish a node in certain languages

In D8 I have a node with several translations - not all translations will be ready to publish at the same time. If I unpublish one translation it unpublishes all transaltions and default translation. ...
0
votes
0answers
13 views

Node's page tab title translation with metatag module is not working

I'm using metatag 7.x-1.7+57-dev and i18n 7.x-1.13+1-dev versions and entity translation module to translate nodes. Its not showing translations for node tab title, meta description and keywords. ...
4
votes
3answers
92 views

How to translate Select List options used in exposed filters of a view?

I'm having an issue with translation of exposed filters in Views. I'm using a text list field as an exposed filter in my view. The problem is that even though I translated the list terms via strings ...
0
votes
0answers
24 views

Entity Translation and Taxonomy

I'm having hard time integrating Entity Translation module with tags (Taxonomy and TagClouds modules). I want the following: Cloud of tags to be showed on the site Tags must be translatable, i.e. ...
0
votes
1answer
36 views

how to create a site with admin language english and backend language another

I would like to create a site to display the frontend of the site in one language and still keep the backend in English (or another language). Is there a module like "Administration Language" or any ...
0
votes
0answers
19 views

How to programmatically add multiple entity translations for a node at once

I have multiple nodes on a multilingual site. Now I've got only the default language for the nodes ('es' in my case). I'm writting a code to programmatically translate each node from an external ...
0
votes
1answer
25 views

How do I exclude admin strings from interface translation?

I want to translate my Drupal 8 site to another language. I have several translatable strings in my custom theme and modules specified via either the t method or {% trans %}. To translate these I ...
0
votes
0answers
27 views

Duplicate results of views exposed filter when searching multiple entity translation fields

I'm using brilliant "Global: Combine field filter" option for exposed filters in Views to allow users searching among multiple fields (as described here: ...
3
votes
1answer
36 views

How do I filter entity reference fields based on language?

In a Drupal 8 site I have a node content type "page" that references a custom entity type using inline entity form. "Page" also has a paragraphs field usig the Paragraphs module. The site have ...
0
votes
0answers
8 views

How to alter a form for the translation of an entity?

Both hook_form_alter and hook_form_FORM_ID_alter in my module are getting triggered before the entityFormAlter in the ContentTranslationHandler. So the 'Delete Translation', which replaces delete is ...
1
vote
2answers
51 views

How to get a referencedEntity field value in current node language

I am trying to get some node's content inside a block. I managed to get the fields i wanted, but they are always returned in my site default language instead of the current translations (ex. /node/1 ...
0
votes
1answer
31 views

Headless Drupal for managing multilanguage resources for Web/Android/IOS apps? [closed]

A company has content in 10 languages and 3 channels (web, ios, android). It creates a lot of overhead related to translation (external translation company has to be managed, translations sent etc.). ...
1
vote
0answers
68 views

How do I translate theme settings?

How do you translate custom theme settings in Drupal 8? I use hook_form_system_theme_settings_alter to add custom settings to a theme. One setting is the text string (e.g. 'Menu') to display beside ...
0
votes
1answer
29 views

How to translate the book pages content using the Book Translation module?

My requirement is that a user can see the complete book pages in the selected language (English, Hindi, Bengali, etc) as per the preference. That's why I installed the Book Translation ...
0
votes
2answers
20 views

how to setting drupal i18n translation module not to translate system menu I don't want?

In my site I am using drupal7 i18n module to translate to Burmese language. But my problem is I don't like drupal to translate system fields that does not need to translate because translation is ...
1
vote
1answer
44 views

How do I get Views content items in “my language” but fall back to “default” if the content isn't translated?

This is probably very easy but endless searching has proved fruitless - there's lots of UI changes between the D7 and D8 versions of these modules it seems. What I want to do is create a blog in two ...
1
vote
1answer
30 views

Preserve characters in URL [duplicate]

I would like to preserve some of the characters in URL, so they don't get translated. Example characters ùûüÿàâæçéèêëïîôœ should not be translated in URLpath or if they do, they should be saved to ...
0
votes
0answers
7 views

Menu translation on existing site without recreating every item with language undefined

We have an existing Site with a very big Menu Structure. Now i want to translate the menu. The problem is: yes i can translate the menu items, but they point to the same node. The initial language ...
0
votes
0answers
6 views

Prevent (all languages) being displayed in multilingual entity forms?

So i have entities setup with translations enabled some fields are "all languages" i.e. their not set to be translated. I don't want to have "(all languages)" on my form labels. How do i prevent or ...
5
votes
2answers
155 views

How do I translate strings in Twig templates?

I am working on a (my first) Drupal 8 project witch is a multilingual site. Drupal 8 really delivers in terms of native support for content translation. However, I have a few strings set directly in ...
0
votes
0answers
35 views

translation of username

I'm using entity translation which allows the user to translate their username within the user profile from. This has some unwanted side effects for me (username changes in some views etc.), so I do ...
0
votes
1answer
32 views

Watchdog messages and string replacement

Hello I would like to know which of the following ways (or some other) of logging messages is better and why. I am writing lots of .install files since I create content types and fields ...
0
votes
0answers
31 views

Entity translation for taxonomy terms

I am having an issue getting taxonomies translated properly. I am using Entity Translation (ET) along with the Title module. I created a vocabulary called "test" and replaced the name and description ...
0
votes
1answer
16 views

Export translations of field labels

Drupal 7. I work on multi language site. I have a content type with entity translation fields. I've added translation to field labels and settings on my DEV copy of site and now I need to export and ...
0
votes
1answer
32 views

entity_metadata_wrapper langcode always prints default language

I'm using entity_metadata_wrapper with entity translation to print fields in a template, but it always prints the default language when using a langcode in the options. $wrap = ...
2
votes
3answers
82 views

How do I filter a menu to only show menu items translated into current language?

In my Drupal 8 project I have a menu containing menu items in english. Some of the items have a german translation. How do I filter the menu to only show the german items when viewing the site in ...
0
votes
0answers
6 views

Some menu items in admin toolbar cannot be translated

Some menu items in admin toolbar appear in English anyway. For example string "Custom block library" is translated and appears translated as page title on page /admin/structure/block/block-content ...
3
votes
1answer
204 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
11 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
24 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
31 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
39 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
37 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
25 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 ...
1
vote
1answer
24 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
22 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
19 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
1answer
31 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
25 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
23 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
31 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
59 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
29 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 ...