Closed (fixed)
Project:
Drupal core
Component:
locale.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2002 at 01:53 UTC
Updated:
9 Mar 2003 at 11:13 UTC
Hi,
Tested with 3.0.2 and 4.0RC1. I am new to drupal but following the instructions :-)
A string is inserted multiple times if the 'en' => 'English' language ins't the first on conf.php
I tried to add 'pt' => 'Portugu
Comments
Comment #1
(not verified) commentedAnyone able to reproduce this?
Comment #2
rickb commentedYep, i'm getting similar and even weirder effects:
- Already existing texts that keep being added to the locales table.
- Translated texts that suddenly appears in the locales table as texts that need to be translated.
(and yes, the location column stays empty too)
For example: I've translated 'Who's online' to 'Wie zijn online'. After a while of mucking about which includes viewing a page in which this translation is used (ie the homepage) suddenly there is:
a) A new 'Who's online' row waiting to be translated.
b) A new row containing 'Wie zijn online' waiting to be translated...
It seems something is seriously wrong here....
(This is a first time installation of drupal 4.0.0.,
all I did on setup was change the database-settings and replace 'en=>English' with 'nl=Dutch' in the config).
Comment #3
rickb commentedA small addition:
I haven't figured out exactly how locale.module works and what the location column does yet, but in locale.module I can only see it being filled with the env-var PATH_INFO, which AFAIK doesn't contain diddly unless you're calling it from a cgi-script.
Shouldn't this be something like REQUEST_URI ? (at least as far as Apache is concerned)
Comment #4
(not verified) commentedClosing.