#708, #899: Add setLocale() and getLocale() methods to support multiple languages