Comment 5 for bug 901267

Revision history for this message
Douglas Cerna (replaceafill) wrote : Re: Importing xls, portuguese days id not recognized, example: "Unrecognised day id Terça-Feira "

Not guilty! Never touched the timetable exporter :)

It's not even the exporter who makes the translation. The translation is made when the timetable is created through the web:

schooltool.timetable.browser.ttwizard module, line 296:

            weekday_names = [translate(day_of_week_names[i],
                                       context=self.request)
                             for i in range(7)]
            session['day_names'] = weekday_names

The day templates have their title set to the translated string and the exporter just uses those.