Internationalization

Events happening in the community are now at Drupal community events on www.drupal.org.

This group works on internationalization issues, like making it possible to translate menus, nodes and taxonomies in Drupal. This includes everything from process and workflows, to actual code issues or optimizations required. The Translations group is where to go if you are working on translating Drupal core or contrib modules.

Advocat's picture

Browser detection of language variants: How to have fr-CA display fr pages

I am creating a Canadian national project site in English and French. Given that French Canadian (fr-CA) has had few translations done, we're going to use standard French (fr).

However, for those browsers who have languages set to fr-CA, we don't want to display the site default/fallback language of English, but the fr (French) version of the pages.

I'm sure there's must be a way to set Drupal so the fallback for fr-CA language is fr, while the site fallback remains English, but I've been unable to locate it in the documentation.

Any help would be appreciated.

Read more
dasjo's picture

Simpletest with multilingual sites

i am using simpletest with a multilingual drupal 6 site. whenever simpletest executes a link, by using clickLink or drupalLogin for example, the url gets corrupted.

this is because the language code always appears twice in the url. for example: http://example.com/de/de/node.

i was wondering if someone else ran into this issue when testing a multilingual site with simpletest? do you know of any workarrounds / fixes to this issue? (http://drupal.org/node/944066)

thanks a lot,
josef

Read more
mfb's picture

URL language vs. user interface language: D7 $language_url global

Drupal 7's $language_url global threw me for a loop today. I filed an issue here: http://drupal.org/node/956256 but figured I'd also post something to g.d.o. since issues can be rather hard to find.

While working on a multilingual Drupal 7 site, I loaded the front page and found that the user interface was in one language, while all the links on the page pointed to another language (i.e. different language prefix on all the links).

Read more
Alpinist1974's picture

Alpinist1974

Hi,

I'm rather new to Drupal but I was wondering if anyone knows a quick and easy way to add a Language Preferences selection list (as per the User Account page) to the Create New Account page. I'd like my users to be able to select a language at sign up (not after they have been emailed their password). If it's a permissions issue, I can't seem to figure it out.

Thanks very much for any help with this. Cheers!

Read more
mgifford's picture

Adding Strings for Translation for Accessibility

There are a number of places where for accessibility in D7 we still need to add strings to fields in core. There are still quite a few missing labels for fields in and this is very important so that individuals using screen readers have an opportunity to understand what the field represents. We want to do this however in a way which doesn't loading a tonne more work on translators.

Read more
okmi's picture

Translation for small section of site only?

I'm new to the internationalization module, so I appreciate your help and your patience.

Read more
tobiberlin's picture

Setting language when a node is created by rules/ language neutral is not possible even by edit form

Hi,

I have the following problem: By flagging a special node (content type "service") a new node (content type "order") should be created which is done by Rules. Now the new node has always the language which is active during the time the user flags the service node but it would be better to get it as language neutral.

Read more
icanlocalize's picture

Translating strings in module admin pages

We're facing a bit of a sticky problem and are looking for ideas around it. It started with SEO for multilingual sites, but is more general than that.

Some module (e.g., Nodewords), create texts in their own tables. These texts are displayed to visitors (page title, meta description and other), so they need to be translated.

We can use drupal_alter to filter these texts and translate them. The only problem is, how to organize the translations.

Read more
escore's picture

Language negotiation without path prefix

Is it possible to negotiate language (user preferences, browser settings) for every url without prefixing the path or domain? The site I'm building uses Drupal for Facebook, a.k.a. DFF, to integrate with Facebook. Facebook requires a single callback base URL from which all paths are built. DFF handles this with a url looking something like www.example.com/fb_cb/12345. Drupal's language handling breaks this by inserting the language prefix before DFF's callback, e.g.

Read more
jsartin's picture

Drupal 5 to 6 Upgrade - Custom menu translations

So, I am in the process of upgrading to Drupal 6 (took long enough to get OKs from the higher ups). I have been researching how to do a "smooth" upgrade. I have gotten our custom theme nearly updated, and other kinks worked out. We have over 6000 pages in our installation and about 1000+ links in our menus/sub-menus/role-based-menus. Now, making new menus for our 8 other languages is not very practical. I can switch languages on the pages just fine, but my menus have not updated properly in the upgrade process.

Read more
andy inman's picture

Language variations (en-GB, en-AU, etc.)

Suppose some content has variants in en-GB, en-AU, etc, as well as plain en. If a user's language preference is en-GB, they should see en-GB content if available but if not they should see the standard en version. I am not aware of any way to do this with existing modules (though it wouldn't be very difficult to write.) Am I wrong? Is there some way to do this already? (with D6).

