change locale setup method