The Irish government is to announce the recognition of a Palestinian state on Wednesday, a source familiar with the matter said.