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
3
votes
2answers
3k views

How to set a field's 'translatable' property

When I create a new field type in Drupal it seems to be automatically assigned a 'translatable' property and it's not always right. For example, I would expect a Long Text field type to be marked as ...
1
vote
0answers
2k views

GeoIP or browser language redirect on first visit [closed]

GeoIP or browser language redirect on first visit: how can I achieve this?
0
votes
1answer
810 views

Custom content translation links

I have a multilingual Drupal site in english & french. At the bottom of every page is the content translation link, however I want to place this in a custom location on page.tpl.php. So if I hide ...
2
votes
1answer
1k views

Page template suggestion per language?

How can I add page templates for different Languages in my Drupal 6? For example, if I want to make different page template for Bulgarian language, page-bg.tpl.php doesn't work.
0
votes
1answer
83 views

For multilingual sites, do I set up a separate taxonomy?

If I decide to set up an additional language for my site, do I need to manually set up a translated version of my existing taxonomy, or is there a module that can manage that process for me (not the ...
2
votes
0answers
168 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 which ...
0
votes
2answers
1k views

Linking to front page with current selected language

<?php print $base_path; ?> Links to the front page with default language, So If site's default language is set to A and a user has selected language B, this code redirects user to the front page ...
2
votes
0answers
948 views

I want to duplicate all content into a new enabled language

I have 5000+ articles that so far were in one language; I want to make a new language available, but it would be very useful to at least create the content by copying the current one with images and ...
0
votes
1answer
253 views

Is there a nicer way of getting my nodes language and text direction?

My site is almost entirely in English, but with individual pages in different languages. There's one extra page per language other than English, as a single page "this is a summary of the sites ...
2
votes
1answer
306 views

Language Block customization: I need to display either English link or the other language link (not both)

I have a bilingual project and the language is being switched from the language block. It actually displays now: English and Spanish. I need to have just one language link displayed: English when on ...
1
vote
2answers
2k views

Translate the frontend part of the site only

I am working at a project that needs a biilingual translation (content + interface). I've installed the following modules: Locale + Content translation (core modules) Internationalization Module (...
1
vote
1answer
29 views

Erase custom translation

I need to erase a custom translation I made for the Addresses Module. The problem is I changed Mexico to México (with accent) and now, logically, the module does not work correctly since it ...
3
votes
2answers
5k views

During updating translation: Fatal error: Maximum execution time of 240 seconds exceeded [closed]

I've tried to install a second language to my Drupal7 site. It can be done either by automatically or manually translation. I tried both but I got into the following issue at halftime: Maximum ...
1
vote
1answer
454 views

How can I add language selection to the user profile in “my account” settings

I'm currently allowing users to switch language with the "Language switcher" block, but I would like have this as part of the user profile that is managed with the "My Account" settings page. Is it ...
0
votes
1answer
806 views

Language selection in Panels?

I have a panel node and in it I added a node. Is there any way to make Panels load the translation of the node based on the user current language. This is easy to do with Views adding a filter, but I ...
0
votes
1answer
1k views

Per user language selection

I need to do the following on my Drupal 7 site: Anonymous users should see the website in Ukrainian (I mean not the content, but the elements like "Login", "Register" etc.) Administrator (the user ...
2
votes
1answer
214 views

Import multilingual node in Drupal6

Suppose I have 100 nodes in language of English, I am going to import another 100 nodes with different language but same content. I want to ask is there any module can establish the relationship ...
0
votes
1answer
2k views

Google translate service not available on Translation Management module(Drupal 6)

When I using the translation management to translate my node, I got "Google translation failed to Chinese, Simplified: Google returned error #403: Quota Exceeded. Please see http://code.google.com/...
1
vote
2answers
2k views

Language information in Session for anonymous users

I selected the language preference to be detected with user sessions, the problem is that for anonymous user this preference does not seem to be stored. As this site is not user driven (Meaning that ...
2
votes
2answers
548 views

Node date in a different language?

I use the following code to display the date in my node template: <?php echo date("j F Y", $created); ?> But I need to display the months in a different language, how can I do that?
2
votes
0answers
305 views

How to avoid taxonomy terms other than current language terms in taxonomy menu?

Vocabulary settings: Per language terms. Different terms will be allowed for each language and they can be translated. I translate one term to other language (different than default), but this term ...
2
votes
0answers
884 views

Multilanguage Taxonomy

I am getting lost with the multilanguage Taxonomy management in drupal 7. The english version of the site is build so that a product is taged with a unique term, that may belong to a parent term. So ...
4
votes
1answer
224 views

Why Calling the theme path in a multinlingual site adds a language prefix?

In my template whenever I call the path to my theme in a particular language it adds a language suffix dir like mysite.com/fr/sites/all/themes/mytheme while I'm expecting a path without a prefix (e.g. ...
4
votes
2answers
89 views

Internationalization — impact on other modules?

I installed the internationalization module because the site I'm developing is in a different language, but I can no longer index the site in Drupal's search engine, and Tagadelic isn't working either....
0
votes
2answers
508 views

How can I have a URL like www.example.com/about?language=ja to set Japanese for the page?

I've enabled the Locale and Content Translation module but am having trouble understanding how to do something that it seems should be working. Basically I have a page, we'll say '/about' and it's in ...
0
votes
1answer
145 views

How would you implement a limited time featured node?

I am using Drupal 6. I would like to create for a limited time (start date, end date) another version of a node that would share almost all its properties. This featured version is in fact a recipe ...
0
votes
1answer
140 views

Translating the months in the archive view

I need the months in views' default archive view to display in a different language, just changing the language in Drupal doesn't seem to be helping, string overrides in settings.php aren't doing the ...
0
votes
2answers
143 views

Multi-language site

I'd like to build a multilingual site and I am quite new to drupal, I was wondering if I could proceed in the following way: I could tag my entries with the world "english" and "italian", then I ...
1
vote
1answer
213 views

Localisation of node published date

I have a Drupal site and the standard language is Danish. However the date on the nodes is rendered in English. I can't figure out why. If i put a date field in a content type it displays correctly ...
0
votes
1answer
97 views

Enable all languages for multilingual site

I notice I can add languages one by one on this page mysite.com/admin/config/regional/language/add Is there an easy way for adding all languages? Maybe there is a command with drush?
3
votes
2answers
7k views

How to set different languages for different domains, and display the language switcher accordingly?

I have a website with different domains and I'd like to have some domains to have different languages. I have a main site which is example.com, it's the main "group" site, it has multiple languages, ...
22
votes
5answers
10k views

Search only for the currently active language

How can I restrict the results from a default search in Drupal 7, to bring only the nodes that are in the current language? My website has a three language switcher; the user chooses what language he ...
0
votes
2answers
172 views

Multilanguage database field setup

We're looking to create a drupal commerce site with multiple languages for Drupal translated manually stored different translations in a seperate fields. Different fields would be displayed upon ...
5
votes
1answer
2k 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
68 views

How can I report to Drupal what is the translation in a language of a string passed to t()?

I'm using Drupal 7. I see that the t() function is responsible for translating terms. Where do I go to find the list of translatable terms? For example, suppose I have t('hello world') in my code. ...
0
votes
2answers
366 views

Translation of Menu items

HI I'm trying to work out how to translate my menu items, weirdly Log Out appears to be the only one which translated from the onset. But I can't see where this was implemented. If I search for the ...
1
vote
1answer
73 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 ...
4
votes
1answer
3k views

Filter menu_tree_all_data() tree by language?

My site uses multiple languages and I'm using menu_tree_all_data() to get the menu tree programmatically. Currently all nodes and their translated nodes use the same menu tree. If I use a menu block ...
1
vote
1answer
333 views

Make some text of the calendar module multilingual?

I instaled and got running fine the 'calendar' module. I just need to make some texts multilingual. This module generate a view which shows a monthly calendar, then you can change to weekly ...
1
vote
1answer
2k views

how to show views for particular language

I have simple problem - there is a view that is aggregating some info and it has a link in the main menu. I'm also using i18n and would like to have that particular view only in one language, but it ...
3
votes
1answer
1k views

Field language - Multi language

I have a node in Dutch and I want to get the field in this language. When I do: $node->field_name[$node->language][0]['value']; I get the error: Undefined index: nl So I try: $node->...
0
votes
1answer
295 views

Localization - Hello World Example

I am extremely tired right now and don't have time to read through verbose drupal 7 documentation. Can someone just show me a quick Hello World example that will do the following in drupal 7? I have ...
0
votes
2answers
1k views

Content dependent on the IP of the viewing user

Is there any drupal module for implementing such behaviour? I want to display content especially selected for the user, based on her localisation/IP. Can you propose some solution? For example, for ...
2
votes
2answers
576 views

improve workflow for multi-lingual site

My client is having a terrible time managing multi-lingual content in drupal 7. I'm using the internationalization module and drupal 7's default capabilities in managing multiple languages. Here's ...
3
votes
2answers
4k views

Change site logo for different languages

I do believe that should be popular issue but I can't find any questions here about this: is there any way to make site's logo different for different languages? I've found some threads regarding this ...
0
votes
1answer
109 views

multilingual site with views

I'm trying to set an english/spanish website and I've already set in my post types which are the types I want to be translatable. I also translated the posts but I'm not really sure how to set the ...
1
vote
0answers
233 views

geolocalization in views filter proximity

I wants to get the coordinates in proximity filter on views in location module, so i also wants to use the html5 and not a ip localization. I found this patch that i can fast change, but i wants now ...
3
votes
1answer
2k views

Display node's languages in views

do you think, it is possible to display in views the languages the node was translated to? I mean something like this: First article english|german Second article english|german|dutch
2
votes
4answers
3k views

Language specific menu items when adding content

I am building a bilingual site that's English and French. When I add a content item in English, then go to Menu Settings, click on Provide a menu link, and click on Parent Item drop down menu, I get ...
14
votes
3answers
5k views

Is it always bad to pass a variable through t()?

I have a little helper function for my hook_schema: function _bbcmap_schema_asr_field($description) { return array( 'type' => 'int', 'unsigned' => TRUE, 'size' => 'small', // ...