In the Dutch translation all t(..)-texts in function user_help($section) are translated. But if someone goes, before the login to the login-helptext put on screen in the link by the text: "t('Enter your @s username, or an ID from one of our affiliates: !a.', array('@s' => variable_get('site_name', 'Drupal'), '!a' => implode(', ', user_auth_help_links())));" this text is only visible in English (produced by the "case 'user/help#user'" in user_help($section) in the user.module.
I presume the enormeous lenght of the string causes a not-found error in MySQL.
I found this behaviour at more places in Drupal. I don't know the problem is in MySQL, but if so, maybe a solution is to test whether the string is longer then xxxx: if so, then just cutoff the string and place a '*', or whatever special character is reserved for 'any string', after the truncated text.

my info:
MySQL: 5.0.22
PHP: 5.1.6
PHP Unicode library: PHP Mbstring Extension
Webserver: Apache/2.2.3 (CentOS)

CommentFileSizeAuthor
#6 Picture 8.png53.56 KBsutharsan

Comments

damien tournoud’s picture

Status: Active » Postponed (maintainer needs more info)

I'm unable to understand exactly which text is not being translated. Could you clarify?

promes’s picture

All strings that are in English so long that somehow they are not translated into another language. I presume the length exeeds the maximum length MySQL uses to compare with. I don't know much about MySQL, so I don't know whether I am right.
The text I pointed to can be found at URL: www.example.com/user/help#drupal. This is a page-long text.
I presume the core "Drupal"-module must be enabled to open the url.

Otherwise search in the user.module for the following text:
$output = t('

Distributed authentication

One of the more tedious moments in visiting a new website is filling out the registration form. Here at @site, you do not have to fill out a registration form if you are already a member of !affiliate-info. This capability is called distributed authentication, and Drupal, the software which powers @site, fully supports it.

After this text follows another paragraph and a foreach listing text from several modules.

I hope this clarification is helpfull.

damien tournoud’s picture

Project: Drupal core » German translation
Version: 5.7 » 5.x-1.x-dev
Component: language system » PO files

Our websites does not show that bug (for the French translation), on a similar setup.

I'm reassigning that to the German translation project. May be there are some untranslated (or slightly changed) strings. Feel free to reassign it to Drupal if the problem does not lie in the translation.

promes’s picture

Please reassign it to the Dutch translation team, because I have problems with the Dutch translation.
Thanks

damien tournoud’s picture

Project: German translation » Dutch translation

Sorry, reassigned correctly.

sutharsan’s picture

StatusFileSize
new53.56 KB

I have never seen this problem with any of my Dutch website. Attached is a sreenshot of the node help page, translated as it should.
Do you have this problem on all your Dutch sites?

promes’s picture

I only offer a Drupal-style login in one site, see: http://www.drupalhandboek.nl/user/register.
If you press the link on the word Drupal, this page will open: http://www.drupalhandboek.nl/user/help#drupal. It still is in English.
I downloaded today the last Drupal 5 Dutch translation file and inserted it again into this site. But with the same results.
I got this message:
De vertaling is succesvol geïmporteerd. 0 vertaalde tekenreeksen zijn toegevoegd en 2431 tekenreeksen zijn bijgewerkt.

Afterwards I did a search on "Distributed authentication" in the "Lokalisatie". The results found are:
modules/drupal/drupal.module:349 ==> translated
modules/user/user.module:2380 ==> translated
/user/help ==> not translated

I did manualy copy the translation, found in modules/user/user.module:2380 into /user/help. Now the first part of the page is translated.

The second part was found by a search on: is the name of the software.
Results: modules/drupal/drupal.module:44 and /user/help. The first being translated, the second not.

After copying this translation as well, the whole help-page http://www.drupalhandboek.nl/user/help#drupal is shown in Dutch.

These results are consistent with the addresses in the nl.po file: no relation with "/user/help" is found in this file.

Sutharsan, thanks for your reply. It helped me looking for a solution. It is silly I was not able to present a Dutch help page in a website focussed to people speaking Dutch but not or not well English.
Maybe, you will find a solution for the nl.po file.

sutharsan’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

I have translated an existing D5 install to Dutch. The above mentioned user/help#drupal page is in Dutch only. I can not reproduce your problem.

If someone can reproduce this problem (preferably on a fresh Drupal install) please feel free to re-open this issue and we will continue from there.