add search function, fix L10n issue