'adds filtering by current language'

def build_filters(self, filters={}):

    id = filters.pop('id', None)
    orm_filters = super(ThesaurusKeywordResource, self).build_filters(filters)
    if (id is not None):
        orm_filters['keyword__id'] = id
    orm_filters['lang'] = (filters['lang'] if ('lang' in filters) else get_language())
    if ('thesaurus' in filters):
        orm_filters['keyword__thesaurus__identifier'] = filters['thesaurus']
    return orm_filters
