The Internationalization (i18n) module aids in adapting Drupal to different languages, regional differences and local technical requirements.

learn more… | top users | synonyms (1)

1
vote
0answers
5 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 ...
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
14 views

url() not providing links to correct language alias using i18n in D7

We have a site that features two languages, EN (primary/default) and JA. On one content page, we link to another node using it's nid: url('node/123'). In EN, this returns the alias and not the node ...
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 ...
0
votes
1answer
18 views

How to translate menu link uri

Is there a way to tranlate a menu link uri (extern)? When I change it in one language (e.g. http://www.example.com), it is also changed in the other language, where I want to have a different uri ...
2
votes
3answers
125 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
59 views

How to install Drupal 8 with custom language using Drush 8?

I know I can install a new Drupal web site with: $ drush dl drupal --drupal-project-rename=[project] $ cd [project] $ drush site-install standard \ ...
0
votes
0answers
8 views

Letting user select from ALL supported languages, even if not importing po

I want to only support English, Chinese (Simplified) and Japanese initially, but I'd still like to log the language choice of users so I can build a picture of what languages I should be supporting ...
0
votes
1answer
9 views

How to force entity translations to load in a certain language with user_view() or entity_view()

I have a custom view mode that uses a template to print out user profiles. I am saving the HTML from this view mode in the Solr search index using Search API Solr. In user--my-view-mode.tpl.php, I ...
0
votes
1answer
21 views

Chinese auto path urls become something else?

I have a Drupal 7 site with i18n on it. There are lots of languages. The problem is that if you save node that is in Chinese, and you select auto path, then the title that was something like this: ...
0
votes
0answers
16 views

Can I force the user profile to render in a language other than the current user's language?

I am trying to render user profiles in both English and Japanese in user-profile.tpl.php: $render = user_view($user, 'nopic', 'en'); print render($render); $render = user_view($user, 'nopic', 'ja'); ...
0
votes
1answer
15 views

How do I set the language code for rendering in entity_view()?

I'm trying to render entities using a Search API callback with entity_view(). I want to register entities of type user in the full view mode as if viewed from the Japanese language. Here is my code: ...
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
10 views

How to translate a node from a content type (A) into another content type (B)?

Right now it's not possible to translate a node using a different content type. This is enforced by the code inside i18n_node.pages.inc i18n_node_select_translation() / autocomplete_path: ...
0
votes
1answer
27 views

How do I translate domain:site_name in the view page?

I created a multi-lingual site (Arabic and English), and installed all the necessary modules. I translated the site name for every domain. I created a view page. When I visit ...
0
votes
0answers
12 views

Multilingual product display import

I'm using i18n translation module for translating commerce product display nodes, i already imported products and it's display node in English, now are there a way to import the translated version of ...
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
1answer
21 views

How to access current langcode in theme?

I use Integrity theme and want to make the slider images i18n aware. I want to get the current langcode in the function _integrity_get_home_block_contents Previously it worked like this: ...
1
vote
1answer
53 views

Can I have both Language and Country path prefixes in Drupal 8?

On our site, paths are all prefixed by language and country. For example: http://example.com/en/us/about In Drupal 7, a previous vendor implemented this by using the Persistent URL module, which ...
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 ...
0
votes
1answer
38 views

Date Popup does not translate date format

I am using date popup for a Italian site. In edit/node when in my_data_field I select the date it shows in English format mm/dd/YY and not in dd/mm/YYYY. Instead if I use the date popup in a exposed ...
0
votes
0answers
20 views

How do I allow editors without access to the admin to translate Fieldable Panels Panes?

Fieldable Panels Panes are hard to translate. It requires going to Structure -> Fieldable Panels Panes -> [bundle] -> List -> view -> Translate. We don't want to give regular editors access to this ...
0
votes
0answers
12 views

Pane Title translation with i18n Module on Paonopoly distribution

I have a fresh installation of Internationalization module on my fresh Paonopoly (Drupal 7) distribution. I have made a bilingual site and all seems to be working fine except Pane Titles: I cannot ...
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 ...
1
vote
0answers
27 views

Setting the default front page setting to be translatable

I've enabled the following multilingual modules: Configuration Translation Content Translation Interface Translation Language Configuration translation enables me to translate the site title and ...
0
votes
1answer
29 views

Both language menus show up

Currently I'm working on a 6-language website and all content obviously needs to be translated, including menus. For this, I have enabled i18n_menu and i18n_select (as I had a little experience on the ...
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
0answers
13 views

In hook_i18n_object_info(), What is the difference in the module using i18n that requires the use of a sub-array within the properties array?

In hook_i18n_object_info() implementations, I have noticed that some modules just list properties in the properties array and some list an array in the properties array. What is the difference in ...
0
votes
1answer
21 views

what is the difference between a load callback and list callback in the i18n hook_i18n_object_info() function?

I am learning how to use the i18n module to translate a module. In hook_i18n_object_info() implementations, I have noticed other modules using list callback or load callback. What is the ...
1
vote
2answers
30 views

How to handle translation correct way?

Some background: On the site I'm maintaining, I installed Internationalization module and also enabled Node Translation. I added a few languages, then set a node's language to French and site default ...
1
vote
1answer
26 views

Translation not working for custom user roles

I am using the i18n module. I created 2 custom roles: venue user and customer user. When I log in as administrator user, the translation is working fine; when we log in either as venue user or ...
0
votes
1answer
34 views

Multilingual content Migration

I have Multi-Language website, I need this website to migrate new Drupal website. I can use node export module for export the content; however, I have a multi-language site, how should I handle those ...
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 ...
1
vote
1answer
33 views

Commerce functionality using Domain Access + i18n

I have several sites using modules Domain Access and i18n, using Drupal 7. I am completely newbie to commerce, and have read about the options of modules Ubercart and Drupal Commerce. However, I want ...
0
votes
1answer
15 views

Determine front page for specific language

I'm using I18n and I am trying to choose which front page to use for each language. I actually get the following message for every page : The requested page "/en" could not be found. Same for ...
0
votes
0answers
39 views

Implements a custom template for Langage switcher

I've tried to implement a custom template in MY_THEME/templates/general/links--locale-block.tpl.php. But it isn't called even if the block is correctly configured and placed in the right region. ...
0
votes
1answer
48 views

How to Begin a French Version of My Site?

I have an English site at the moment. I'd like to start a French version of it, but I get a bit confused when I look at the options out there. I am running Drupal 7. Here's what I'd like: When you ...
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 ...
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 ...
4
votes
3answers
104 views

How to get a term from the translated term name?

I have a translated taxonomy term whose name is Autos Y Motores (Spanish). How can I get the taxonomy term object from it? If the term name were in English, I would use ...
2
votes
3answers
69 views

How to show block based on browser language?

In Drupal 8, I would like to show a block to a visitor based on their browser language (I guess based on the Accept-Language HTTP header). The page should stay in English but there should be ...
0
votes
1answer
31 views

“Languages” not found in Admin/Configuration

I have a Drupal 7.41 in a remote server linux configuration Installed and Enabled Internationalization Locale Variable Entity Traslation Content Translation Next, want to Add the Spanish and ...
0
votes
0answers
17 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 ...
2
votes
1answer
18 views

How to translate a node without creating a 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 ...
0
votes
1answer
65 views

Language selector Drupal 8

I can't seem to get a Language Selector to appear on my page.html.twig (or in a block). I must be doing something wrong, I can perfectly translate my content by I can't switch language (unless I ...
3
votes
3answers
42 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 ...
0
votes
1answer
24 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
13 views

Using SQL how do I select the value of a translated field in a specific language?

Give an entity field that has been translated into the target language, how do I retrieve a specific language version using SQL - not php. Give this query for instance (using an imaginary field ...
5
votes
2answers
124 views

Translate not working for some strings

I am using Drupal commons. I am using I18n and other related modules for my website as it is created in English but is being used in French also. I am using translations provided. My issue is that I ...