Locale symbol replacement (fixes #48)