View Issue Details

IDProjectCategoryView StatusLast Update
0004017mantisbtlocalizationpublic2004-08-29 02:35
Reporterjferraz Assigned Toint2str  
PrioritynormalSeverityblockReproducibilityrandom
Status closedResolutionfixed 
Product Version0.19.0a1 
Summary0004017: Random translations popping up
Description

I noticed this here, on the "live" mantis bugtracker. I added a note to 0003969 and the "Operation successful" page popped up in German, while my prefs were configured for Brazilian Portuguese. All other pages stayied with the correct translation.

I changed my prefs back to English and a few minutes later, I received an e-mail response from vboctor to the same bug, and it was also in German.

Perhaps caused by 0004015 being fixed?

Tried to search for some related bug, but the search box on view bugs is currently non-functional... Sorry if it is a duplicate.

TagsNo tags attached.

Relationships

duplicate of 0004147 closedthraxisp Receiving emails in foreign languages 
has duplicate 0004025 closedint2str Language switches to french after submitting report 
has duplicate 0004029 closedint2str Language changes to french 
has duplicate 0004089 closedvboctor After reporting issues through Mantis site, the confirmation page is in french 

Activities

jferraz

jferraz

2004-07-07 21:23

reporter   ~0005902

BTW, by submitting this bug I've got a "Opération réussie" (French)...
I wonder what kind of message I'll get by submitting this note... :-P

masc

masc

2004-07-08 07:03

reporter   ~0005923

I've got the same French message while my default language is Italian. There is something wrong...

DGtlRift

DGtlRift

2004-07-08 14:39

reporter   ~0005936

I noticed this in an email update on a bug I was montoring.. My settings are for english, but I got a few statements in German..

It was for issue "[mantisbt 0003912]: Cant access cvs-repository and tarball" and the text was....

Der folgende Report wurde geschlossen.

http://bugs.mantisbt.org/bug_view_advanced_page.php?bug_id=0003912

Berichtet von: RJelinek
Zugewiesen an: vboctor

Projekt: mantisbt
Report ID: 3912
Kategorie: webpage
Reproduzierbarkeit: immer
Auswirkung: schwerer Fehler
Priorität: normal
Status: geschlossen
Fixed in Release:
Lösung: behoben
Fixed in Version:

Erstellt am: 06-02-2004 12:43 EDT
Letzte Aktualisierung: 07-07-2004 18:55 EDT

Zusammenfassung: Cant access cvs-repository and tarball
Beschreibung:
I can not access the cvs-repository of mantis as an anonymous-user, the
same is for the tarball.

vboctor

vboctor

2004-07-08 19:45

manager   ~0005943

I increased the severity of this issue to "block". I think this needs to be fixed in 0.19.0a2.

jferraz

jferraz

2004-07-20 16:22

reporter   ~0006184

Since the official mantis installation has been updated, this bug seems to be only partially solved. The web interface isn't any longer being shown in random languages, but I received an e-mail half-English, half-Italian, while my language setting was set to English.

Some excerpts:
E' stata aggiunta una RELAZIONE alla seguente anomalia.

http://bugs.mantisbt.org/bug_view_advanced_page.php?bug_id=0003969

Reported By: masc
Assigned To: masc

Project: mantisbt
Issue ID: 3969
Category: feature
Reproducibility: sempre
Severity: nuova funzionalità
Priority: normale
Status: chiuso
Fixed in Release:
Resolution: risolto
(...)

Relazioni ID Stato

duplica il 0001237 chiuso
relativo al 0001594 nuovo
(...)

grangeway

grangeway

2004-07-20 16:26

reporter   ~0006185

The issue with emails in the 'wrong' language is covered in bug 0004147

Related Changesets

MantisBT: master 36be54a8

2004-07-08 22:46

int2str


Details Diff
* Fix 0004017: Random translations popping up

The language API has been cleaned up and simplified some.

The problems with "random" translations were due to the fact that the language was changed temporarily for emails sent in a non-default language. If a page got refreshed during this send, it was diplayed in the wrong language. Now, the language API can hold more than one language at a time. And lang_get() has an optional additional parameter to specify which language a string should be returned in. That way the currently active language is not changed anymore.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2673 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0004017
mod - core/email_api.php Diff File
mod - doc/ChangeLog Diff File
mod - core/lang_api.php Diff File