api extension for getting locale value per ajax -> changed post to get