Fix logging when system language is not en_US.