Read more
gterez's picture

Webform + i18n

Does anyone have recent experience with webforms in a fully internationalised Drupal website?
I saw that the webform module does not fully support the i18n system but there have been patches that successfully address some issues (see: http://drupal.org/node/245424).

Do you think it's worth trying to make it work? or shall I go for a CCK-based solution? I won't be needing anything very complex, just a few beefed-up contact forms. Webforms work really well for that because of the email integration and csv export functionality.

Any opinions will be greatly appreciated!
Cheers,
George

Read more
RichieRich's picture

Block visiblity settings seem to be ignoring the language prefix

Yep, I'm sorry, this is my third post in a week relating to the Locale module, but I'd really appreciate some advice.

I've been trying to configure blocks to appear on certain pages through the standard mechanism of specifying paths, but I've noticed that the language prefix which is being added by the Locale module is being ignored.

For example, with the Japanese language prefix set to 'jp' I end up with paths like:

jp/something/something (where something/something is the path alias of the node).

Read more
RichieRich's picture

How can I prevent nodes from being accessed via multiple URLs?

I believe that the behaviour that I'm currently observing with the Locale module is probably to be expected, but I was wondering if there is a way to get around it in order to ensure that every node is only accessible via a single URL.

Example,

My site consists of Japanese and English (default) pages.

If I specify a node as being Japanese then as you would expect it's no longer accessible via a URL which consists of the path alias but no prefix, such as

/path/alias

It's only available via: ja/path/alias, which is great.

Read more
RichieRich's picture

Locale module alone doesn't seem to be providing any functionality

Hi there,

First of all I should probably state that I'm not using the internationalization module. About a year ago when I added a Japanese translation to my site I chose to go without it for a number of reasons.

I manually set up Japanese paths to be prefixed with 'jp'.

I've just endabled the locale module in the hope of using it to translate instructions such as 'field is required' for forms. The Japanese language is installed and I've provided my own translations where required via the 'translate interface' feature.

Read more
jaochoo's picture

Translating dynamic string? $subject = $user . " commented on your " . $type;

I need to send email notifications like the following: $subject = $username . " commented on your " . $type; whereas $type is the content type, e. g. "blog", "gallery", etc.

Now I would like to send translated emails depending on the user's preferred language. So I also need to translate the $type, of course, otherwise I would get a mixed-language subject line. So my first idea was to use:

<?php
$subject
= t("!username commented on your !type", array(
 
'!username' => $user->name,
 
'!type' => t($type)
));
?>
Read more
kinshuksunil's picture

Drupal Updates from OSI Days 2010 - Open Source Conference, Chennai - September 19-21, 2010

Conference Details - http://osidays.com
Drupal Sessions with Overview and details: http://osidays.com/tracks/60
Conference Registration - http://osidays.com/register-now

Shortlisted Sessions:

<

ul>

  • Building Powerful search in Drupal by Prajwala Manchikatla - http://osidays.com/proposal/building-powerful-search-drupal
  • Citizen Journalism on Drupal by Markus Franz - http://osidays.com/proposal/citizen-journalism-drupal
  • Drupal Theming (Workshop) by Marek Sotak - http://osidays.com/proposal/drupal-theming
  • Read more
    iztok's picture

    Force language on creating nodes

    I am looking for a solution to choose language before the node is being saved.

    You can see that functionality when translating existing node. For example node/add/story?translation=5&language=de Where 5 is the source node ID and de is the language I would like this node to be in.

    I tried to use this url to create new node without having source node in English: node/add/story?translation=NULL&language=de where I replaced node ID with NULL (it can anything I guess...).

    This actually works but I don't know if it is safe to use, I guess it was not meant to use this like this. Onother thing is that the language select drop down is not disabled as when creating real translation.

    Read more
    mdubnz's picture

    predict language and change for front page only

    I'm currently using 'Path prefix only' for Language Negotiation. Default language is Japanese (no prefix) and the user can then switch to English (/en) if required, using Language Switcher block. However, it appears that contrary to what we expected more than 50% of users are arriving at the site with their browser language being US English. The site had been designed with the understanding the majority of visitors would be Japanese.

    Read more
    mrmillion's picture

    How to set front page so new users lands on a specific language (change default language not working)?

    How do I change the default front page to land on a specific language? Do I need to change the default site language or can I just change the default front page?

    I've built a multilingual site in English, French, German and Spanish. I have set English as the default language and built the site in this. However, my client has now told me that new users must land on the Spanish home page first.

    Read more
    Subscribe with RSS Syndicate content

    Internationalization

    Group organizers

    Group categories

    Group notifications

    This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: