Questions tagged [i18n-l10n]

Use it in questions about adapting software to different languages, regional differences, and requirements of a target market (locale).

Filter by
Sorted by
Tagged with
2
votes
2answers
456 views

What is the proper function for multi dimensional localized menu?

What is the proper function to get multi dimensional localized menu in Drupal 7? after searching, I found i18n_menu_localize_tree(), but I didn't get it as tree menu. Should I use ...
4
votes
3answers
12k views

Views with multiple languages

I'm building a multi-lingual site with drupal 7. I see that you can "translate" a page. How do I translate a view? The url http://mysite.com/view is a view, but I don't see the "translate" button.
0
votes
1answer
719 views

How to change the logo image dynamically when user change language?

How to change the logo image dinamycally when user change language by clicking in the flag? Exist an easy way to resolve this problems?
0
votes
1answer
2k views

Can I use the $language variable in a Drupal 6 template file?

Is it correct to use the $language variable to make conditions in the page-front.tpl.php? Is if ($language == 'es') correct?
0
votes
1answer
413 views

How translate a static block in drupal 6?

Does a variable exist that I can use to translate a static piece of text in a block? For example: <?php if($language==english): ?> do something... <?php endif; ?>
0
votes
1answer
268 views

Problems primary links translate drupal 6

I have translate the link in my menu (primary links) in spanish, when i change the language from italian to spanish all the voices of the menu are translated except one ( the voice apartamentos) that ...
1
vote
1answer
2k views

How to translate blocks content (created with views module) in drupal 6?

I created blocks with views, my question is this: When you select a language, even the block content ( created with views )applies to me translated ?
3
votes
2answers
1k views

Does my Drupal 7 site have transaction support enabled by default?

I happen to read through the commented lines in settings.php under the "Database settings" (around line no. 45) the following text: Some database engines support transactions. In order to enable ...
3
votes
1answer
186 views

Views in English and Spanish

My site is in English and Spanish. My question pertains to the Similar by terms module and a custom view that on click shows random filtered by term nodes. How would I create an argument to show ...
4
votes
4answers
3k views

Let the user change language with a select

I need to let the user change language with a select. I need to do everything by hand because i'm putting that in a custom block. Do you have any idea on how I can accomplish that?
0
votes
2answers
994 views

problem with $conf['i18n_variables']

i have installed i18n module and added this lines to setting.php and empty cache to translate slogan and contact form information and ... but it doesnt affect site and values dont add to ...
4
votes
2answers
3k views

Set language for a panel page

How do I create multiple translations of a panel page? My homepage is designed with panels and I have both english and spanish content. For nodes everything is fine but I can't figure out how to do ...
6
votes
1answer
2k views

Detect translatable strings in custom module code

I have a D6 site with several custom modules. The site now needs to support multiple languages. All my strings are wrapped in t() and I'm pretty familiar with locale.module and the i18n modules. I ...
2
votes
1answer
2k views

Add translatable text in template file

I am going to add a custom string by t() function in node.tpl.php. However, where should I add the translated string for the original string?
7
votes
1answer
2k views

Using t() with langcode in Drupal 7

I have a Drupal 7 setup with multiple languages (en and fr). In my template files I have a lot of t() texts which im translating using the i10n_client module. This works perfect for translating texts ...
8
votes
2answers
10k views

Accessing $language inside node content in drupal 7

Normally I would use $language to get the active language on my drupal 7 page. Now I'm doing some changes to a node content (set to PHP code) and I can't seem to get any variables working? I badly ...
2
votes
1answer
409 views

Change Ubercart's “Order” to “Donation”

I am setting up a site for a non-profit organization (using Ubercart to accept donations) and I want to change "order" to "donation". I started in with the stringoverrides module. I was searching ...
3
votes
1answer
4k views

Remove “Language Undefined” from content with Multilingual module

Using Multilingual - Internationalization module, now all my pages show: Language Undefined At the bottem. How do I remove this text? I'm using the language switcher, and I have already ...
2
votes
1answer
3k views

Change language programmatically after login

I have a multilingual site and I want to change the language programmatically after user login to his own language to see all the content in his language. How can I do this?
2
votes
0answers
158 views

