Some parts of strings did not use the proper locale. For example, date and time strings was always output with the US locale. This fixes it. There are still some cases where localisation is not implemented, and could be changed from str(string) to locale.str(string).