HomeAdmin ManualTroubleshooting GuidesMonth names are not translated

12.11. Month names are not translated

You can adjust the date and time that HelpSpot displays by going to "admin -> settings -> date and time" and then selecting the proper format from the drop-down lists. This setting will only adjust the way it's formatted and if you would like to have the month names translated then you can edit the lg.charset.php file and adjust the setlocale line: 

setlocale(LC_ALL, 'en-us','english');

For example to have month names displayed in Swedish you could use: 

setlocale(LC_ALL, 'sv_SE', 'Swedish', 'swedish');

If you've made that change and the month names are still in English then your server may not have the locale installed. 

You can verify a list of installed locales on Unix/Linux servers by running: 

locale -a

If yours is not displayed in the list, you can utilize the locale-gen command to install additional: 

locale-gen de_DE de_DE.utf8

This page was: Helpful | Not Helpful