Poll choices are not multilanguage supported

Hi I have installed poll and i18n_auto with gTranslate modules, Both are cool, But the translation occurs only for Poll title and Poll Body not for choices. Is it possible to translate the choice ...
2
votes
3answers
2k views

Is there a way to show different Amazon affiliate link based on visitor locations?

I'm trying to get an Amazon affiliate link set up that directs the visitor to their local store, rather than being fixed to one particular store. I know I could set up individual links for each ...
2
votes
4answers
6k views

Multilingual “labels” in views fields?

Is there any way to setup multilingual labels in views' fields. Let´s say I have the ´title´ field and it shows the label ´My Title:´. Then as my site is bilingual (english-spanish) I need to have ...
7
votes
3answers
3k views

Use another language than “default” as standard

We're currently building a rather large website that will be release in swedish initially, but other languages later on. For this reason we've built everything in english and then translated ...
2
votes
1answer
1k views

Translate untranslated words in Drupal

I'm using calendar module and I noticed when browsing web that some words are not translated (e.g. "prev," "next," "day," "week," "month," "year"). Is it possible to write somewhere the translation ...
2
votes
1answer
280 views

Bulk language assignment

In the past I created hundreds of nodes in a specific language. Finally, the website will have only one language and I think it is best to set them all to unassigned language for development reasons. ...
6
votes
1answer
539 views

Language selector for Apache Solr search form

How can I do something like this with Apache Solr in Drupal 7? This will be the front page of my site, and depending on the language the user chooses, he will be redirected to the language-specific ...
4
votes
2answers
818 views

Language fallback stack

I have 4 language versions on my website. Is there a way to define a language fallback order? For example, if I'm on a node page and the language is set to English and there's no English translation ...
2
votes
1answer
871 views

Interface translation - Body, Title built-in interface

I use i18n and I10n_client to translate English to Dutch in my web page, however some interface variables are not changing. I searched 'Body' and try to replace it with its Dutch word, it doesnt take ...
1
vote
1answer
299 views

Translation issue

I have problem with the i18n translation module; despite I translate a text menu link in the administration string translation section, it doesn't translate on the front end when I navigate the site ...
6
votes
2answers
8k views

Formatting numbers in D7

I have a serialized object in a field. I now need to output a float-value. Since the site has 2 languages (german/english) I now need to format the float-number based on the current language. $value =...
1
vote
2answers
2k views

Which are the steps to make Locale language switcher block appear at selected area?

After this question on which module to use to handle interface translation I was expecting the setup of Locale to be pretty straightforward. I guess it is not. Well, my backend and navigation menus ...
3
votes
2answers
613 views

How can you allow an unregistered user to change languages?

I have no clue to which is the Drupal way of allowing any user (registered or not) to change the website language. The way I need it to work is to allow any user to click on their preferred language ...
2
votes
2answers
3k views

How to display translated term names in exposed form in block

So I've got a views page displaying a list of nodes from specific content type. This view has filter form exposed in a block. Some of the filters in the form are vocabularies. I'm using the BEF ...
0
votes
1answer
549 views

Displaying node translations

I have enabled several languages on my site and the following modules has been installed: Locale & Content translation. I have created a simple page in English and have added several translations ...
1
vote
2answers
2k views

How to set the language for the user while it is created?

How to set the language for a user while it is created from admin/people/create?
4
votes
4answers
3k views

Remove content translation links from contact form

I'm having a difficult time diagnosing a problem on a site I'm working on. By default on a multilingual site Drupal puts "content translation links" at the bottom of nodes. I've disabled the content ...
6
votes
8answers
11k views

How to redirect toward a specific node from front-page in Drupal 7?

I have a multi language site made in Drupal 7. And I want to check if I am on the front page then if true to redirect the user to a to some specific node. I have tried different methods: to create ...
4
votes
2answers
872 views

Is it possible to make only one field in a content type language neutral?

If you have a text field, that you do not want to be translated (i.e. language neutral) as in a field for an email address, how do you set just that one field to be language neutral, while leaving the ...

1
33 34 35 36
37