change locale access in main frame