Drupal module used for translating Drupal websites into different languages based on the active user, path or something else.

learn more… | top users | synonyms

0
votes
1answer
27 views

Translate logo and favicon?

I am wondering if there is a method to translate the appearance settings section for each theme, for example the logo URL.
0
votes
0answers
26 views

Language switcher with custom dummy link (Drupal 7)

I have site with cyrillic text and I would like to add custom link which will transliterate current page to latin. Transliteration itself is not a problem, I can accomplish that with ...
1
vote
2answers
60 views

Huge amounts of locale queries clogging up drupal to 40 MB per request

I got an email today from my hosting company stating that they had to kill some processes of my site because it was using too much memory. Looking at the process table they provided, there were 10 ...
0
votes
1answer
35 views

Pre-select language (instead of “Language neutral”) when creating a node?

With core's Locale module you can enable Multilingual support for a content type. When creating/editing a node, this gives you a Language select list with all enabled languages and "Language neutral" ...
0
votes
1answer
24 views

Can original text be edited in translate interface or elsewhere?

When translating strings in the translate interface, I would also like to be able to edit the "original text" (for the default language), and not only fill in the translation strings for other ...
0
votes
1answer
28 views

Remove Locale settings from Logintoboggan

I have Logintoboggan installed to handle login/registration. Upon registering a new user it displays an option to set up Locale Settings - I would like to have this removed but cannot figure out how. ...
1
vote
2answers
24 views

Hello, how to translate only the interface back to english?

My site default language is Hebrew (RTL), the problem is that it's all the site, and i want my sites admin-interface to be in English (American). how could i re-translate it to English? Thanks !
1
vote
0answers
27 views

Drupal 6, Locale Module & Language Fallbacks

I have a Drupal 6 website, with 4 different locales, but only 2 different languages. The 4 locales are setup as follows: en, site.com, (American English) en-ca, site.ca, (Canadian English) fr, ...
1
vote
2answers
25 views

How to create language object from language string (e.g. 'en')?

As in question, ofcourse I am asking about Drupal function for this job. So I need function that get language string as param (e.g 'en','pl' etc) and returns me standard Drupal language object. ...
0
votes
1answer
57 views

How can I print a block (the language switcher) without the block-related classes?

I'm not sure if this question is phrased correctly; I'm happy to accept any solution that accomplishes my aim. GOAL: I am trying to print the language switcher block in the header of my theme without ...
1
vote
1answer
32 views

Country specific nodes

Let's say we navigate to http://example.org/ch/de/node/1 (with pathauto enabled /ch/de/hallo-welt) Now I want to specify somewhere the country Switzerland (ch) and set the available languages to de ...
0
votes
1answer
29 views

How to update locale after editing a .po file?

I edited a .po file in profiles/l10n_install/translations/ but after this the pages of the site are not updated. How to update the site after editing a .po file?
2
votes
0answers
37 views

Custom language negotiation module not working

I'm writing a custom module to allow the use of language a language suffix (of the form -eng or -fra) rather than the standard prefix. I'm using the language's configured prefix and have a number of ...
2
votes
2answers
91 views

Restrict views to specific languages

Using the locale modul (core) and i18n it is possible to show a language switcher, which will guide the user to corresponding nodes in another language. In case of views, this language switcher points ...
2
votes
0answers
62 views

Mixed Language Negotiation (Prefix and domain) in D7

We have a single code base and database for all the 3 languages of a certain website: http://example.com/ - default, no prefix, English http://example.com/pt - pt prefix, Portuguese ...
3
votes
2answers
175 views

How to change the behaviour or display of the language switcher?

On translated pages the language switcher shows links to translated languages, but for untranslated languages there is no link, but the name of the language without a link. In the case, that there is ...
2
votes
2answers
61 views

How to provide a translation for a string used within t()?

On my site I use a module which creates text using t('text from module'). How can I tell drupal that I have a translation for that, and of course, that my translated text is being displayed?
0
votes
0answers
51 views

