On 19 Apr 2011, at 10:23 AM, Alessandro Dentella wrote: > Glad to know... the problem is I'd like to see it as well! ;-) > > You sy "work well" as they compile or you managed to see the page in italian? > Can you tell me if you tested it on 1.0.2 or 1.1. the only mismatch I see is > that I translated from 1.1 and moved the files in 1.0.2, but I can't see how > that could influence the result.
I tested on 1.1.0, there will be a mismatch with 1.0.2 as the translation lines may not be the same. I could not get it to work using LANGUAGE_CODE as my browser was sending us-en which the LocaleMiddleware used to set my language to english but when i set my browser language to "it" i do see the interface in italian, the 1.1.0 branch that am using has some uncommitted features such as a language select button on login, when i use that as well italian works. > > I tested that LANGUAGE_CODE does get set as 'it' and adding the admin I see > it in Italian, so that it seems it's a deploy problem of baruwa's italian > translation rather than a browser problem. But I'm not aware of any special > thing I should do apart makemessages/compilemessages. On the other hand a > single button 'Add' in Reports tab gets translated into 'Aggiungi'. This means the translation strings in 1.1.0 do not match the ones in 1.0.2 > > I tested also with LocaleMiddleware w/o success... but my comprehension is > that setting LANGUAGE_CODE should suffice. Please remember that the LANGUAGE_CODE is used as the last resort after the other ways of determining a users language preference have returned nothing. http://docs.djangoproject.com/en/1.2/topics/i18n/deployment/#how-django-discovers-language-preference > > I haven't changed anything in the apache configuration, as normally that was > not required. Any hints? Any test I should make? You do not need to make any changes to the apache configuration. I will push up those uncommitted changes that i referred to earlier just now. -- Baruwa - www.baruwa.org _______________________________________________ Baruwa mailing list [email protected] http://lists.baruwa.org/mailman/listinfo/baruwa

