Forums | Mahara Community

Support /
Mahara and German language


Paul K's profile picture
Posts: 17

05 March 2015, 21:17

Hi,

I'm struggling to find out a solution to correctly display the german month name under Windows Server environment with PHP 5.6.6.

Example: Instead of getting an "ä" the following symbol is displayed: "�"

Aktualisiert 05. M�rz 2015

I know that there are some PHP limitations on Windows servers, such as:

PHP on your website host does not return a useful value for the timezone identifier (%z) - certain date formatting, such as the Leap2A export, will be broken. %z is a PHP date formatting code. This problem is usually due to a limitation in running PHP on Windows.,

Maybe someone know a solution? Any help will be greatly appreciated.

Best regards

 

Paul K's profile picture
Posts: 17

12 March 2015, 20:17

Does anyone has an idea where the problem might be?

Ralf Hilgenstock's profile picture
Posts: 160

13 March 2015, 9:59

Hi Paul

the names of the months aretaken from the server and not from Mahara system or database.  You have to check the locale settings for the server. There are different options to try it.

If you search in the Moodle forums you'll several information how to solve it.

Ralf

Paul K's profile picture
Posts: 17

13 March 2015, 21:31

Dear Ralf,

thank you for your reply. I have had checked the Mahara forums in advance. The month name is generated by a php function TimeToStr (Date: TDateTime) which is a string representation of a time and date value.

I know that the problem lies in server configuration. In best case in wrong configured php, in worst case that I'm using Windows and IIS, instead of Linux-Distribution and Apache Server.

Maybe someone had struggled with the same Mahara problem under Windows Server?

 

 

4 results