Collate and compare international strings with strcoll or another method

In order to compare international strings, PHP offers setlocale and strcoll. Used in, for example ordering an array: setlocale(LC_COLLATE, 'C.utf8'); $array = array('Birnen', 'Äpfel', 'Ungetüme', ...
2
votes
2answers
50 views

Term translation in views

i try to create a multilingual page with drupal. http://alarabi.biz/category-listing I created some categoreis and translated them with the Internationalization plugin and i18nviews. So I can ...
2
votes
1answer
75 views

How to set the default language in code?

I want to set the default language during install to something other than English. How?
2
votes
1answer
167 views

Cannot modify language field in node form using hook_form_alter in drupal 7

I tried adding a description for the language field in a node form using hook_form_alter: $form['language']['#description'] = t('Description'); The changes are not accepted, the language field ...
2
votes
2answers
529 views

i18n - Not translating Menu's or Blocks

The Problem Using the i18n module, node translations are working, however Menu and Block translations are not showing up. For example: I created 2 identical blocks. For one i set the Show this block ...
2
votes
1answer
34 views

How can I make a condition for currently viewed language on a template file?

I have a template called page-my-view.tpl.php that overrides a view page my-view. I have directly put the title tags, description and h1 on this template file. However I need different texts for ...
0
votes
0answers
77 views

local module problems?

I am not a programmer so this is a little out of my league. When I submit a question using the answers module, I receive the following error: Notice: Undefined property: ...
2
votes
0answers
127 views

Cannot edit regional settings in drupal 7

I cannot edit any of setting presented in regional settings category under admin/config/regional/settings. Whenever I for example remove tick from "Users may set their own time zone" and click save ...
2
votes
1answer
242 views

How to correctly handle date formats that needs i18n

Suppose you have a date format that looks like this: "Some text Y-m-d other text H:i". Please ignore that the text needs some escaping. What is the correct way of outputting this in a i18n friendly ...
0
votes
1answer
349 views

Language switcher shows me same node on switch

I am using Locale and Content Translation modules. First I created node and translated it. On content listing both have proper alias urls, everything seems to be ok. As a guest user I see content in ...
1
vote
1answer
53 views

Different theme for different languages

In drupal 7 how do I change site's theme based on current language?
2
votes
1answer
94 views

use a custom textgroup from t()

I've defined my own textgroup using: function foo_locale($op = 'groups') { switch ($op) { case 'groups': return array('foo' => t('foo strings')); } } The problem is that when I use ...
0
votes
1answer
280 views

Link for switch language

without using any module, How do I make a link to change current language of site?When users click on a language I want to switch language and redirect them to the same page not to front page.
1
vote
1answer
1k views

How do I get translated strings into Drupal.locale.strings?

So I'm trying to use the Drupal.t() function in some of my custom Javascript code (in my theme). How do I get the strings I need populated in the Drupal.locale.strings object? I see some strings in ...
3
votes
1answer
204 views

How can I translate those translatable texts defined in t() in contribute/custom modules?

I wrote some custom modules, follow the Drupal standards, put all interface texts in t() function, make them translatable. Module enabled. I enabled Locale module, added new Language under ...
1
vote
0answers
117 views

Drupal setup one language: locale vs. stringoverrides

I was wondering what would be the best way to build a website which has only one language. In order to make existing strings translatable we can: use the Locale module and add a 'dead' language ...
1
vote
0answers
209 views

Alias not working for a non default language

When I create a node in a non default language, I set an alias. After the node is saved, however, all internal links (e.g. menus) do not use the alias; they all use the node/[nid] link type, and when ...
1
vote
1answer
54 views

Should I enter data as English and then translate to my language?

For data entry for taxonomy terms and field names should I enter data in English and then translate to my own language?Entering directly in my own language has no problem.I just want to know if there ...
0
votes
2answers
287 views

How can a user select a different language to the site default language?

My Drupal 6 site should always display in French for all users except me. I need to administer the site in English. Using the Locale module I have both languages installed and default set to French. ...