Questions tagged [transliteration]

The transliteration module provides one-way string transliteration (romanization) and cleans file names during upload.

Filter by
Sorted by
Tagged with
-2 votes
1 answer
114 views

how to set Default translated texts in twig file [duplicate]

I developed a twig plugin (to display graphs from a webform). These plugins contain English texts; And I want the same file to keep translations for several languages by default (for example, Arabic), ...
0 votes
0 answers
18 views

Permission for publish field on a translation

the website is a multilingual website, and the Publish field is checked as translateable. user one, can see the Publish checkbox on translation and can change it. but in the other role (let's call it ...
  • 21.3k
0 votes
1 answer
161 views

how to get translation of taxonomy term in a preprocess function

I am using MYTHEME_preprocess_views_view to assign the taxonomy term as the page title for all the entries of a content type. it's working fine but the issue is when I switch the language from English ...
0 votes
1 answer
31 views

Promotions not translated on cart and checkout page? [closed]

I have commerce site in 2 languages: English (default) and German. I enabled translation of promotions so when I go to promotions admin page ( /admin/commerce/promotions ) for each promotion there is ...
  • 425
2 votes
0 answers
68 views

Why path prefix is always leading to en instead of User's preferred language?

I am working a multi-lingual website which has 9 languages enabled. But the issue I am facing is irrespective of user's preferred language, site will be always prefixed with en. The required behaviour ...
  • 874
0 votes
1 answer
42 views

Does the Transliteration module alter the existing URLs?

I want to install the Transliteration module for a site on Drupal. If I install this module, would it also change existing URLs (if I enabled it in the Pathauto module settings), or would it change ...
2 votes
3 answers
559 views

Add Language Switcher on admin toolbar

What is the correct way for adding Language Switcher (Dropdown) or links on the admin toolbar menu from my custom module or from a contributed module?
-1 votes
1 answer
35 views

View sorting issue related to Content Translation

I have used Content Translation module to translate nodes in zh-hant. They are extracted at the View block using Content: Translation language (= Interface text language selected for page) filter and ...
3 votes
4 answers
4k views

File name transliteration

I need to clean up file names on upload. Both for image fields, other file fields and IMCE file manager. The transliteration module is not yet ported to Drupal 8 and the community does not seem to ...
1 vote
1 answer
133 views

Drupal Translation Doesn't work

I am trying to translate articles/nodes on my site. I installed all required modules. I have a custom node type. This custom node type has some fields that are translatable and not translatable. I ...
0 votes
1 answer
29 views

URL with "en" for english language does not work

I did implement the multilingual. I have successfully translated the content and interface in multiple languages. But when I try to use "/en" in URL for the English language which is the default. It ...
1 vote
0 answers
49 views

Render a list of all translatable strings that appear in a page / node?

I am looking for a PHP code / Drupal 7 hook which provides a list of all translatable strings that appear in the displayed page or node (i.e. all t('strings') with their id's). Update I need that ...
  • 718
2 votes
0 answers
169 views

How to change google translator selectbox to normal links listing? [closed]

I want to change google translator display layout from select box list to normal links list.I'm using below code. For more info http://screencast.com/t/3MPGGygRkX . Please help. <div id="...
0 votes
1 answer
195 views

pathauto_clean_string and accents from a bootstrap PHP file

I have a single PHP file which makes a bootstrap of Drupal 7. The code is below. When I try to use pathauto_clean_string in a spanish string with accents (á é ... , etc.) it deletes the character ...
  • 932
0 votes
0 answers
85 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 "...
  • 629
1 vote
2 answers
109 views

How to translate URL aliases?

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

Views with taxonomy contextual filter not working in Russian language in Drupal 7

I have a View which works perfectly in English. It has a contextual filter, with options Content: Has taxonomy term ID , filters by taxonomy term with term name converted to term Id. But when I ...
  • 3
2 votes
0 answers
120 views

Pathauto does not Transliterate when creating a node programatically (works when manually creating)

Drupal 7 Here is my code: <?php $languages = language_list(); // get all languages $preferedLang = "sv"; global $language; $language = $languages[$preferedLang]; $node = new stdClass(); // ...
  • 21
1 vote
1 answer
147 views

How to get entity from transliterated argument in URL?

I have panel, where I have argument: taxonomy term name term names are transliterated (like "My custom taxonomy title" into my-custom-taxonomy-title) path is like this: my-custom-list-of-nodes/my-...
0 votes
2 answers
752 views

The file names are not transliterated on upload

I am using Drupal 7 and have transliteration module enabled. I have a file field and I want to have the names of the uploaded files to be transliterated on upload. The url alias for the nodes are ...
  • 595
2 votes
2 answers
415 views

Partial URL transliteration?

Is it possible to partially transliterate URL alias, so to leave for example the case of the node title unchanged, such as in: /this/is/my/transliterated/path/THIS-IS-UNCHANGED-Node-Title-888 with ...
  • 5,486
3 votes
1 answer
793 views

URL transliteration in Views rewrite?

I have a View of taxonomy terms and for some reason I need to overwrite the terms' fields and link them "manually", using "Output this field as link". How can I process the '[name]' token through ...
  • 5,486