extract locale keys for adding widget.